public static bool Delete(Model.bk m) { Gx.Sql sql = new Gx.Sql("", "bk", "where id=@id and uid=@uid", m); if (sql.Delete() > 0) { return(true); } return(false); }
public static bool Delete(Model.user_login m) { Gx.Sql s = new Gx.Sql("", "user_login", "where name=@name", m); if (s.Delete() > 0) { return(true); } return(false); }