StoreObjectIdentifier.SqlQuery 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
SqlQuery(IEntityType) |
Creates an id for the SQL query mapped using RelationalEntityTypeBuilderExtensions.ToSqlQuery. |
SqlQuery(IReadOnlyEntityType) |
Creates an id for the SQL query mapped using RelationalEntityTypeBuilderExtensions.ToSqlQuery. |
SqlQuery(String) |
Creates a SQL query id. |
SqlQuery(IEntityType)
- Source:
- StoreObjectIdentifier.cs
Creates an id for the SQL query mapped using RelationalEntityTypeBuilderExtensions.ToSqlQuery.
public static Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier SqlQuery (Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
static member SqlQuery : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier
Public Shared Function SqlQuery (entityType As IEntityType) As StoreObjectIdentifier
Parameters
- entityType
- IEntityType
The entity type.
Returns
The SQL query id.
Applies to
SqlQuery(IReadOnlyEntityType)
- Source:
- StoreObjectIdentifier.cs
- Source:
- StoreObjectIdentifier.cs
- Source:
- StoreObjectIdentifier.cs
- Source:
- StoreObjectIdentifier.cs
Creates an id for the SQL query mapped using RelationalEntityTypeBuilderExtensions.ToSqlQuery.
public static Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier SqlQuery (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType entityType);
static member SqlQuery : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier
Public Shared Function SqlQuery (entityType As IReadOnlyEntityType) As StoreObjectIdentifier
Parameters
- entityType
- IReadOnlyEntityType
The entity type.
Returns
The SQL query id.
Applies to
SqlQuery(String)
- Source:
- StoreObjectIdentifier.cs
- Source:
- StoreObjectIdentifier.cs
- Source:
- StoreObjectIdentifier.cs
- Source:
- StoreObjectIdentifier.cs
- Source:
- StoreObjectIdentifier.cs
Creates a SQL query id.
public static Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier SqlQuery (string name);
static member SqlQuery : string -> Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier
Public Shared Function SqlQuery (name As String) As StoreObjectIdentifier
Parameters
- name
- String
The SQL query name.
Returns
The SQL query id.
Applies to
Entity Framework