DomainObjects Class Library

DeleteByCriteria Class

Use DeleteByCriteria to execute 'batch' deletes to your domain objects directly to the database. At runtime DomainObjects translates a DeleteByCriteria instance into a SQL DELETE statement.

For a list of all members of this type, see DeleteByCriteria Members.

System.Object
   BatchStatement
      DeleteByCriteria

[Serializable]
[Serializable]
public class DeleteByCriteria : BatchStatement

Example

The following unit test demonstrates the usage of the DeleteByCriteria class: see DeleteByCriteriaTests.ExecuteDelete().

Requirements

Namespace: DomainObjects.Facade.Command

Assembly: DomainObjects.Core (in DomainObjects.Core.dll)

See Also

DeleteByCriteria Members | DomainObjects.Facade.Command Namespace