Files
BeWoPlaner/BeWo/EmployeeServiceImp.cs
2016-06-27 01:45:38 +02:00

1932 lines
69 KiB
C#

//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:2.0.50727.1433
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generiert wird.
// </auto-generated>
//------------------------------------------------------------------------------
namespace BeWo.Service.ServiceContracts
{
using System.Runtime.Serialization;
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
public partial class BeWoFault : object, System.Runtime.Serialization.IExtensibleDataObject
{
private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
private BeWo.Service.ServiceContracts.BeWoFaultType FaultTypeField;
private string MessageField;
public System.Runtime.Serialization.ExtensionDataObject ExtensionData
{
get
{
return this.extensionDataField;
}
set
{
this.extensionDataField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public BeWo.Service.ServiceContracts.BeWoFaultType FaultType
{
get
{
return this.FaultTypeField;
}
set
{
this.FaultTypeField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string Message
{
get
{
return this.MessageField;
}
set
{
this.MessageField = value;
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="BeWoFaultType", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
public enum BeWoFaultType : int
{
[System.Runtime.Serialization.EnumMemberAttribute()]
Unknown = 0,
[System.Runtime.Serialization.EnumMemberAttribute()]
Concurrency = 1,
[System.Runtime.Serialization.EnumMemberAttribute()]
DeleteNotPossible = 2,
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(ConfigurationName="IEmployeeService")]
public interface IEmployeeService
{
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/GetAllEmployees", ReplyAction="http://tempuri.org/IEmployeeService/GetAllEmployeesResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.Service.ServiceContracts.BeWoFault), Action="http://tempuri.org/IEmployeeService/GetAllEmployeesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
BeWo.Service.DataContracts.EmployeeDC[] GetAllEmployees();
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/SearchEmployee", ReplyAction="http://tempuri.org/IEmployeeService/SearchEmployeeResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.Service.ServiceContracts.BeWoFault), Action="http://tempuri.org/IEmployeeService/SearchEmployeeBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
BeWo.Service.DataContracts.Search.EmployeeSearchResultDC[] SearchEmployee(System.Collections.Generic.Dictionary<BeWo.Service.DataContracts.Search.EmployeeSearchField, string> pCreteria);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/LoadEmployee", ReplyAction="http://tempuri.org/IEmployeeService/LoadEmployeeResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.Service.ServiceContracts.BeWoFault), Action="http://tempuri.org/IEmployeeService/LoadEmployeeBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
BeWo.Service.DataContracts.EmployeeDC LoadEmployee(long pEmployeeOid);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/UpdateEmployee", ReplyAction="http://tempuri.org/IEmployeeService/UpdateEmployeeResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.Service.ServiceContracts.BeWoFault), Action="http://tempuri.org/IEmployeeService/UpdateEmployeeBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
long UpdateEmployee(BeWo.Service.DataContracts.EmployeeDC pEmployeeDC);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/InsertNewEmployee", ReplyAction="http://tempuri.org/IEmployeeService/InsertNewEmployeeResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.Service.ServiceContracts.BeWoFault), Action="http://tempuri.org/IEmployeeService/InsertNewEmployeeBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
long InsertNewEmployee(BeWo.Service.DataContracts.EmployeeDC pEmployeeDC);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/DeleteEmployee", ReplyAction="http://tempuri.org/IEmployeeService/DeleteEmployeeResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.Service.ServiceContracts.BeWoFault), Action="http://tempuri.org/IEmployeeService/DeleteEmployeeBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
void DeleteEmployee(long pEmployeeOid);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/GetAllEmployeeQualifications", ReplyAction="http://tempuri.org/IEmployeeService/GetAllEmployeeQualificationsResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.Service.ServiceContracts.BeWoFault), Action="http://tempuri.org/IEmployeeService/GetAllEmployeeQualificationsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
BeWo.Service.DataContracts.ValueListEntryDC[] GetAllEmployeeQualifications();
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/GetAllEmployeeFocuses", ReplyAction="http://tempuri.org/IEmployeeService/GetAllEmployeeFocusesResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.Service.ServiceContracts.BeWoFault), Action="http://tempuri.org/IEmployeeService/GetAllEmployeeFocusesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
BeWo.Service.DataContracts.ValueListEntryDC[] GetAllEmployeeFocuses();
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/GetAllEmploymentTypes", ReplyAction="http://tempuri.org/IEmployeeService/GetAllEmploymentTypesResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.Service.ServiceContracts.BeWoFault), Action="http://tempuri.org/IEmployeeService/GetAllEmploymentTypesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
BeWo.Service.DataContracts.ValueListEntryDC[] GetAllEmploymentTypes();
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/GetAllEmploymentCustomerRoleTypes", ReplyAction="http://tempuri.org/IEmployeeService/GetAllEmploymentCustomerRoleTypesResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.Service.ServiceContracts.BeWoFault), Action="http://tempuri.org/IEmployeeService/GetAllEmploymentCustomerRoleTypesBeWoFaultFau" +
"lt", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
BeWo.Service.DataContracts.ValueListEntryDC[] GetAllEmploymentCustomerRoleTypes();
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/InsertEmployeeCustomerRelation", ReplyAction="http://tempuri.org/IEmployeeService/InsertEmployeeCustomerRelationResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.Service.ServiceContracts.BeWoFault), Action="http://tempuri.org/IEmployeeService/InsertEmployeeCustomerRelationBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
void InsertEmployeeCustomerRelation(BeWo.Service.DataContracts.EmployeeCustomerRelationDC pRelationDC);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/GetEmployeeCustomerRelations", ReplyAction="http://tempuri.org/IEmployeeService/GetEmployeeCustomerRelationsResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.Service.ServiceContracts.BeWoFault), Action="http://tempuri.org/IEmployeeService/GetEmployeeCustomerRelationsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
BeWo.Service.DataContracts.EmployeeCustomerRelationDC[] GetEmployeeCustomerRelations(long pEmployeeOid);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/DeleteEmployeeCustomerRelations", ReplyAction="http://tempuri.org/IEmployeeService/DeleteEmployeeCustomerRelationsResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.Service.ServiceContracts.BeWoFault), Action="http://tempuri.org/IEmployeeService/DeleteEmployeeCustomerRelationsBeWoFaultFault" +
"", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
void DeleteEmployeeCustomerRelations(long pEmployee2CustomerOid);
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
public interface IEmployeeServiceChannel : IEmployeeService, System.ServiceModel.IClientChannel
{
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
public partial class EmployeeServiceClient : System.ServiceModel.ClientBase<IEmployeeService>, IEmployeeService
{
public EmployeeServiceClient()
{
}
public EmployeeServiceClient(string endpointConfigurationName) :
base(endpointConfigurationName)
{
}
public EmployeeServiceClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public EmployeeServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public EmployeeServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress)
{
}
public BeWo.Service.DataContracts.EmployeeDC[] GetAllEmployees()
{
return base.Channel.GetAllEmployees();
}
public BeWo.Service.DataContracts.Search.EmployeeSearchResultDC[] SearchEmployee(System.Collections.Generic.Dictionary<BeWo.Service.DataContracts.Search.EmployeeSearchField, string> pCreteria)
{
return base.Channel.SearchEmployee(pCreteria);
}
public BeWo.Service.DataContracts.EmployeeDC LoadEmployee(long pEmployeeOid)
{
return base.Channel.LoadEmployee(pEmployeeOid);
}
public long UpdateEmployee(BeWo.Service.DataContracts.EmployeeDC pEmployeeDC)
{
return base.Channel.UpdateEmployee(pEmployeeDC);
}
public long InsertNewEmployee(BeWo.Service.DataContracts.EmployeeDC pEmployeeDC)
{
return base.Channel.InsertNewEmployee(pEmployeeDC);
}
public void DeleteEmployee(long pEmployeeOid)
{
base.Channel.DeleteEmployee(pEmployeeOid);
}
public BeWo.Service.DataContracts.ValueListEntryDC[] GetAllEmployeeQualifications()
{
return base.Channel.GetAllEmployeeQualifications();
}
public BeWo.Service.DataContracts.ValueListEntryDC[] GetAllEmployeeFocuses()
{
return base.Channel.GetAllEmployeeFocuses();
}
public BeWo.Service.DataContracts.ValueListEntryDC[] GetAllEmploymentTypes()
{
return base.Channel.GetAllEmploymentTypes();
}
public BeWo.Service.DataContracts.ValueListEntryDC[] GetAllEmploymentCustomerRoleTypes()
{
return base.Channel.GetAllEmploymentCustomerRoleTypes();
}
public void InsertEmployeeCustomerRelation(BeWo.Service.DataContracts.EmployeeCustomerRelationDC pRelationDC)
{
base.Channel.InsertEmployeeCustomerRelation(pRelationDC);
}
public BeWo.Service.DataContracts.EmployeeCustomerRelationDC[] GetEmployeeCustomerRelations(long pEmployeeOid)
{
return base.Channel.GetEmployeeCustomerRelations(pEmployeeOid);
}
public void DeleteEmployeeCustomerRelations(long pEmployee2CustomerOid)
{
base.Channel.DeleteEmployeeCustomerRelations(pEmployee2CustomerOid);
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(ConfigurationName="ICustomerService")]
public interface ICustomerService
{
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllCustomer", ReplyAction="http://tempuri.org/ICustomerService/GetAllCustomerResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.Service.ServiceContracts.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllCustomerBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
BeWo.Service.DataContracts.CustomerDC[] GetAllCustomer();
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/SearchCustomer", ReplyAction="http://tempuri.org/ICustomerService/SearchCustomerResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.Service.ServiceContracts.BeWoFault), Action="http://tempuri.org/ICustomerService/SearchCustomerBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
BeWo.Service.DataContracts.Search.CustomerSearchResultDC[] SearchCustomer(System.Collections.Generic.Dictionary<BeWo.Service.DataContracts.Search.CustomerSearchField, string> pCreteria);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/LoadCustomer", ReplyAction="http://tempuri.org/ICustomerService/LoadCustomerResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.Service.ServiceContracts.BeWoFault), Action="http://tempuri.org/ICustomerService/LoadCustomerBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
BeWo.Service.DataContracts.CustomerDC LoadCustomer(long pCustomerOid);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllDisabilityTypes", ReplyAction="http://tempuri.org/ICustomerService/GetAllDisabilityTypesResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.Service.ServiceContracts.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllDisabilityTypesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
BeWo.Service.DataContracts.ValueListEntryDC[] GetAllDisabilityTypes();
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/UpdateCustomer", ReplyAction="http://tempuri.org/ICustomerService/UpdateCustomerResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.Service.ServiceContracts.BeWoFault), Action="http://tempuri.org/ICustomerService/UpdateCustomerBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
long UpdateCustomer(BeWo.Service.DataContracts.CustomerDC pCustomerDC);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/InsertNewCustomer", ReplyAction="http://tempuri.org/ICustomerService/InsertNewCustomerResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.Service.ServiceContracts.BeWoFault), Action="http://tempuri.org/ICustomerService/InsertNewCustomerBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
long InsertNewCustomer(BeWo.Service.DataContracts.CustomerDC pCustomerDC);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/DeleteCustomer", ReplyAction="http://tempuri.org/ICustomerService/DeleteCustomerResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.Service.ServiceContracts.BeWoFault), Action="http://tempuri.org/ICustomerService/DeleteCustomerBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
void DeleteCustomer(long pCustomerOid);
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
public interface ICustomerServiceChannel : ICustomerService, System.ServiceModel.IClientChannel
{
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
public partial class CustomerServiceClient : System.ServiceModel.ClientBase<ICustomerService>, ICustomerService
{
public CustomerServiceClient()
{
}
public CustomerServiceClient(string endpointConfigurationName) :
base(endpointConfigurationName)
{
}
public CustomerServiceClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public CustomerServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public CustomerServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress)
{
}
public BeWo.Service.DataContracts.CustomerDC[] GetAllCustomer()
{
return base.Channel.GetAllCustomer();
}
public BeWo.Service.DataContracts.Search.CustomerSearchResultDC[] SearchCustomer(System.Collections.Generic.Dictionary<BeWo.Service.DataContracts.Search.CustomerSearchField, string> pCreteria)
{
return base.Channel.SearchCustomer(pCreteria);
}
public BeWo.Service.DataContracts.CustomerDC LoadCustomer(long pCustomerOid)
{
return base.Channel.LoadCustomer(pCustomerOid);
}
public BeWo.Service.DataContracts.ValueListEntryDC[] GetAllDisabilityTypes()
{
return base.Channel.GetAllDisabilityTypes();
}
public long UpdateCustomer(BeWo.Service.DataContracts.CustomerDC pCustomerDC)
{
return base.Channel.UpdateCustomer(pCustomerDC);
}
public long InsertNewCustomer(BeWo.Service.DataContracts.CustomerDC pCustomerDC)
{
return base.Channel.InsertNewCustomer(pCustomerDC);
}
public void DeleteCustomer(long pCustomerOid)
{
base.Channel.DeleteCustomer(pCustomerOid);
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(ConfigurationName="IUserService")]
public interface IUserService
{
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IUserService/IsUserValid", ReplyAction="http://tempuri.org/IUserService/IsUserValidResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.Service.ServiceContracts.BeWoFault), Action="http://tempuri.org/IUserService/IsUserValidBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
bool IsUserValid(string pUserName, string pPassword);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IUserService/CreateNewUser", ReplyAction="http://tempuri.org/IUserService/CreateNewUserResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.Service.ServiceContracts.BeWoFault), Action="http://tempuri.org/IUserService/CreateNewUserBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
void CreateNewUser(string pUserName, string pPassword, string pEmail);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IUserService/GetAllRoles", ReplyAction="http://tempuri.org/IUserService/GetAllRolesResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.Service.ServiceContracts.BeWoFault), Action="http://tempuri.org/IUserService/GetAllRolesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
string[] GetAllRoles();
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IUserService/AddUserToRole", ReplyAction="http://tempuri.org/IUserService/AddUserToRoleResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.Service.ServiceContracts.BeWoFault), Action="http://tempuri.org/IUserService/AddUserToRoleBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
void AddUserToRole(string pUserName, string pRoleName);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IUserService/CreateRole", ReplyAction="http://tempuri.org/IUserService/CreateRoleResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.Service.ServiceContracts.BeWoFault), Action="http://tempuri.org/IUserService/CreateRoleBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
void CreateRole(string pRoleName);
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
public interface IUserServiceChannel : IUserService, System.ServiceModel.IClientChannel
{
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
public partial class UserServiceClient : System.ServiceModel.ClientBase<IUserService>, IUserService
{
public UserServiceClient()
{
}
public UserServiceClient(string endpointConfigurationName) :
base(endpointConfigurationName)
{
}
public UserServiceClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public UserServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public UserServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress)
{
}
public bool IsUserValid(string pUserName, string pPassword)
{
return base.Channel.IsUserValid(pUserName, pPassword);
}
public void CreateNewUser(string pUserName, string pPassword, string pEmail)
{
base.Channel.CreateNewUser(pUserName, pPassword, pEmail);
}
public string[] GetAllRoles()
{
return base.Channel.GetAllRoles();
}
public void AddUserToRole(string pUserName, string pRoleName)
{
base.Channel.AddUserToRole(pUserName, pRoleName);
}
public void CreateRole(string pRoleName)
{
base.Channel.CreateRole(pRoleName);
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(ConfigurationName="IValueListService")]
public interface IValueListService
{
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IValueListService/GetAllValueListEntrysByType", ReplyAction="http://tempuri.org/IValueListService/GetAllValueListEntrysByTypeResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.Service.ServiceContracts.BeWoFault), Action="http://tempuri.org/IValueListService/GetAllValueListEntrysByTypeBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
BeWo.Service.DataContracts.ValueListEntryDC[] GetAllValueListEntrysByType(BeWo.Data.Entities.ValueListEntryType pType);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IValueListService/InsertNewValueListEntry", ReplyAction="http://tempuri.org/IValueListService/InsertNewValueListEntryResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.Service.ServiceContracts.BeWoFault), Action="http://tempuri.org/IValueListService/InsertNewValueListEntryBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
void InsertNewValueListEntry(BeWo.Data.Entities.ValueListEntryType pType, string pValue);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IValueListService/DeleteValueListEntry", ReplyAction="http://tempuri.org/IValueListService/DeleteValueListEntryResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.Service.ServiceContracts.BeWoFault), Action="http://tempuri.org/IValueListService/DeleteValueListEntryBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
void DeleteValueListEntry(long pValueListEntryOid);
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
public interface IValueListServiceChannel : IValueListService, System.ServiceModel.IClientChannel
{
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
public partial class ValueListServiceClient : System.ServiceModel.ClientBase<IValueListService>, IValueListService
{
public ValueListServiceClient()
{
}
public ValueListServiceClient(string endpointConfigurationName) :
base(endpointConfigurationName)
{
}
public ValueListServiceClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public ValueListServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public ValueListServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress)
{
}
public BeWo.Service.DataContracts.ValueListEntryDC[] GetAllValueListEntrysByType(BeWo.Data.Entities.ValueListEntryType pType)
{
return base.Channel.GetAllValueListEntrysByType(pType);
}
public void InsertNewValueListEntry(BeWo.Data.Entities.ValueListEntryType pType, string pValue)
{
base.Channel.InsertNewValueListEntry(pType, pValue);
}
public void DeleteValueListEntry(long pValueListEntryOid)
{
base.Channel.DeleteValueListEntry(pValueListEntryOid);
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(ConfigurationName="IDownloadService")]
public interface IDownloadService
{
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDownloadService/PrepareExcelFile", ReplyAction="http://tempuri.org/IDownloadService/PrepareExcelFileResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.Service.ServiceContracts.BeWoFault), Action="http://tempuri.org/IDownloadService/PrepareExcelFileBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
bool PrepareExcelFile(string pFileID, string[] pHeaderCaption, string[][] pContent);
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
public interface IDownloadServiceChannel : IDownloadService, System.ServiceModel.IClientChannel
{
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
public partial class DownloadServiceClient : System.ServiceModel.ClientBase<IDownloadService>, IDownloadService
{
public DownloadServiceClient()
{
}
public DownloadServiceClient(string endpointConfigurationName) :
base(endpointConfigurationName)
{
}
public DownloadServiceClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public DownloadServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public DownloadServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress)
{
}
public bool PrepareExcelFile(string pFileID, string[] pHeaderCaption, string[][] pContent)
{
return base.Channel.PrepareExcelFile(pFileID, pHeaderCaption, pContent);
}
}
namespace BeWo.Service.DataContracts
{
using System.Runtime.Serialization;
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="EmployeeDC", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.DataContracts")]
public partial class EmployeeDC : BeWo.Service.DataContracts.PersonDC
{
private int CancellationPeriodField;
private System.Nullable<long> EmployeeOidField;
private System.Nullable<long> EmployeeVersionField;
private BeWo.Service.DataContracts.ValueListEntryDC EmploymentTypeField;
private System.Nullable<long> EmploymentTypeAssoziationOidField;
private System.Nullable<System.DateTime> EntryDateField;
private BeWo.Service.DataContracts.ValueListEntryDC[] FocusesField;
private string HealthInsuranceField;
private System.Nullable<decimal> HourlyRateField;
private string InsuranceNumberField;
private bool IsActiveField;
private string PersonnelNumberField;
private int ProbationPeriodField;
private BeWo.Service.DataContracts.ValueListEntryDC[] QualificationsField;
private string TaxNumberField;
[System.Runtime.Serialization.DataMemberAttribute()]
public int CancellationPeriod
{
get
{
return this.CancellationPeriodField;
}
set
{
this.CancellationPeriodField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public System.Nullable<long> EmployeeOid
{
get
{
return this.EmployeeOidField;
}
set
{
this.EmployeeOidField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public System.Nullable<long> EmployeeVersion
{
get
{
return this.EmployeeVersionField;
}
set
{
this.EmployeeVersionField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public BeWo.Service.DataContracts.ValueListEntryDC EmploymentType
{
get
{
return this.EmploymentTypeField;
}
set
{
this.EmploymentTypeField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public System.Nullable<long> EmploymentTypeAssoziationOid
{
get
{
return this.EmploymentTypeAssoziationOidField;
}
set
{
this.EmploymentTypeAssoziationOidField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public System.Nullable<System.DateTime> EntryDate
{
get
{
return this.EntryDateField;
}
set
{
this.EntryDateField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public BeWo.Service.DataContracts.ValueListEntryDC[] Focuses
{
get
{
return this.FocusesField;
}
set
{
this.FocusesField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string HealthInsurance
{
get
{
return this.HealthInsuranceField;
}
set
{
this.HealthInsuranceField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public System.Nullable<decimal> HourlyRate
{
get
{
return this.HourlyRateField;
}
set
{
this.HourlyRateField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string InsuranceNumber
{
get
{
return this.InsuranceNumberField;
}
set
{
this.InsuranceNumberField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public bool IsActive
{
get
{
return this.IsActiveField;
}
set
{
this.IsActiveField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string PersonnelNumber
{
get
{
return this.PersonnelNumberField;
}
set
{
this.PersonnelNumberField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public int ProbationPeriod
{
get
{
return this.ProbationPeriodField;
}
set
{
this.ProbationPeriodField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public BeWo.Service.DataContracts.ValueListEntryDC[] Qualifications
{
get
{
return this.QualificationsField;
}
set
{
this.QualificationsField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string TaxNumber
{
get
{
return this.TaxNumberField;
}
set
{
this.TaxNumberField = value;
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="PersonDC", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.DataContracts")]
[System.Runtime.Serialization.KnownTypeAttribute(typeof(BeWo.Service.DataContracts.CustomerDC))]
[System.Runtime.Serialization.KnownTypeAttribute(typeof(BeWo.Service.DataContracts.EmployeeDC))]
public partial class PersonDC : object, System.Runtime.Serialization.IExtensibleDataObject
{
private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
private string AccountNumberField;
private System.Nullable<long> AddressOidField;
private System.Nullable<long> AddressVersionField;
private System.Nullable<long> BankAccountOidField;
private System.Nullable<long> BankAccountVersionField;
private string BankCodeField;
private string BankNameField;
private string BicField;
private BeWo.Service.DataContracts.ContactDC[] ContactInformationsField;
private System.Nullable<System.DateTime> DateOfBirthField;
private BeWo.Data.Entities.FamilyStatus FamilyStatusField;
private string FirstNameField;
private string IBANField;
private string LastNameField;
private System.Nullable<long> PersonOidField;
private System.Nullable<long> PersonVersionField;
private string PostalCodeField;
private string ProfessionField;
private BeWo.Data.Entities.Sex SexField;
private string StreetField;
private string TownField;
public System.Runtime.Serialization.ExtensionDataObject ExtensionData
{
get
{
return this.extensionDataField;
}
set
{
this.extensionDataField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string AccountNumber
{
get
{
return this.AccountNumberField;
}
set
{
this.AccountNumberField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public System.Nullable<long> AddressOid
{
get
{
return this.AddressOidField;
}
set
{
this.AddressOidField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public System.Nullable<long> AddressVersion
{
get
{
return this.AddressVersionField;
}
set
{
this.AddressVersionField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public System.Nullable<long> BankAccountOid
{
get
{
return this.BankAccountOidField;
}
set
{
this.BankAccountOidField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public System.Nullable<long> BankAccountVersion
{
get
{
return this.BankAccountVersionField;
}
set
{
this.BankAccountVersionField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string BankCode
{
get
{
return this.BankCodeField;
}
set
{
this.BankCodeField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string BankName
{
get
{
return this.BankNameField;
}
set
{
this.BankNameField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string Bic
{
get
{
return this.BicField;
}
set
{
this.BicField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public BeWo.Service.DataContracts.ContactDC[] ContactInformations
{
get
{
return this.ContactInformationsField;
}
set
{
this.ContactInformationsField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public System.Nullable<System.DateTime> DateOfBirth
{
get
{
return this.DateOfBirthField;
}
set
{
this.DateOfBirthField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public BeWo.Data.Entities.FamilyStatus FamilyStatus
{
get
{
return this.FamilyStatusField;
}
set
{
this.FamilyStatusField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string FirstName
{
get
{
return this.FirstNameField;
}
set
{
this.FirstNameField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string IBAN
{
get
{
return this.IBANField;
}
set
{
this.IBANField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string LastName
{
get
{
return this.LastNameField;
}
set
{
this.LastNameField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public System.Nullable<long> PersonOid
{
get
{
return this.PersonOidField;
}
set
{
this.PersonOidField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public System.Nullable<long> PersonVersion
{
get
{
return this.PersonVersionField;
}
set
{
this.PersonVersionField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string PostalCode
{
get
{
return this.PostalCodeField;
}
set
{
this.PostalCodeField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string Profession
{
get
{
return this.ProfessionField;
}
set
{
this.ProfessionField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public BeWo.Data.Entities.Sex Sex
{
get
{
return this.SexField;
}
set
{
this.SexField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string Street
{
get
{
return this.StreetField;
}
set
{
this.StreetField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string Town
{
get
{
return this.TownField;
}
set
{
this.TownField = value;
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="CustomerDC", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.DataContracts")]
public partial class CustomerDC : BeWo.Service.DataContracts.PersonDC
{
private string ChildsField;
private System.Nullable<long> CustomerOidField;
private System.Nullable<long> CustomerVersionField;
private string DiagnosisField;
private BeWo.Service.DataContracts.ValueListEntryDC[] DisabilitiesField;
private System.Nullable<decimal> EquityContributionField;
private string ICD10DiagnosisField;
private string NoticeField;
private string ReferenceNumberField;
[System.Runtime.Serialization.DataMemberAttribute()]
public string Childs
{
get
{
return this.ChildsField;
}
set
{
this.ChildsField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public System.Nullable<long> CustomerOid
{
get
{
return this.CustomerOidField;
}
set
{
this.CustomerOidField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public System.Nullable<long> CustomerVersion
{
get
{
return this.CustomerVersionField;
}
set
{
this.CustomerVersionField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string Diagnosis
{
get
{
return this.DiagnosisField;
}
set
{
this.DiagnosisField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public BeWo.Service.DataContracts.ValueListEntryDC[] Disabilities
{
get
{
return this.DisabilitiesField;
}
set
{
this.DisabilitiesField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public System.Nullable<decimal> EquityContribution
{
get
{
return this.EquityContributionField;
}
set
{
this.EquityContributionField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string ICD10Diagnosis
{
get
{
return this.ICD10DiagnosisField;
}
set
{
this.ICD10DiagnosisField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string Notice
{
get
{
return this.NoticeField;
}
set
{
this.NoticeField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string ReferenceNumber
{
get
{
return this.ReferenceNumberField;
}
set
{
this.ReferenceNumberField = value;
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="ContactDC", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.DataContracts")]
public partial class ContactDC : object, System.Runtime.Serialization.IExtensibleDataObject
{
private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
private System.Nullable<long> ContactOIDField;
private BeWo.Data.Entities.ContactType ContactTypeField;
private string ContactValueField;
private System.Nullable<long> ContactVersionField;
public System.Runtime.Serialization.ExtensionDataObject ExtensionData
{
get
{
return this.extensionDataField;
}
set
{
this.extensionDataField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public System.Nullable<long> ContactOID
{
get
{
return this.ContactOIDField;
}
set
{
this.ContactOIDField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public BeWo.Data.Entities.ContactType ContactType
{
get
{
return this.ContactTypeField;
}
set
{
this.ContactTypeField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string ContactValue
{
get
{
return this.ContactValueField;
}
set
{
this.ContactValueField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public System.Nullable<long> ContactVersion
{
get
{
return this.ContactVersionField;
}
set
{
this.ContactVersionField = value;
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="ValueListEntryDC", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.DataContracts")]
public partial class ValueListEntryDC : object, System.Runtime.Serialization.IExtensibleDataObject
{
private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
private BeWo.Data.Entities.ValueListEntryType TypeField;
private string TypeDescriptionField;
private System.Nullable<long> ValueListEntryOidField;
private System.Nullable<long> ValueListEntryVersionField;
public System.Runtime.Serialization.ExtensionDataObject ExtensionData
{
get
{
return this.extensionDataField;
}
set
{
this.extensionDataField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public BeWo.Data.Entities.ValueListEntryType Type
{
get
{
return this.TypeField;
}
set
{
this.TypeField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string TypeDescription
{
get
{
return this.TypeDescriptionField;
}
set
{
this.TypeDescriptionField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public System.Nullable<long> ValueListEntryOid
{
get
{
return this.ValueListEntryOidField;
}
set
{
this.ValueListEntryOidField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public System.Nullable<long> ValueListEntryVersion
{
get
{
return this.ValueListEntryVersionField;
}
set
{
this.ValueListEntryVersionField = value;
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="EmployeeCustomerRelationDC", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.DataContracts")]
public partial class EmployeeCustomerRelationDC : object, System.Runtime.Serialization.IExtensibleDataObject
{
private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
private System.Nullable<System.DateTime> CustomerDateOfBirthField;
private string CustomerFirstNameField;
private string CustomerLastNameField;
private long CustomerOidField;
private long CustomerVersionField;
private System.Nullable<long> Employee2CustomerOidField;
private long EmployeeOidField;
private long EmployeeVersionField;
private System.Nullable<long> Emplyee2CustomerVersionField;
private string NoticeField;
private BeWo.Service.DataContracts.ValueListEntryDC RelationRoleField;
public System.Runtime.Serialization.ExtensionDataObject ExtensionData
{
get
{
return this.extensionDataField;
}
set
{
this.extensionDataField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public System.Nullable<System.DateTime> CustomerDateOfBirth
{
get
{
return this.CustomerDateOfBirthField;
}
set
{
this.CustomerDateOfBirthField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string CustomerFirstName
{
get
{
return this.CustomerFirstNameField;
}
set
{
this.CustomerFirstNameField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string CustomerLastName
{
get
{
return this.CustomerLastNameField;
}
set
{
this.CustomerLastNameField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public long CustomerOid
{
get
{
return this.CustomerOidField;
}
set
{
this.CustomerOidField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public long CustomerVersion
{
get
{
return this.CustomerVersionField;
}
set
{
this.CustomerVersionField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public System.Nullable<long> Employee2CustomerOid
{
get
{
return this.Employee2CustomerOidField;
}
set
{
this.Employee2CustomerOidField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public long EmployeeOid
{
get
{
return this.EmployeeOidField;
}
set
{
this.EmployeeOidField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public long EmployeeVersion
{
get
{
return this.EmployeeVersionField;
}
set
{
this.EmployeeVersionField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public System.Nullable<long> Emplyee2CustomerVersion
{
get
{
return this.Emplyee2CustomerVersionField;
}
set
{
this.Emplyee2CustomerVersionField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string Notice
{
get
{
return this.NoticeField;
}
set
{
this.NoticeField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public BeWo.Service.DataContracts.ValueListEntryDC RelationRole
{
get
{
return this.RelationRoleField;
}
set
{
this.RelationRoleField = value;
}
}
}
}
namespace BeWo.Data.Entities
{
using System.Runtime.Serialization;
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="FamilyStatus", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Data.Entities")]
public enum FamilyStatus : int
{
[System.Runtime.Serialization.EnumMemberAttribute()]
single = 0,
[System.Runtime.Serialization.EnumMemberAttribute()]
married = 1,
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="Sex", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Data.Entities")]
public enum Sex : int
{
[System.Runtime.Serialization.EnumMemberAttribute()]
male = 0,
[System.Runtime.Serialization.EnumMemberAttribute()]
female = 1,
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="ContactType", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Data.Entities")]
public enum ContactType : int
{
[System.Runtime.Serialization.EnumMemberAttribute()]
private_MobilePhone = 0,
[System.Runtime.Serialization.EnumMemberAttribute()]
business_MobilePhone = 1,
[System.Runtime.Serialization.EnumMemberAttribute()]
private_Phone = 2,
[System.Runtime.Serialization.EnumMemberAttribute()]
business_Phone = 3,
[System.Runtime.Serialization.EnumMemberAttribute()]
private_Fax = 4,
[System.Runtime.Serialization.EnumMemberAttribute()]
business_Fax = 5,
[System.Runtime.Serialization.EnumMemberAttribute()]
private_Mail = 6,
[System.Runtime.Serialization.EnumMemberAttribute()]
business_Mail = 7,
[System.Runtime.Serialization.EnumMemberAttribute()]
private_Homepage = 8,
[System.Runtime.Serialization.EnumMemberAttribute()]
business_Homepage = 9,
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="ValueListEntryType", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Data.Entities")]
public enum ValueListEntryType : int
{
[System.Runtime.Serialization.EnumMemberAttribute()]
EmploymentType = 0,
[System.Runtime.Serialization.EnumMemberAttribute()]
DisabilityType = 1,
[System.Runtime.Serialization.EnumMemberAttribute()]
AccountingTransactionType = 2,
[System.Runtime.Serialization.EnumMemberAttribute()]
StaffRoleType = 3,
[System.Runtime.Serialization.EnumMemberAttribute()]
StaffActivityFocusType = 4,
[System.Runtime.Serialization.EnumMemberAttribute()]
StaffQualificationsType = 5,
}
}
namespace BeWo.Service.DataContracts.Search
{
using System.Runtime.Serialization;
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="EmployeeSearchField", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.DataContracts.Search")]
public enum EmployeeSearchField : int
{
[System.Runtime.Serialization.EnumMemberAttribute()]
FirstName = 0,
[System.Runtime.Serialization.EnumMemberAttribute()]
LastName = 1,
[System.Runtime.Serialization.EnumMemberAttribute()]
PersonnelNumber = 2,
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="EmployeeSearchResultDC", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.DataContracts.Search")]
public partial class EmployeeSearchResultDC : object, System.Runtime.Serialization.IExtensibleDataObject
{
private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
private long EmployeeOidField;
private long EmployeeVersionField;
private string FirstNameField;
private string LastNameField;
private string PersonnelNumberField;
public System.Runtime.Serialization.ExtensionDataObject ExtensionData
{
get
{
return this.extensionDataField;
}
set
{
this.extensionDataField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public long EmployeeOid
{
get
{
return this.EmployeeOidField;
}
set
{
this.EmployeeOidField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public long EmployeeVersion
{
get
{
return this.EmployeeVersionField;
}
set
{
this.EmployeeVersionField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string FirstName
{
get
{
return this.FirstNameField;
}
set
{
this.FirstNameField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string LastName
{
get
{
return this.LastNameField;
}
set
{
this.LastNameField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string PersonnelNumber
{
get
{
return this.PersonnelNumberField;
}
set
{
this.PersonnelNumberField = value;
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="CustomerSearchField", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.DataContracts.Search")]
public enum CustomerSearchField : int
{
[System.Runtime.Serialization.EnumMemberAttribute()]
FirstName = 0,
[System.Runtime.Serialization.EnumMemberAttribute()]
LastName = 1,
[System.Runtime.Serialization.EnumMemberAttribute()]
ReferenceNumber = 2,
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="CustomerSearchResultDC", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.DataContracts.Search")]
public partial class CustomerSearchResultDC : object, System.Runtime.Serialization.IExtensibleDataObject
{
private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
private long CustomerOidField;
private long CustomerVersionField;
private string FirstNameField;
private string LastNameField;
private string ReferenceNumberField;
public System.Runtime.Serialization.ExtensionDataObject ExtensionData
{
get
{
return this.extensionDataField;
}
set
{
this.extensionDataField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public long CustomerOid
{
get
{
return this.CustomerOidField;
}
set
{
this.CustomerOidField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public long CustomerVersion
{
get
{
return this.CustomerVersionField;
}
set
{
this.CustomerVersionField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string FirstName
{
get
{
return this.FirstNameField;
}
set
{
this.FirstNameField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string LastName
{
get
{
return this.LastNameField;
}
set
{
this.LastNameField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string ReferenceNumber
{
get
{
return this.ReferenceNumberField;
}
set
{
this.ReferenceNumberField = value;
}
}
}
}