// Models/ Library mappings for Address classes
 public static Models.Address ManMap2(Library.Address address) => new Models.Address
 {
     AddressId    = address.AddressId,
     AddressLine1 = address.AddressLine1,
     AddressLine2 = address.AddressLine2,
     City         = address.City,
     State        = address.State,
     Zip          = address.ZIP
 };
Exemple #2
0
 public static DA.Address ManMap(Library.Address address) => new DA.Address
 {
     AddressId    = address.AddressId,
     AddressLine1 = address.AddressLine1,
     AddressLine2 = address.AddressLine2,
     City         = address.City,
     State        = address.State,
     Zip          = address.ZIP,
     CustomerId   = address.CustomerID
 };