DomainObjects Class Library

UpdateByCriteria Members

UpdateByCriteria overview

Public Instance Constructors

UpdateByCriteria Constructor Constructs an empty update command.

Public Instance Properties

CommandTimeout (inherited from DomainObjects.DbAccess.Command.SqlStatement.ObjectModel.BatchStatement) Gets or sets the wait time before terminating the attempt to execute a SQL statement and generating an error.
Top Gets or sets the maximum number of rows that will be updated by this command.
Where Gets or sets the criteria that will be converted to the WHERE clause of the SQL select statement. The getter will always return a non-null value.

Public Instance Methods

Accept Accepts a visitation.
AddUpdateField Specify a field whose value will be updated by this command.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
Execute Executes this update against the database. If a transaction is in progress when the Execute method is called, then this update will execute as part of that transaction. If a transaction is not in progress, then this update will execute and commit as part of a new transaction. If this update command gets executed as part of a transaction that contains edited objects, then this command will get executed before the object modification commands are executed against the database.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetImmediateChildExpressions Gets the child object model expressions that are directly contained by this expression.
GetType (inherited from Object)Gets the Type of the current instance.
ToString (inherited from Object)Returns a String that represents the current Object.

See Also

UpdateByCriteria Class | DomainObjects.Facade.Command Namespace