Azavea.Open.DAO.AbstractDaLayer.Delete C# (CSharp) Method

Delete() public abstract method

Deletes a data object record using the mapping and criteria for what's deleted.
public abstract Delete ( ITransaction transaction, ClassMapping mapping, DaoCriteria crit ) : int
transaction ITransaction The transaction to do this as part of.
mapping ClassMapping The mapping of the table from which to delete.
crit Azavea.Open.DAO.Criteria.DaoCriteria Criteria for deletion. NOTE: Only the expressions are observed, /// other things (like "order" or start / limit) are ignored. /// WARNING: A null or empty (no expression) criteria will /// delete ALL records!
return int
        public abstract int Delete(ITransaction transaction, ClassMapping mapping, DaoCriteria crit);