OneToOneConstraintIntroductionConvention 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 configure the primary key(s) of the dependent entity type as foreign key(s) in a one:one relationship.
public class OneToOneConstraintIntroductionConvention : System.Data.Entity.ModelConfiguration.Conventions.IConceptualModelConvention<System.Data.Entity.Core.Metadata.Edm.AssociationType>
type OneToOneConstraintIntroductionConvention = class
interface IConceptualModelConvention<AssociationType>
interface IConvention
Public Class OneToOneConstraintIntroductionConvention
Implements IConceptualModelConvention(Of AssociationType)
- Inheritance
-
OneToOneConstraintIntroductionConvention
- Implements
Constructors
OneToOneConstraintIntroductionConvention() |
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