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
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