/// <summary> /// 删除 /// </summary> /// <param name="t"></param> /// <returns></returns> public bool DeleteEntity(Expression <Func <T, bool> > whereLambda) { return(SimpleDb.Delete(whereLambda)); }
/// <summary> /// 删除 /// </summary> /// <param name="t"></param> /// <returns></returns> public bool DeleteEntity(T t) { return(SimpleDb.Delete(t)); }