Share via


QueryRootExpression Constructors

Definition

Overloads

QueryRootExpression(IEntityType)

Creates a new instance of the QueryRootExpression class without any query provider.

QueryRootExpression(Type)

Creates a new instance of the EntityQueryRootExpression class without any query provider.

QueryRootExpression(IAsyncQueryProvider, IEntityType)

Creates a new instance of the QueryRootExpression class with associated query provider.

QueryRootExpression(IAsyncQueryProvider, Type)

Creates a new instance of the QueryRootExpression class with associated query provider.

QueryRootExpression(IEntityType)

Source:
QueryRootExpression.cs
Source:
QueryRootExpression.cs

Creates a new instance of the QueryRootExpression class without any query provider.

public QueryRootExpression (Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
new Microsoft.EntityFrameworkCore.Query.QueryRootExpression : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Query.QueryRootExpression
Public Sub New (entityType As IEntityType)

Parameters

entityType
IEntityType

The entity type this query root represents.

Applies to

QueryRootExpression(Type)

Source:
QueryRootExpression.cs
Source:
QueryRootExpression.cs
Source:
QueryRootExpression.cs

Creates a new instance of the EntityQueryRootExpression class without any query provider.

protected QueryRootExpression (Type elementType);
new Microsoft.EntityFrameworkCore.Query.QueryRootExpression : Type -> Microsoft.EntityFrameworkCore.Query.QueryRootExpression
Protected Sub New (elementType As Type)

Parameters

elementType
Type

The element type this query root represents.

Applies to

QueryRootExpression(IAsyncQueryProvider, IEntityType)

Source:
QueryRootExpression.cs
Source:
QueryRootExpression.cs

Creates a new instance of the QueryRootExpression class with associated query provider.

public QueryRootExpression (Microsoft.EntityFrameworkCore.Query.IAsyncQueryProvider asyncQueryProvider, Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
new Microsoft.EntityFrameworkCore.Query.QueryRootExpression : Microsoft.EntityFrameworkCore.Query.IAsyncQueryProvider * Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Query.QueryRootExpression
Public Sub New (asyncQueryProvider As IAsyncQueryProvider, entityType As IEntityType)

Parameters

asyncQueryProvider
IAsyncQueryProvider

The query provider associated with this query root.

entityType
IEntityType

The entity type this query root represents.

Applies to

QueryRootExpression(IAsyncQueryProvider, Type)

Source:
QueryRootExpression.cs
Source:
QueryRootExpression.cs
Source:
QueryRootExpression.cs

Creates a new instance of the QueryRootExpression class with associated query provider.

protected QueryRootExpression (Microsoft.EntityFrameworkCore.Query.IAsyncQueryProvider asyncQueryProvider, Type elementType);
new Microsoft.EntityFrameworkCore.Query.QueryRootExpression : Microsoft.EntityFrameworkCore.Query.IAsyncQueryProvider * Type -> Microsoft.EntityFrameworkCore.Query.QueryRootExpression
Protected Sub New (asyncQueryProvider As IAsyncQueryProvider, elementType As Type)

Parameters

asyncQueryProvider
IAsyncQueryProvider

The query provider associated with this query root.

elementType
Type

The element type this query root represents.

Applies to