Neue Dateien
This commit is contained in:
4
Model/Changes_2017_03_22.txt
Normal file
4
Model/Changes_2017_03_22.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
ALTER TABLE `person`
|
||||
ADD COLUMN `AufenthaltsStatusValueListEntryOid`
|
||||
BIGINT(19) NULL DEFAULT NULL COMMENT '' AFTER `NationalitaetValueListEntryOid`;
|
||||
|
||||
16
Service/MessageContracts/UploadImportFileResult.cs
Normal file
16
Service/MessageContracts/UploadImportFileResult.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System.ServiceModel;
|
||||
|
||||
using BS.Shared.DataContracts;
|
||||
|
||||
namespace BeWo.Service.MessageContracts
|
||||
{
|
||||
[MessageContract]
|
||||
public class UploadImportFileResult
|
||||
{
|
||||
[MessageBodyMember]
|
||||
public bool Success { get; set; }
|
||||
|
||||
[MessageBodyMember]
|
||||
public string ResultMessage { get; set; }
|
||||
}
|
||||
}
|
||||
26
Service/Plugins/DataImporter.cs
Normal file
26
Service/Plugins/DataImporter.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using BeWo.Data.Access;
|
||||
using BeWo.Data.Entities;
|
||||
using BeWo.Service.Core;
|
||||
using BeWo.Service.DCEntityMapper;
|
||||
using BS.Shared;
|
||||
using BS.Shared.Core;
|
||||
using BS.Shared.DataContracts;
|
||||
using BS.Shared.Extensions;
|
||||
using BS.Shared.Services;
|
||||
using Utils = BS.Shared.Core.Utils;
|
||||
|
||||
namespace BeWo.Service.Plugins
|
||||
{
|
||||
public class DataImporter : AbstractIDSpecificDefaultClass<DataImporter>
|
||||
{
|
||||
internal string ImportData(string filename, byte[] daten)
|
||||
{
|
||||
//muss überschrieben werden. Es gibt keinen Standardimport
|
||||
return "Die Daten konnten nicht importiert werden.";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user