18 lines
528 B
C#
18 lines
528 B
C#
using System;
|
|
using System.Linq;
|
|
using AICore.Context.Entry;
|
|
using BeWo.Data.Entities;
|
|
|
|
namespace AICore.Context.EntryMapper
|
|
{
|
|
public class EmployeeNavigationContextEntryMapper : BaseContextEntryMapper<Employee, EmployeeNavigationContextEntry>
|
|
{
|
|
public override void MergeWithObject(Employee pObject, EmployeeNavigationContextEntry pContext)
|
|
{
|
|
pContext.EmployeeOid = pObject.Oid.Value;
|
|
pContext.PersonnelNumber = pObject.PersonnelNumber;
|
|
pContext.FirstNameLastName = pObject.Person.FirstNameLastName;
|
|
}
|
|
}
|
|
}
|