Пример #1
0
 /// <summary>
 /// 删除
 /// </summary>
 /// <param name="t"></param>
 /// <returns></returns>
 public bool DeleteEntity(Expression <Func <T, bool> > whereLambda)
 {
     return(SimpleDb.Delete(whereLambda));
 }
Пример #2
0
 /// <summary>
 /// 删除
 /// </summary>
 /// <param name="t"></param>
 /// <returns></returns>
 public bool DeleteEntity(T t)
 {
     return(SimpleDb.Delete(t));
 }