/// <summary>
 /// Selects records based on the passed filters as a collection (List) of LoginTable.
 /// </summary>
 public static List <LoginTable> SelectAllDynamicWhere(int?adminid, string password)
 {
     return(LoginTableDataLayer.SelectAllDynamicWhere(adminid, password));
 }
        /// <summary>
        /// Selects records based on the passed filters as a collection (List) of LoginTable sorted by the sort expression.
        /// </summary>
        public static List <LoginTable> SelectAllDynamicWhere(int?adminid, string password, string sortByExpression)
        {
            List <LoginTable> objLoginTableCol = LoginTableDataLayer.SelectAllDynamicWhere(adminid, password);

            return(SortByExpression(objLoginTableCol, sortByExpression));
        }
 /// <summary>
 /// Selects all records as a collection (List) of LoginTable
 /// </summary>
 public static List <LoginTable> SelectAll()
 {
     return(LoginTableDataLayer.SelectAll());
 }
        /// <summary>
        /// Selects all records as a collection (List) of LoginTable sorted by the sort expression
        /// </summary>
        public static List <LoginTable> SelectAll(string sortByExpression)
        {
            List <LoginTable> objLoginTableCol = LoginTableDataLayer.SelectAll();

            return(SortByExpression(objLoginTableCol, sortByExpression));
        }
 /// <summary>
 /// Selects records as a collection (List) of LoginTable sorted by the sortByExpression and returns the rows (# of records) starting from the startRowIndex
 /// </summary>
 public static List <LoginTable> SelectSkipAndTake(int rows, int startRowIndex, string sortByExpression)
 {
     sortByExpression = GetSortExpression(sortByExpression);
     return(LoginTableDataLayer.SelectSkipAndTake(sortByExpression, startRowIndex, rows));
 }
 /// <summary>
 /// Selects records as a collection (List) of LoginTable sorted by the sortByExpression starting from the startRowIndex, based on the search parameters
 /// </summary>
 public static List <LoginTable> SelectSkipAndTakeDynamicWhere(int?adminid, string password, int rows, int startRowIndex, string sortByExpression)
 {
     sortByExpression = GetSortExpression(sortByExpression);
     return(LoginTableDataLayer.SelectSkipAndTakeDynamicWhere(adminid, password, sortByExpression, startRowIndex, rows));
 }
 /// <summary>
 /// Gets the total number of records in the LoginTable table
 /// </summary>
 public static int GetRecordCount()
 {
     return(LoginTableDataLayer.GetRecordCount());
 }
 /// <summary>
 /// Gets the total number of records in the LoginTable table based on search parameters
 /// </summary>
 public static int GetRecordCountDynamicWhere(int?adminid, string password)
 {
     return(LoginTableDataLayer.GetRecordCountDynamicWhere(adminid, password));
 }
 /// <summary>
 /// Selects a record by primary key(s)
 /// </summary>
 public static LoginTable SelectByPrimaryKey(int adminid)
 {
     return(LoginTableDataLayer.SelectByPrimaryKey(adminid));
 }
 /// <summary>
 /// Deletes a record based on primary key(s)
 /// </summary>
 public static void Delete(int adminid)
 {
     LoginTableDataLayer.Delete(adminid);
 }
        /// <summary>
        /// Updates a record
        /// </summary>
        public void Update()
        {
            LoginTable objLoginTable = (LoginTable)this;

            LoginTableDataLayer.Update(objLoginTable);
        }
        /// <summary>
        /// Inserts a record
        /// </summary>
        public int Insert()
        {
            LoginTable objLoginTable = (LoginTable)this;

            return(LoginTableDataLayer.Insert(objLoginTable));
        }
 /// <summary>
 /// Selects Adminid and Password columns for use with a DropDownList web control, ComboBox, CheckedBoxList, ListView, ListBox, etc
 /// </summary>
 public static List <LoginTable> SelectLoginTableDropDownListData()
 {
     return(LoginTableDataLayer.SelectLoginTableDropDownListData());
 }