/// <summary> /// TBL_UserEmail tabloya daki kayıt siler şarta göre /// </summary> /// <param name="entity"></param> /// <param name="where"></param> /// <returns></returns> public ReturnValue DeleteTBL_UserEmail(TBL_UserEmail entity, Expression <Func <TBL_UserEmail, object> > @where, DbTransaction tran = null) { using (var db = GetDB <TBL_UserEmail>(tran)) { return(db.Table().Delete(entity, @where)); } }
/// <summary> /// TBL_UserEmail tabloya daki kayıtı siler primary key'e göre /// </summary> /// <param name="entity"></param> /// <returns></returns> public ReturnValue DeleteTBL_UserEmail(TBL_UserEmail entity, DbTransaction tran = null) { using (var db = GetDB <TBL_UserEmail>(tran)) { return(db.Table().Delete(entity)); } }