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>()); }
public static bool Exists_Register(Model.Userone m) { Gx.Sql s = new Gx.Sql("*", "Userone", "where name=@name", m); return(s.Exists <Model.Userone>()); }
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>()); }
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>()); }