Method CreateAggregateQuery
| Improve this Doc View SourceCreateAggregateQuery<T>(Action<DbAggregateQueryBuilder, T>)
Creates aggregate database query.
Declaration
public DbQuery<T> CreateAggregateQuery<T>(Action<DbAggregateQueryBuilder, T> buildQuery)
where T : class, IEntity, new()
Parameters
Type | Name | Description |
---|---|---|
System.Action<DbAggregateQueryBuilder, T> | buildQuery | The aggregate query builder. |
Returns
Type | Description |
---|---|
DbQuery<T> | The created database query. |
Type Parameters
Name | Description |
---|---|
T | Type of the entity. |
CreateAggregateQuery<T>(T, Action<DbAggregateQueryBuilder, T>)
Creates aggregate database query for specified entity.
Declaration
public DbQuery<T> CreateAggregateQuery<T>(T _, Action<DbAggregateQueryBuilder, T> buildQuery)
where T : class, IEntity, new()
Parameters
Type | Name | Description |
---|---|---|
T | _ | The specified entity. |
System.Action<DbAggregateQueryBuilder, T> | buildQuery | The aggregate query builder. |
Returns
Type | Description |
---|---|
DbQuery<T> | The created database query. |
Type Parameters
Name | Description |
---|---|
T | Type of the entity. |
CreateAggregateQuery<T>(Action<T>, Action<DbAggregateQueryBuilder, T>)
Creates aggregate database query.
Declaration
public DbQuery<T> CreateAggregateQuery<T>(Action<T> initializer, Action<DbAggregateQueryBuilder, T> buildQuery)
where T : class, IEntity, new()
Parameters
Type | Name | Description |
---|---|---|
System.Action<T> | initializer | The entity initializer. |
System.Action<DbAggregateQueryBuilder, T> | buildQuery | The aggregate query builder. |
Returns
Type | Description |
---|---|
DbQuery<T> | The created database query. |
Type Parameters
Name | Description |
---|---|
T | Type of the entity. |
CreateAggregateQuery<T>(T, Action<T>, Action<DbAggregateQueryBuilder, T>)
Creates aggregate database query for specified entity.
Declaration
public DbQuery<T> CreateAggregateQuery<T>(T _, Action<T> initializer, Action<DbAggregateQueryBuilder, T> buildQuery)
where T : class, IEntity, new()
Parameters
Type | Name | Description |
---|---|---|
T | _ | The specified entity. |
System.Action<T> | initializer | The entity initializer. |
System.Action<DbAggregateQueryBuilder, T> | buildQuery | The aggregate query builder. |
Returns
Type | Description |
---|---|
DbQuery<T> | The created database query. |
Type Parameters
Name | Description |
---|---|
T | Type of the entity. |