예제 #1
0
 public List <DailyPurchase> Get_DailyPurchase(Int32 ID, string Action, Int32 DeletedBy)
 {
     if (Action == "Delete" || Action == "Delete1")
     {
         return(SqlHelpers.GetObjects <DailyPurchase>(Util.Env, CommandFactory.Get_DailyPurchase(ID, Action, DeletedBy), AdminObjectFactory.Delete_DailyPurchase_Factory));
     }
     else if (Action == "Edit" || Action == "Edit1")
     {
         return(SqlHelpers.GetObjects <DailyPurchase>(Util.Env, CommandFactory.Get_DailyPurchase(ID, Action, DeletedBy), AdminObjectFactory.Edit_DailyPurchase_Factory));
     }
     else
     {
         return(SqlHelpers.GetObjects <DailyPurchase>(Util.Env, CommandFactory.Get_DailyPurchase(ID, Action, DeletedBy), AdminObjectFactory.Get_DailyPurchase_Factory));
     }
 }
예제 #2
0
 public List <UserDetails> GetUsers(Int32 Uid, string Action, Int32 DeletedBy)
 {
     if (Action == "Delete" || Action == "Delete1")
     {
         return(SqlHelpers.GetObjects <UserDetails>(Util.Env, CommandFactory.GetUsers(Uid, Action, DeletedBy), AdminObjectFactory.DeleteUsersItemFactory));
     }
     else if (Action == "Edit" || Action == "Edit1")
     {
         return(SqlHelpers.GetObjects <UserDetails>(Util.Env, CommandFactory.GetUsers(Uid, Action, DeletedBy), AdminObjectFactory.EditUsersItemFactory));
     }
     else
     {
         return(SqlHelpers.GetObjects <UserDetails>(Util.Env, CommandFactory.GetUsers(Uid, Action, DeletedBy), AdminObjectFactory.GetUsersItemFactory));
     }
 }
예제 #3
0
 public List <Vendors> Get_Vendors(Int32 ID, string Action, Int32 DeletedBy)
 {
     if (Action == "Delete" || Action == "Delete1")
     {
         return(SqlHelpers.GetObjects <Vendors>(Util.Env, CommandFactory.Get_Vendors(ID, Action, DeletedBy), AdminObjectFactory.Delete_Vendors_Factory));
     }
     else if (Action == "Edit" || Action == "Edit1")
     {
         return(SqlHelpers.GetObjects <Vendors>(Util.Env, CommandFactory.Get_Vendors(ID, Action, DeletedBy), AdminObjectFactory.Edit_Vendors_Factory));
     }
     else
     {
         return(SqlHelpers.GetObjects <Vendors>(Util.Env, CommandFactory.Get_Vendors(ID, Action, DeletedBy), AdminObjectFactory.Get_Vendors_Factory));
     }
 }
예제 #4
0
 public List <Labour_Payments> Insert_Update_Labour_Payments(Labour_Payments objEntity)
 {
     return(SqlHelpers.GetObjects <Labour_Payments>(Util.Env, CommandFactory.Insert_Update_Labour_Payments(objEntity), AdminObjectFactory.Insert_Update_Labour_Payments_Factory));
 }
예제 #5
0
 public List <UserCreation> CreateOrUpdateUser(Int32 Uid, String Action, string Name, string Mobile, string PF, string ESI,
                                               string Aadhar, string Email, string Address, string IsInCharge, string IsAdmin, string UserName, string Password,
                                               int CreatedBy, String Flag, Int32 LastUpdatedBy, Int32 DeletedBy, string sesid)
 {
     return(SqlHelpers.GetObjects <UserCreation>(Util.Env, CommandFactory.CreateOrUpdateUser(Uid, Action, Name, Mobile, PF, ESI, Aadhar, Email, Address, IsInCharge, IsAdmin, UserName, Password, CreatedBy, Flag, LastUpdatedBy, DeletedBy, sesid), AdminObjectFactory.CreateUserItemFactory));
 }
예제 #6
0
 public List <DropdownIP> Dropdown(string Info)
 {
     return(SqlHelpers.GetObjects <DropdownIP>(Util.Env, CommandFactory.Dropdown(Info), CommonObjectFactory.DropdownItemFactory));
 }
예제 #7
0
 public List <Userslogin> UserLoginRpt(string Info)
 {
     return(SqlHelpers.GetObjects <Userslogin>(Util.Env, CommandFactory.UserLoginRpt(Info), AdminObjectFactory.GetUserLoginRptItemFactory));
 }
예제 #8
0
 public List <Import_Items> Insert_Update_Import_Items(Import_Items objEntity)
 {
     return(SqlHelpers.GetObjects <Import_Items>(Util.Env, CommandFactory.Insert_Update_Import_Items(objEntity), AdminObjectFactory.Insert_Update_Import_Items_Factory));
 }
예제 #9
0
 public List <Project> Insert_Update_Project(Project objEntity)
 {
     return(SqlHelpers.GetObjects <Project>(Util.Env, CommandFactory.Insert_Update_Project(objEntity), AdminObjectFactory.Insert_Update_Project_Factory));
 }
예제 #10
0
 public List <PO> Insert_Update_PO(PO objEntity)
 {
     return(SqlHelpers.GetObjects <PO>(Util.Env, CommandFactory.Insert_Update_PO(objEntity), AdminObjectFactory.Insert_Update_PO_Factory));
 }
예제 #11
0
 public List <PO_Term_Conditions> Insert_Update_PO_Term_Conditions(PO_Term_Conditions objEntity)
 {
     return(SqlHelpers.GetObjects <PO_Term_Conditions>(Util.Env, CommandFactory.Insert_Update_PO_Term_Conditions(objEntity), AdminObjectFactory.Insert_Update_PO_Term_Conditions_Factory));
 }
예제 #12
0
 public List <Daily_Labour_Miss> Insert_Update_Daily_Labour_Miss(Daily_Labour_Miss objEntity)
 {
     return(SqlHelpers.GetObjects <Daily_Labour_Miss>(Util.Env, CommandFactory.Insert_Update_Daily_Labour_Miss(objEntity), AdminObjectFactory.Insert_Update_Daily_Labour_Miss_Factory));
 }
예제 #13
0
 public List <DailyPurchase> Insert_Update_DailyPurchase(DailyPurchase objEntity)
 {
     return(SqlHelpers.GetObjects <DailyPurchase>(Util.Env, CommandFactory.Insert_Update_DailyPurchase(objEntity), AdminObjectFactory.Insert_Update_DailyPurchase_Factory));
 }
예제 #14
0
 public List <Expense> Insert_Update_Expense(Expense objEntity)
 {
     return(SqlHelpers.GetObjects <Expense>(Util.Env, CommandFactory.Insert_Update_Expense(objEntity), AdminObjectFactory.Insert_Update_Expense_Factory));
 }
예제 #15
0
 public List <Unit> CreateOrUpdateUnit(Int32 Unitid, string Action, string UnitName, string UnitDescr, Int32 CreatedBy, String Flag, Int32 LastUpdatedBy, Int32 DeletedBy, string sesid)
 {
     return(SqlHelpers.GetObjects <Unit>(Util.Env, CommandFactory.CreateOrUpdateUnit(Unitid, Action, UnitName, UnitDescr, CreatedBy, Flag, LastUpdatedBy, DeletedBy, sesid), AdminObjectFactory.CreateUnitItemFactory));
 }
예제 #16
0
 public List <Util.Result> UserLogin(string Info)
 {
     return(SqlHelpers.GetObjects <Util.Result>(Util.Env, CommandFactory.UserLogin(Info), CommonObjectFactory.resultItemFactory));
 }
예제 #17
0
 public List <Util.Result> ChangePassword(string action, string regid, string thru, string oldpwd, string newpwd)
 {
     return(SqlHelpers.GetObjects <Util.Result>(Util.Env, CommandFactory.ChangePassword(action, regid, thru, oldpwd, newpwd), CommonObjectFactory.resultItemFactory));
 }
예제 #18
0
 public string GetValue(string Info)
 {
     return(SqlHelpers.GetObjects(Util.Env, CommandFactory.GetValue(Info)));
 }
예제 #19
0
 public List <LinksPremission> LinksPremission(string Info)
 {
     return(SqlHelpers.GetObjects <LinksPremission>(Util.Env, CommandFactory.LinksPremission(Info), AdminObjectFactory.LinksPremissionItemFactory));
 }
예제 #20
0
 public List <LoginOP> AdminLogin(string Info)
 {
     return(SqlHelpers.GetObjects <LoginOP>(Util.Env, CommandFactory.AdminLogin(Info), LoginObjectFactory.LoginItemFactory));
 }
예제 #21
0
 public List <Util.Result> UpdateLinksPremission(string Info)
 {
     return(SqlHelpers.GetObjects <Util.Result>(Util.Env, CommandFactory.UpdateLinksPremission(Info), CommonObjectFactory.resultItemFactory));
 }
예제 #22
0
 public List <Util.Result> SessionsInOut(string Info)
 {
     return(SqlHelpers.GetObjects <Util.Result>(Util.Env, CommandFactory.SessionsInOut(Info), CommonObjectFactory.resultItemFactory));
 }
예제 #23
0
 public List <UsersData> UsersData(string Info)
 {
     return(SqlHelpers.GetObjects <UsersData>(Util.Env, CommandFactory.UsersData(Info), AdminObjectFactory.UsersItemFactory));
 }
예제 #24
0
 public List <Req_Money> Insert_Update_Req_Money(Req_Money objEntity)
 {
     return(SqlHelpers.GetObjects <Req_Money>(Util.Env, CommandFactory.Insert_Update_Req_Money(objEntity), AdminObjectFactory.Insert_Update_Req_Money_Factory));
 }
예제 #25
0
 public List <Railways> Insert_Update_Railways(Railways objEntity)
 {
     return(SqlHelpers.GetObjects <Railways>(Util.Env, CommandFactory.Insert_Update_Railways(objEntity), AdminObjectFactory.Insert_Update_Railways_Factory));
 }
예제 #26
0
 public List <GetLinks> MainLinks(string Info)
 {
     return(SqlHelpers.GetObjects <GetLinks>(Util.Env, CommandFactory.MainLinks(Info), CommonObjectFactory.MenuItemFactory));
 }
예제 #27
0
 public List <Vendors> Insert_Update_Vendors(Vendors objEntity)
 {
     return(SqlHelpers.GetObjects <Vendors>(Util.Env, CommandFactory.Insert_Update_Vendors(objEntity), AdminObjectFactory.Insert_Update_Vendors_Factory));
 }
예제 #28
0
 public List <Site_Progress> Insert_Update_Site_Progress(Site_Progress objEntity)
 {
     return(SqlHelpers.GetObjects <Site_Progress>(Util.Env, CommandFactory.Insert_Update_Site_Progress(objEntity), AdminObjectFactory.Insert_Update_Site_Progress_Factory));
 }
예제 #29
0
 public List <CheckUserID> CheckUserID(string Info)
 {
     return(SqlHelpers.GetObjects <CheckUserID>(Util.Env, CommandFactory.CheckUserID(Info), AdminObjectFactory.CheckUserIDItemFactory));
 }
예제 #30
0
 public List <lastlogin> GetLastLogin(string Info)
 {
     return(SqlHelpers.GetObjects <lastlogin>(Util.Env, CommandFactory.GetLastLogin(Info), CommonObjectFactory.GetLastLoginItemFactory));
 }