NavigationExpansionExtensibilityHelper.CreateQueryRoot Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CreateQueryRoot(IEntityType, EntityQueryRootExpression) |
Creates a new EntityQueryRootExpression. |
CreateQueryRoot(IEntityType, QueryRootExpression) |
Creates a new QueryRootExpression. |
CreateQueryRoot(IEntityType, EntityQueryRootExpression)
Creates a new EntityQueryRootExpression.
public virtual Microsoft.EntityFrameworkCore.Query.EntityQueryRootExpression CreateQueryRoot (Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Query.EntityQueryRootExpression? source);
abstract member CreateQueryRoot : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Query.EntityQueryRootExpression -> Microsoft.EntityFrameworkCore.Query.EntityQueryRootExpression
override this.CreateQueryRoot : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Query.EntityQueryRootExpression -> Microsoft.EntityFrameworkCore.Query.EntityQueryRootExpression
Public Overridable Function CreateQueryRoot (entityType As IEntityType, source As EntityQueryRootExpression) As EntityQueryRootExpression
Parameters
- entityType
- IEntityType
Entity type of the new EntityQueryRootExpression.
- source
- EntityQueryRootExpression
Source expression.
Returns
Implements
Applies to
CreateQueryRoot(IEntityType, QueryRootExpression)
Creates a new QueryRootExpression.
public virtual Microsoft.EntityFrameworkCore.Query.QueryRootExpression CreateQueryRoot (Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Query.QueryRootExpression? source);
abstract member CreateQueryRoot : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Query.QueryRootExpression -> Microsoft.EntityFrameworkCore.Query.QueryRootExpression
override this.CreateQueryRoot : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Query.QueryRootExpression -> Microsoft.EntityFrameworkCore.Query.QueryRootExpression
Public Overridable Function CreateQueryRoot (entityType As IEntityType, source As QueryRootExpression) As QueryRootExpression
Parameters
- entityType
- IEntityType
Entity type of the new QueryRootExpression.
- source
- QueryRootExpression
Source expression.
Returns
Implements
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework