public static void DelRelateOfClient(int ClientId) { Query q = Relate.Query(); q.AddWhere(Relate.Columns.ClientId, ClientId); q.QueryType = QueryType.Delete; q.Execute(); }
public static DataTable getRelateList() { Query q = Relate.Query(); return(q.ExecuteDataSet().Tables[0]); }