Exemplo n.º 1
0
 /// <summary>
 /// 根据条件批量删除数据
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="condition">删除条件</param>
 /// <returns>返回受影响的行数</returns>
 public static int deleteBatch <T>(String condition) where T : IEntity
 {
     return(ObjectDB.DeleteBatch(typeof(T), condition));
 }