StoreObjectIdentifier.Create Method

Definition

Overloads

Create(IEntityType, StoreObjectType)

Creates an id for the store object that the given entity type is mapped to />.

Create(IReadOnlyEntityType, StoreObjectType)

Creates an id for the store object that the given entity type is mapped to.

Create(IReadOnlyTypeBase, StoreObjectType)

Creates an id for the store object that the given entity type is mapped to.

Create(IEntityType, StoreObjectType)

Creates an id for the store object that the given entity type is mapped to />.

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)

Parameters

entityType
IEntityType

The entity type.

type
StoreObjectType

The store object type.

Returns

The store object id.

Applies to

Create(IReadOnlyEntityType, StoreObjectType)

Creates an id for the store object that the given entity type is mapped to.

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)

Parameters

entityType
IReadOnlyEntityType

The entity type.

type
StoreObjectType

The store object type.

Returns

The store object id.

Applies to

Create(IReadOnlyTypeBase, StoreObjectType)

Creates an id for the store object that the given entity type is mapped to.

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)

Parameters

typeBase
IReadOnlyTypeBase

The entity type.

type
StoreObjectType

The store object type.

Returns

The store object id.

Applies to