コード例 #1
0
ファイル: MappingExtensions.cs プロジェクト: lulzzz/AK
 public static BusinessCore.Domain.Purchases.Vendor ToEntity(this Vendor.VendorModel model, BusinessCore.Domain.Purchases.Vendor destination)
 {
     return(model.MapTo(destination));
 }
コード例 #2
0
ファイル: MappingExtensions.cs プロジェクト: lulzzz/AK
 public static Vendor.VendorModel ToModel(this BusinessCore.Domain.Purchases.Vendor entity)
 {
     return(entity.MapTo <BusinessCore.Domain.Purchases.Vendor, Vendor.VendorModel>());
 }