internal static CustomerDto CustomerDtoForInserting(ICustomer c) { var dto = new CustomerDto() { FirstName = c.FirstName, LastName = c.LastName, Email = c.Email, LoginName = c.LoginName, CreateDate = c.CreateDate, UpdateDate = c.UpdateDate }; return dto; }
internal static CustomerDto CustomerDtoForInserting(ICustomer c) { var dto = new CustomerDto() { EntityKey = c.EntityKey, FirstName = c.FirstName, LastName = c.LastName, Email = c.Email, MemberId = c.MemberId, LastPaymentDate = c.LastPaymentDate, TotalInvoiced = c.TotalInvoiced, TotalPayments = c.TotalPayments, CreateDate = c.CreateDate, UpdateDate = c.UpdateDate }; return dto; }