예제 #1
0
 public static bool Exists(Model.bk m)
 {
     Gx.Sql sql = new Gx.Sql("*", "bk", "where (type=1 or type=0) and uid=@uid", m);
     return(sql.Exists <Model.bk>());
 }
예제 #2
0
 public static bool Exists_Register(Model.Userone m)
 {
     Gx.Sql s = new Gx.Sql("*", "Userone", "where name=@name", m);
     return(s.Exists <Model.Userone>());
 }
예제 #3
0
 public static bool Exists(Model.Userone m)
 {
     Gx.Sql s = new Gx.Sql("*", "Userone", "where name=@name and pwd=@pwd", m);
     return(s.Exists <Model.Userone>());
 }
예제 #4
0
 public static bool Exists(Model.user_login m)
 {
     Gx.Sql s = new Gx.Sql("*", "user_login", "where name=@name and login=@login and token=@token", m);
     return(s.Exists <Model.user_login>());
 }