StoreObjectIdentifier.SqlQuery Method

Definition

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)

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)

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)

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