ForeignKeyAssociationMultiplicityConvention 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.
Convention to distinguish between optional and required relationships based on CLR nullability of the foreign key property.
public class ForeignKeyAssociationMultiplicityConvention : System.Data.Entity.ModelConfiguration.Conventions.IConceptualModelConvention<System.Data.Entity.Core.Metadata.Edm.AssociationType>
type ForeignKeyAssociationMultiplicityConvention = class
interface IConceptualModelConvention<AssociationType>
interface IConvention
Public Class ForeignKeyAssociationMultiplicityConvention
Implements IConceptualModelConvention(Of AssociationType)
- Inheritance
-
ForeignKeyAssociationMultiplicityConvention
- Implements
Constructors
ForeignKeyAssociationMultiplicityConvention() |
Methods
Apply(AssociationType, DbModel) |
Applies this convention to an item in the model. |
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework