Example #1
0
        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));
        }
Example #2
0
        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));
        }
Example #3
0
        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));
        }
Example #4
0
 public MenuDetailProvider(ChakaContext context)
 {
     this.context = context;
 }
Example #5
0
 public LocationProvider(ChakaContext context)
 {
     this.context = context;
 }
Example #6
0
 public LevelProvider(ChakaContext context)
 {
     this.context = context;
 }
Example #7
0
 public GroupGradeProvider(ChakaContext context)
 {
     this.context = context;
 }
Example #8
0
 public CityProvider(ChakaContext context)
 {
     this.context = context;
 }
 public LineOfBusinessProvider(ChakaContext context)
 {
     _context = context;
 }
Example #10
0
 public ResponsibiltyProvider(ChakaContext context)
 {
     this.context = context;
 }
 public OrganizationUnitChangeProvider(ChakaContext context)
 {
     this.context = context;
 }
Example #12
0
 public ResponsibilityGroupProvider(ChakaContext context)
 {
     this.context = context;
 }
Example #13
0
 public JobFunctionProvider(ChakaContext context)
 {
     _context = context;
 }
Example #14
0
 public JobFamilyProvider(ChakaContext context)
 {
     this.context = context;
 }
Example #15
0
 public OrganizationLevelProvider(ChakaContext context)
 {
     this.context = context;
 }
Example #16
0
 public UserProvider(ChakaContext context)
 {
     this.context = context;
 }
 public EmployeeInfoRestrictionGroupProvider(ChakaContext context)
 {
     this.context = context;
 }
Example #18
0
 public MainMenuProvider(ChakaContext context)
 {
     this.context = context;
 }
Example #19
0
 public OrganizationReportProvider(ChakaContext context)
 {
     this.context = context;
 }
Example #20
0
 public OrgUnitProvider(ChakaContext context)
 {
     this.context = context;
 }
 public BrowseOrganizationUnitProvider(ChakaContext context)
 {
     this.context = context;
 }
Example #22
0
 public CostCenterProvider(ChakaContext context)
 {
     this.context = context;
 }
Example #23
0
 public BusinessFieldRegulationProvider(ChakaContext context)
 {
     _context = context;
 }
Example #24
0
 public LevelCategoryProvider(ChakaContext context)
 {
     this.context = context;
 }
Example #25
0
 public JobMasterProvider(ChakaContext context)
 {
     this.context = context;
 }
Example #26
0
 public BrowseSuperiorProvider(ChakaContext context)
 {
     this.context = context;
 }
Example #27
0
 public ProvinceProvider(ChakaContext context)
 {
     this.context = context;
 }
Example #28
0
 public JobTitleProvider(ChakaContext context)
 {
     this.context = context;
 }
Example #29
0
 public JobStatusProvider(ChakaContext context)
 {
     this.context = context;
 }
 public EmployeeFilterProvider(ChakaContext context)
 {
     this.context = context;
 }