public static EntityEntry <TEntity> SbDelete <TEntity>(this ChakaContext context, TEntity entity) where TEntity : class { SetValue(entity, "UpdatedBy", 100); SetValue(entity, "DelDate", DateTime.Now); return(context.Set <TEntity>().Update(entity)); }
public static EntityEntry <TEntity> SbEdit <TEntity>(this ChakaContext context, TEntity entity) where TEntity : class { SetValue(entity, "UpdatedBy", 100); SetValue(entity, "BusinessGroupID", 2); SetValue(entity, "UpdatedDate", DateTime.Now); return(context.Set <TEntity>().Update(entity)); }
public static EntityEntry <TEntity> SbAdd <TEntity>(this ChakaContext context, TEntity entity) where TEntity : class { SetValue(entity, "CreatedBy", TokenDataClaim.CurrentUserID); SetValue(entity, "BusinessGroupID", TokenDataClaim.CurrentBusinessGrupID); SetValue(entity, "CreatedDate", DateTime.Now); return(context.Set <TEntity>().Add(entity)); }
public MenuDetailProvider(ChakaContext context) { this.context = context; }
public LocationProvider(ChakaContext context) { this.context = context; }
public LevelProvider(ChakaContext context) { this.context = context; }
public GroupGradeProvider(ChakaContext context) { this.context = context; }
public CityProvider(ChakaContext context) { this.context = context; }
public LineOfBusinessProvider(ChakaContext context) { _context = context; }
public ResponsibiltyProvider(ChakaContext context) { this.context = context; }
public OrganizationUnitChangeProvider(ChakaContext context) { this.context = context; }
public ResponsibilityGroupProvider(ChakaContext context) { this.context = context; }
public JobFunctionProvider(ChakaContext context) { _context = context; }
public JobFamilyProvider(ChakaContext context) { this.context = context; }
public OrganizationLevelProvider(ChakaContext context) { this.context = context; }
public UserProvider(ChakaContext context) { this.context = context; }
public EmployeeInfoRestrictionGroupProvider(ChakaContext context) { this.context = context; }
public MainMenuProvider(ChakaContext context) { this.context = context; }
public OrganizationReportProvider(ChakaContext context) { this.context = context; }
public OrgUnitProvider(ChakaContext context) { this.context = context; }
public BrowseOrganizationUnitProvider(ChakaContext context) { this.context = context; }
public CostCenterProvider(ChakaContext context) { this.context = context; }
public BusinessFieldRegulationProvider(ChakaContext context) { _context = context; }
public LevelCategoryProvider(ChakaContext context) { this.context = context; }
public JobMasterProvider(ChakaContext context) { this.context = context; }
public BrowseSuperiorProvider(ChakaContext context) { this.context = context; }
public ProvinceProvider(ChakaContext context) { this.context = context; }
public JobTitleProvider(ChakaContext context) { this.context = context; }
public JobStatusProvider(ChakaContext context) { this.context = context; }
public EmployeeFilterProvider(ChakaContext context) { this.context = context; }