The DomainObjects.Facade.Command namespace provides classes that enable you to persist and query your persistable objects in terms of the domain model.
Class | Description |
---|---|
Criteria | Use Criteria to specify the search conditions of a query. At runtime, DomainObjects converts a Criteria instance to the WHERE clause of a SQL statement. Each instance of a Criteria in a query generates a parenthesized set of constraints in a WHERE clause. |
DeleteByCriteria | 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. |
InsertByQuery<InsertIntoClass,SelectFromClass> | Use InsertByQuery to 'batch' insert your domain objects directly to the database via a select subquery. At runtime DomainObjects translates an InsertByQuery instance into a SQL INSERT INTO...SELECT statement. |
PersistenceFacade | Use PersistenceFacade to transactionally persist or delete objects that have been created, modified, or deleted outside the context of a transaction. |
Query |
Query is an abstract base class for queries handled by DomainObjects. This class is not intended for subclassing outside of the DomainObjects framework. Use |
Query<ClassToFind> | Use Query<ClassToFind> to define a query in terms of your object model. At runtime DomainObjects translates a Query<ClassToFind> instance into a SQL SELECT statement. |
ScalarQuery | ScalarQuery is an abstract base class for queries handled by DomainObjects. This class is not intended for subclassing outside of the DomainObjects framework. Use ScalarQuery`1 to create your queries. |
ScalarQuery<SelectFromClass> | A query that returns a single scalar value (one column, one row). |
TableExpressionQuery | |
TableExpressionQuery<ClassToFind> | |
UpdateByCriteria | 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. |