/// <summary> /// Selects records as a collection (List) of UserMaster sorted by the sortByExpression and returns the rows (# of records) starting from the startRowIndex /// </summary> public static List <UserMaster> SelectSkipAndTake(int rows, int startRowIndex, string sortByExpression) { sortByExpression = GetSortExpression(sortByExpression); return(UserMasterDataLayer.SelectSkipAndTake(sortByExpression, startRowIndex, rows)); }
/// <summary> /// Selects records as a collection (List) of UserMaster sorted by the sortByExpression starting from the startRowIndex, based on the search parameters /// </summary> public static List <UserMaster> SelectSkipAndTakeDynamicWhere(int?userId, string userName, string password, string email, DateTime?createdOn, string createdBy, DateTime?modifiedOn, string modifiedBy, int rows, int startRowIndex, string sortByExpression) { sortByExpression = GetSortExpression(sortByExpression); return(UserMasterDataLayer.SelectSkipAndTakeDynamicWhere(userId, userName, password, email, createdOn, createdBy, modifiedOn, modifiedBy, sortByExpression, startRowIndex, rows)); }
/// <summary> /// Gets the total number of records in the UserMaster table /// </summary> public static int GetRecordCount() { return(UserMasterDataLayer.GetRecordCount()); }
/// <summary> /// Gets the total number of records in the UserMaster table based on search parameters /// </summary> public static int GetRecordCountDynamicWhere(int?userId, string userName, string password, string email, DateTime?createdOn, string createdBy, DateTime?modifiedOn, string modifiedBy) { return(UserMasterDataLayer.GetRecordCountDynamicWhere(userId, userName, password, email, createdOn, createdBy, modifiedOn, modifiedBy)); }
public static string UpdateUserMasterPersonalDetials(UserMasterLogicLayer UserMasterDetail) { return(UserMasterDataLayer.UpdateUserMasterPersonalDetials(UserMasterDetail)); }
/// <summary> /// Selects a record by primary key(s) /// </summary> public static UserMaster SelectByPrimaryKey(int userId) { return(UserMasterDataLayer.SelectByPrimaryKey(userId)); }
/// <summary> /// Inserts a record /// </summary> public int Insert() { UserMaster objUserMaster = (UserMaster)this; return(UserMasterDataLayer.Insert(objUserMaster)); }
/// <summary> /// Selects records based on the passed filters as a collection (List) of UserMaster. /// </summary> public static List <UserMaster> SelectAllDynamicWhere(int?userId, string userName, string password, string email, DateTime?createdOn, string createdBy, DateTime?modifiedOn, string modifiedBy) { return(UserMasterDataLayer.SelectAllDynamicWhere(userId, userName, password, email, createdOn, createdBy, modifiedOn, modifiedBy)); }
public static DataTable GetLoginDataWithEmailId(UserMasterLogicLayer UserMasterDetail) { return(UserMasterDataLayer.GetLoginDataWithEmailId(UserMasterDetail)); }
/// <summary> /// Selects UserId and CreatedBy columns for use with a DropDownList web control, ComboBox, CheckedBoxList, ListView, ListBox, etc /// </summary> public static List <UserMaster> SelectUserMasterDropDownListData() { return(UserMasterDataLayer.SelectUserMasterDropDownListData()); }
public static DataTable GetAllIDWiseUserMasterDetials(String Id) { return(UserMasterDataLayer.GetAllIDWiseUserMasterDetials(Id)); }
public static DataTable GetAllUserMasterDetials() { return(UserMasterDataLayer.GetAllUserMasterDetials()); }
public static string UpdateUserMasterChangeEmailDetials(UserMasterLogicLayer UserMasterDetail) { return(UserMasterDataLayer.UpdateUserMasterChangeEmailDetials(UserMasterDetail)); }
/// <summary> /// Selects all records as a collection (List) of UserMaster /// </summary> public static List <UserMaster> SelectAll() { return(UserMasterDataLayer.SelectAll()); }
/// <summary> /// Updates a record /// </summary> public void Update() { UserMaster objUserMaster = (UserMaster)this; UserMasterDataLayer.Update(objUserMaster); }
/// <summary> /// Selects all records as a collection (List) of UserMaster sorted by the sort expression /// </summary> public static List <UserMaster> SelectAll(string sortByExpression) { List <UserMaster> objUserMasterCol = UserMasterDataLayer.SelectAll(); return(SortByExpression(objUserMasterCol, sortByExpression)); }
/// <summary> /// Deletes a record based on primary key(s) /// </summary> public static void Delete(int userId) { UserMasterDataLayer.Delete(userId); }
/// <summary> /// Selects records based on the passed filters as a collection (List) of UserMaster sorted by the sort expression. /// </summary> public static List <UserMaster> SelectAllDynamicWhere(int?userId, string userName, string password, string email, DateTime?createdOn, string createdBy, DateTime?modifiedOn, string modifiedBy, string sortByExpression) { List <UserMaster> objUserMasterCol = UserMasterDataLayer.SelectAllDynamicWhere(userId, userName, password, email, createdOn, createdBy, modifiedOn, modifiedBy); return(SortByExpression(objUserMasterCol, sortByExpression)); }
public static string InsertUserMasterDetials(UserMasterLogicLayer UserMasterDetail) { return(UserMasterDataLayer.InsertUserMasterDetials(UserMasterDetail)); }