DomainObjects Class Library

UpdateByCriteria Class

Use UpdateByCriteria to execute 'batch' updates to your domain objects directly to the database. At runtime DomainObjects translates an UpdateByCriteria instance into a SQL UPDATE statement.

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

System.Object
   BatchStatement
      UpdateByCriteria

[Serializable]
[Serializable]
public class UpdateByCriteria : BatchStatement

Example

The following unit test demonstrates the usage of the UpdateByCriteria class: see UpdateByCriteriaTests.ExecuteUpdate().

Requirements

Namespace: DomainObjects.Facade.Command

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

See Also

UpdateByCriteria Members | DomainObjects.Facade.Command Namespace