예제 #1
0
 public abstract DataTable sorgula(admin a);
예제 #2
0
 public abstract int login(admin a);
예제 #3
0
        public SqlDataReader _login(admin admin)
        {
            DALadmin daladmin = new DALadmin();

            return(daladmin._login(admin));
        }
예제 #4
0
        public static admin GetAdmin(admin o)
        {
            string sql = "select * from admin where id = @id";

            return(DAL.SqlHelper <Model.admin> .Query(sql, o)[0]);
        }
예제 #5
0
        public SqlDataReader readAdmin(admin admin)
        {
            DALadmin daladmin = new DALadmin();

            return(daladmin.readAdmin(admin));
        }
예제 #6
0
        public int updateAdmin(admin admin)
        {
            DALadmin daladmin = new DALadmin();

            return(daladmin.updateAdmin(admin));
        }
예제 #7
0
        public int deleteAdmin(admin admin)
        {
            DALadmin daladmin = new DALadmin();

            return(daladmin.deleteAdmin(admin));
        }
예제 #8
0
        public int insertAdmin(admin admin)
        {
            DALadmin daladmin = new DALadmin();

            return(daladmin.insertAdmin(admin));
        }
예제 #9
0
        public SqlDataReader checkAdmin(admin admin)
        {
            DALadmin daladmin = new DALadmin();

            return(daladmin.checkAdmin(admin));
        }