Share via


MemberIdentity.Create Method

Definition

Overloads

Create(String)

Creates a new MemberIdentity from the given member name.

Create(MemberInfo)

Creates a new MemberIdentity from the given MemberInfo.

Create(String)

Creates a new MemberIdentity from the given member name.

[System.Diagnostics.DebuggerStepThrough]
public static Microsoft.EntityFrameworkCore.Metadata.MemberIdentity Create (string name);
[System.Diagnostics.DebuggerStepThrough]
public static Microsoft.EntityFrameworkCore.Metadata.MemberIdentity Create (string? name);
[<System.Diagnostics.DebuggerStepThrough>]
static member Create : string -> Microsoft.EntityFrameworkCore.Metadata.MemberIdentity
Public Shared Function Create (name As String) As MemberIdentity

Parameters

name
String

The member name.

Returns

The newly created identity, or None if the given name is null.

Attributes

Applies to

Create(MemberInfo)

Creates a new MemberIdentity from the given MemberInfo.

[System.Diagnostics.DebuggerStepThrough]
public static Microsoft.EntityFrameworkCore.Metadata.MemberIdentity Create (System.Reflection.MemberInfo member);
[System.Diagnostics.DebuggerStepThrough]
public static Microsoft.EntityFrameworkCore.Metadata.MemberIdentity Create (System.Reflection.MemberInfo memberInfo);
[System.Diagnostics.DebuggerStepThrough]
public static Microsoft.EntityFrameworkCore.Metadata.MemberIdentity Create (System.Reflection.MemberInfo? memberInfo);
[<System.Diagnostics.DebuggerStepThrough>]
static member Create : System.Reflection.MemberInfo -> Microsoft.EntityFrameworkCore.Metadata.MemberIdentity
Public Shared Function Create (member As MemberInfo) As MemberIdentity
Public Shared Function Create (memberInfo As MemberInfo) As MemberIdentity

Parameters

membermemberInfo
MemberInfo

Returns

The newly created identity, or None if the given name is null.

Attributes

Applies to