24 lines
815 B
C#
24 lines
815 B
C#
using System;
|
|
using System.Linq;
|
|
using AICore.Context.Entry;
|
|
using BeWo.Data.Entities;
|
|
|
|
namespace AICore.Context.EntryMapper
|
|
{
|
|
public class OrganisationNavigationContextEntryMapper : BaseContextEntryMapper<Organisation, OrganisationNavigationContextEntry>
|
|
{
|
|
public override void MergeWithObject(Organisation pObject, OrganisationNavigationContextEntry pContext)
|
|
{
|
|
pContext.OrganisationOid = pObject.Oid.Value;
|
|
pContext.Name = pObject.Name;
|
|
pContext.Name2 = pObject.Name2;
|
|
pContext.DebitorNumber = pObject.DebitorNumber;
|
|
pContext.BusinessPartnerId = pObject.BusinessPartnerId;
|
|
pContext.AddressString = "---";
|
|
pContext.IKDatenannahmestelle = pObject.IKDatenannahmestelle;
|
|
pContext.IKKostentrager = pObject.IKKostentrager;
|
|
pContext.IKKrankenkasse = pObject.IKKrankenkasse;
|
|
}
|
|
}
|
|
}
|