RelationalEntityTypeExtensions.GetFunctionName 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
GetFunctionName(IEntityType) |
Returns the name of the function to which the entity type is mapped or |
GetFunctionName(IReadOnlyEntityType) |
Returns the name of the function to which the entity type is mapped or |
GetFunctionName(IEntityType)
Returns the name of the function to which the entity type is mapped or null
if not mapped to a function.
public static string GetFunctionName (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
static member GetFunctionName : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> string
<Extension()>
Public Function GetFunctionName (entityType As IEntityType) As String
Parameters
- entityType
- IEntityType
The entity type to get the function name for.
Returns
The name of the function to which the entity type is mapped.
Applies to
GetFunctionName(IReadOnlyEntityType)
Returns the name of the function to which the entity type is mapped or null
if not mapped to a function.
public static string? GetFunctionName (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType entityType);
static member GetFunctionName : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> string
<Extension()>
Public Function GetFunctionName (entityType As IReadOnlyEntityType) As String
Parameters
- entityType
- IReadOnlyEntityType
The entity type to get the function name for.
Returns
The name of the function to which the entity type is mapped.
Applies to
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för