public bool DeleteOnCommit(Tm domainEntity) { var dbEntity = FindDbEntity(domainEntity); if (dbEntity == null) { return(false); } DbTable.DeleteOnSubmit(dbEntity); return(true); }