MemberIdentity.Create Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Create(String) |
Creates a new MemberIdentity from the given member name. |
Create(MemberInfo) |
Creates a new MemberIdentity from the given MemberInfo. |
Create(String)
- Source:
- MemberIdentity.cs
- Source:
- MemberIdentity.cs
- Source:
- MemberIdentity.cs
- Source:
- MemberIdentity.cs
- Source:
- MemberIdentity.cs
- Source:
- MemberIdentity.cs
- Source:
- MemberIdentity.cs
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)
- Source:
- MemberIdentity.cs
- Source:
- MemberIdentity.cs
- Source:
- MemberIdentity.cs
- Source:
- MemberIdentity.cs
- Source:
- MemberIdentity.cs
- Source:
- MemberIdentity.cs
- Source:
- MemberIdentity.cs
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework