private static object[] Take(AccountingObjectCategoryEntity accountingObjectCategoryEntity)
 {
     return(new object[]
     {
         "@AccountingObjectCategoryId", accountingObjectCategoryEntity.AccountingObjectCategoryId,
         "@AccountingObjectCategoryCode", accountingObjectCategoryEntity.AccountingObjectCategoryCode,
         "@AccountingObjectCategoryName", accountingObjectCategoryEntity.AccountingObjectCategoryName,
         "@IsActive", accountingObjectCategoryEntity.IsActive,
         "@IsSystem", accountingObjectCategoryEntity.IsSystem
     });
 }
Beispiel #2
0
 internal static AccountingObjectCategoryModel FromDataTransferObject(AccountingObjectCategoryEntity entity)
 {
     return(entity == null ? null : AutoMapper.Mapper.Map <AccountingObjectCategoryEntity, AccountingObjectCategoryModel>(entity));
 }