/// <summary> /// 按条件取得数据库记录列表(其中部分) /// </summary> /// <typeparam name="T"></typeparam> /// <param name="condition"></param> /// <param name="orders"></param> /// <param name="from"></param> /// <param name="count"></param> /// <returns></returns> public List <T> List <T>(Criteria condition, Order[] orders, int from, int count) { return(List <T>(condition, orders, from, count, (string[])null)); }
/// <summary> /// 删除满足条件的记录(指定数据库) /// </summary> /// <typeparam name="T"></typeparam> /// <param name="conn"></param> /// <param name="condition"></param> /// <returns></returns> public int DeleteList <T>(IConnection conn, Criteria condition) { ObjectManager oa = _d1.GetObjectManager(typeof(T)); return(oa.MyDeleteList(conn, condition)); }
/// <summary> /// 按条件取得数据库记录列表 /// </summary> /// <typeparam name="T"></typeparam> /// <param name="condition"></param> /// <param name="orders"></param> /// <returns></returns> public List <T> List <T>(Criteria condition, Order[] orders) { return(List <T>(condition, orders, 0, 0, (ListField[])null)); }