public static void SetAssociationType( this ForeignKeyBuilder fk, AssociationType associationType) { DebugCheck.NotNull(fk); DebugCheck.NotNull(associationType); fk.GetMetadataProperties().SetAnnotation(AssociationType, associationType); }
public static void SetIsSplitConstraint(this ForeignKeyBuilder fk) { DebugCheck.NotNull(fk); fk.GetMetadataProperties().SetAnnotation(IsSplitConstraint, true); }
public static void SetPreferredName(this ForeignKeyBuilder fk, string name) { DebugCheck.NotNull(fk); fk.GetMetadataProperties().SetAnnotation(PreferredNameAnnotation, name); }
public static void SetAssociationType( this ForeignKeyBuilder fk, System.Data.Entity.Core.Metadata.Edm.AssociationType associationType) { fk.GetMetadataProperties().SetAnnotation("AssociationType", (object)associationType); }
public static void SetIsSplitConstraint(this ForeignKeyBuilder fk) { fk.GetMetadataProperties().SetAnnotation("IsSplitConstraint", (object)true); }
public static void SetPreferredName(this ForeignKeyBuilder fk, string name) { fk.GetMetadataProperties().SetAnnotation("PreferredName", (object)name); }