25 lines
808 B
C#
25 lines
808 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using AICore.Context.Entry.Navigation;
|
|
using BS.Shared.DataContracts.Compact;
|
|
using BS.Shared.DataContracts;
|
|
using BS.Shared;
|
|
using BS.Shared.Extensions;
|
|
|
|
namespace AICore.Context.EntryMapper.Navigation
|
|
{
|
|
public class EmployeeNavigationContextEntryMapper : BaseContextEntryMapper<CompactEmployeeDC, EmployeeNavigationContextEntry>
|
|
{
|
|
public override void MergeWithObject(CompactEmployeeDC pObject, EmployeeNavigationContextEntry pContext)
|
|
{
|
|
pContext.EmployeeOid = pObject.EmployeeOid;
|
|
pContext.PersonnelNumber = pObject.PersonnelNumber;
|
|
pContext.FirstNameLastName = pObject.GetFirstNameLastName();
|
|
pContext.Details2 = pObject.Details2;
|
|
pContext.Details3 = pObject.Details3;
|
|
pContext.Teams = pObject.Teams;
|
|
}
|
|
}
|
|
}
|