DynamicQueryEngine/DynamicQueryEngine.cs
/// <summary>
/// Creates a new Update Query object which is ready to use. Only 'changed' EntityFieldCore are included in the update query.
/// Primary Key fields are never updated.
/// </summary>
/// <param name="fields">Array of EntityFieldCore objects to use to build the insert query</param>
/// <param name="fieldsPersistenceInfo">Array of IFieldPersistenceInfo objects to use to build the update query</param>
/// <param name="query">The query object to fill.</param>
/// <param name="updateFilter">A complete IPredicate implementing object which contains the filter for the rows to update</param>
/// <param name="relationsToWalk">list of EntityRelation objects, which will be used to formulate a FROM clause with INNER JOINs.</param>
/// <exception cref="System.ArgumentNullException">When fields is null or when updateFilter is null or
/// when relationsToWalk is null or when fieldsPersistence is null</exception>
/// <exception cref="System.ArgumentException">When fields contains no EntityFieldCore instances or fieldsPersistenceInfo is empty.</exception>
Creates a new Update Query object which is ready to use. Only 'changed' EntityFieldCore are included in the update query.
Primary Key fields are never updated.
Creates a new Update Query object which is ready to use . Only ' changed ' EntityFieldCore are included in the update query . Primary Key fields are never updated .
protected override void CreateSingleTargetUpdateDQ(IEntityFieldCore[] fields, IFieldPersistenceInfo[] fieldsPersistenceInfo, 
														   IActionQuery query, IPredicate updateFilter, IRelationCollection relationsToWalk)
		{
			this.CreateSingleTargetUpdateDQUsingCorrelatedSubQuery(fields, fieldsPersistenceInfo, query, updateFilter, relationsToWalk, false);
		}
protected override void CreateSingleTargetUpdateDQ ( IEntityFieldCore [ ] fields , IFieldPersistenceInfo [ ] fieldsPersistenceInfo , IActionQuery query , IPredicate updateFilter , IRelationCollection relationsToWalk ) { this . CreateSingleTargetUpdateDQUsingCorrelatedSubQuery ( fields , fieldsPersistenceInfo , query , updateFilter , relationsToWalk , false ) ; }
Creates a new Update Query object which is ready to use.
Creates a new Update Query object which is ready to use .
When fields is null or when updateFilter is null or
when relationsToWalk is null or when fieldsPersistence is null
When fields is null or when updateFilter is null or when relationsToWalk is null or when fieldsPersistence is null
When fields contains no EntityFieldCore instances or fieldsPersistenceInfo is empty.
When fields contains no EntityFieldCore instances or fieldsPersistenceInfo is empty .
fields
IEntityFieldCore[]
Array of EntityFieldCore objects to use to build the insert query
Array of EntityFieldCore objects to use to build the insert query
fieldsPersistenceInfo
IFieldPersistenceInfo[]
Array of IFieldPersistenceInfo objects to use to build the update query
Array of IFieldPersistenceInfo objects to use to build the update query
query
IActionQuery
The query object to fill.
The query object to fill .
updateFilter
IPredicate
A complete IPredicate implementing object which contains the filter for the rows to update
A complete IPredicate implementing object which contains the filter for the rows to update
relationsToWalk
IRelationCollection
list of EntityRelation objects, which will be used to formulate a FROM clause with INNER JOINs.
list of EntityRelation objects which will be used to formulate a FROM clause with INNER JOINs .