Condividi tramite


StoreObjectIdentifier.Create Metodo

Definizione

Overload

Create(IEntityType, StoreObjectType)

Crea un ID per l'oggetto store a cui viene eseguito il mapping del tipo di entità specificato a />.

Create(IReadOnlyEntityType, StoreObjectType)

Crea un ID per l'oggetto store a cui viene eseguito il mapping del tipo di entità specificato.

Create(IReadOnlyTypeBase, StoreObjectType)

Crea un ID per l'oggetto store a cui viene eseguito il mapping del tipo di entità specificato.

Create(IEntityType, StoreObjectType)

Crea un ID per l'oggetto store a cui viene eseguito il mapping del tipo di entità specificato a />.

public static Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier? Create (Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Metadata.StoreObjectType type);
static member Create : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Metadata.StoreObjectType -> Nullable<Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier>
Public Shared Function Create (entityType As IEntityType, type As StoreObjectType) As Nullable(Of StoreObjectIdentifier)

Parametri

entityType
IEntityType

Tipo di entità.

type
StoreObjectType

Tipo di oggetto store.

Restituisce

ID oggetto store.

Si applica a

Create(IReadOnlyEntityType, StoreObjectType)

Crea un ID per l'oggetto store a cui viene eseguito il mapping del tipo di entità specificato.

public static Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier? Create (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType entityType, Microsoft.EntityFrameworkCore.Metadata.StoreObjectType type);
static member Create : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType * Microsoft.EntityFrameworkCore.Metadata.StoreObjectType -> Nullable<Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier>
Public Shared Function Create (entityType As IReadOnlyEntityType, type As StoreObjectType) As Nullable(Of StoreObjectIdentifier)

Parametri

entityType
IReadOnlyEntityType

Tipo di entità.

type
StoreObjectType

Tipo di oggetto store.

Restituisce

ID oggetto store.

Si applica a

Create(IReadOnlyTypeBase, StoreObjectType)

Crea un ID per l'oggetto store a cui viene eseguito il mapping del tipo di entità specificato.

public static Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier? Create (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyTypeBase typeBase, Microsoft.EntityFrameworkCore.Metadata.StoreObjectType type);
static member Create : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyTypeBase * Microsoft.EntityFrameworkCore.Metadata.StoreObjectType -> Nullable<Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier>
Public Shared Function Create (typeBase As IReadOnlyTypeBase, type As StoreObjectType) As Nullable(Of StoreObjectIdentifier)

Parametri

typeBase
IReadOnlyTypeBase

Tipo di entità.

type
StoreObjectType

Tipo di oggetto store.

Restituisce

ID oggetto store.

Si applica a