Example #1
0
 public DataSet GetDataWithParameter <TParamOType>(TParamOType target, string storeProcedureName) where TParamOType : class
 {
     using (var gbData = new UERPDataAccess())
     {
         return(gbData.GetDataOnDateset(storeProcedureName, target));
     }
 }
        public DataSet UpdateAspNetUserName <TParamOType>(TParamOType target) where TParamOType : class
        {
            var storeProcedureName = "UpdateAspNetUserName";

            using (var gbData = new UERPDataAccess())
            {
                return(gbData.GetDataOnDateset(storeProcedureName, target));
            }
        }
        public DataSet GetReportPermissionModule <TParamOType>(TParamOType target) where TParamOType : class
        {
            var storeProcedureName = "USP_ReportAccessModule";

            using (var gbData = new UERPDataAccess())
            {
                return(gbData.GetDataOnDateset(storeProcedureName, target));
            }
        }
        public DataSet GetAspNetRoleModule <TParamOType>(TParamOType target) where TParamOType : class
        {
            var storeProcedureName = "USP_GET_Rolewise_Child_Menu";

            using (var gbData = new UERPDataAccess())
            {
                return(gbData.GetDataOnDateset(storeProcedureName, target));
            }
        }
Example #5
0
        public DataSet SP_GETAspNetRoleModuleIdIsactiveZero <TParamOType>(TParamOType target) where TParamOType : class
        {
            var storeProcedureName = "USP_GETAspNetRoleModuleIdIsactiveZero";

            using (var gbData = new UERPDataAccess())
            {
                return(gbData.GetDataOnDateset(storeProcedureName, target));
            }
        }
Example #6
0
        public DataSet SP_UPDATEAspNetRoleSecurityLevelId <TParamOType>(TParamOType target) where TParamOType : class
        {
            var storeProcedureName = "USP_UPDATEAspNetRoleSecurityLevelId";

            using (var gbData = new UERPDataAccess())
            {
                return(gbData.GetDataOnDateset(storeProcedureName, target));
            }
        }
Example #7
0
        public DataSet GetAspNetSecurityModuleRole <TParamOType>(TParamOType target) where TParamOType : class
        {
            var storeProcedureName = "USP_AspNetSecurityModuleRole";

            using (var gbData = new UERPDataAccess())
            {
                return(gbData.GetDataOnDateset(storeProcedureName, target));
            }
        }
Example #8
0
        public DataSet GetEmployeeForRegister <TParamOType>(TParamOType target) where TParamOType : class
        {
            var storeProcedureName = "USP_GET_EMPLOYEE_FOR_REGISTER";

            using (var gbData = new UERPDataAccess())
            {
                return(gbData.GetDataOnDateset(storeProcedureName, target));//menuSPService
            }
        }