MemberIdentity.Create 方法

定义

重载

Create(String)

根据给定的成员名称新建一个 MemberIdentity

Create(MemberInfo)

从给定的 MemberInfo 创建新的 MemberIdentity

Create(String)

Source:
MemberIdentity.cs
Source:
MemberIdentity.cs
Source:
MemberIdentity.cs
Source:
MemberIdentity.cs
Source:
MemberIdentity.cs
Source:
MemberIdentity.cs
Source:
MemberIdentity.cs

根据给定的成员名称新建一个 MemberIdentity

[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

参数

name
String

成员名称。

返回

新创建的标识,如果给定的名称为 ,则为 Nonenull

属性

适用于

Create(MemberInfo)

Source:
MemberIdentity.cs
Source:
MemberIdentity.cs
Source:
MemberIdentity.cs
Source:
MemberIdentity.cs
Source:
MemberIdentity.cs
Source:
MemberIdentity.cs
Source:
MemberIdentity.cs

从给定的 MemberInfo 创建新的 MemberIdentity

[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

参数

membermemberInfo
MemberInfo

返回

新创建的标识,如果给定的名称为 ,则为 Nonenull

属性

适用于