RelationalForeignKeyAnnotations Class
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.
Properties for relational-specific annotations accessed through Relational(IMutableForeignKey).
public class RelationalForeignKeyAnnotations : Microsoft.EntityFrameworkCore.Metadata.IRelationalForeignKeyAnnotations
type RelationalForeignKeyAnnotations = class
interface IRelationalForeignKeyAnnotations
Public Class RelationalForeignKeyAnnotations
Implements IRelationalForeignKeyAnnotations
- Inheritance
-
RelationalForeignKeyAnnotations
- Implements
Constructors
RelationalForeignKeyAnnotations(IForeignKey, RelationalFullAnnotationNames) | |
RelationalForeignKeyAnnotations(IForeignKey) |
Constructs an instance for annotations of the given IForeignKey. |
RelationalForeignKeyAnnotations(RelationalAnnotations, RelationalFullAnnotationNames) | |
RelationalForeignKeyAnnotations(RelationalAnnotations) |
Constructs an instance for annotations of the IForeignKey represented by the given annotation helper. |
Fields
DefaultForeignKeyNamePrefix | |
ProviderFullAnnotationNames |
Properties
Annotations |
The RelationalAnnotations helper representing the IForeignKey to annotate. |
ForeignKey |
The IForeignKey to annotate. |
Name |
The foreign key constraint name. |
Methods
GetAnnotations(IEntityType) | |
GetAnnotations(IForeignKey) | |
GetAnnotations(IProperty) | |
GetDefaultForeignKeyName(String, String, IEnumerable<String>) | |
GetDefaultName() | |
GetNameConfigurationSource() | |
SetName(String) |
Attempts to set the Name using the semantics of the RelationalAnnotations in use. |
Applies to
Entity Framework