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