共用方式為


StoreObjectIdentifier.Create 方法

定義

多載

Create(IEntityType, StoreObjectType)

為指定的實體類型對應至 / > 的存放區物件建立識別碼。

Create(IReadOnlyEntityType, StoreObjectType)

為指定實體類型對應的存放區物件建立識別碼。

Create(IReadOnlyTypeBase, StoreObjectType)

為指定實體類型對應的存放區物件建立識別碼。

Create(IEntityType, StoreObjectType)

為指定的實體類型對應至 / > 的存放區物件建立識別碼。

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)

參數

entityType
IEntityType

實體類型。

type
StoreObjectType

存放區物件類型。

傳回

存放區物件識別碼。

適用於

Create(IReadOnlyEntityType, StoreObjectType)

為指定實體類型對應的存放區物件建立識別碼。

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)

參數

entityType
IReadOnlyEntityType

實體類型。

type
StoreObjectType

存放區物件類型。

傳回

存放區物件識別碼。

適用於

Create(IReadOnlyTypeBase, StoreObjectType)

為指定實體類型對應的存放區物件建立識別碼。

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)

參數

typeBase
IReadOnlyTypeBase

實體類型。

type
StoreObjectType

存放區物件類型。

傳回

存放區物件識別碼。

適用於