예제 #1
0
 public override void Run(ConventionDispatcher dispatcher)
 => dispatcher._immediateConventionScope.OnSkipNavigationInverseChanged(NavigationBuilder, Inverse, OldInverse);
예제 #2
0
 public override void Run(ConventionDispatcher dispatcher)
 => dispatcher._immediateConventionScope.OnNavigationRemoved(
     SourceEntityTypeBuilder, TargetEntityTypeBuilder, NavigationName, MemberInfo);
예제 #3
0
 public override void Run(ConventionDispatcher dispatcher)
 => dispatcher._immediateConventionScope.OnSkipNavigationAnnotationChanged(
     NavigationBuilder, Name, Annotation, OldAnnotation);
예제 #4
0
 public override void Run(ConventionDispatcher dispatcher)
 => dispatcher._immediateConventionScope.OnForeignKeyAnnotationChanged(
     RelationshipBuilder, Name, Annotation, OldAnnotation);
예제 #5
0
 public override void Run(ConventionDispatcher dispatcher)
 => dispatcher._immediateConventionScope.OnForeignKeyDependentRequirednessChanged(RelationshipBuilder);
예제 #6
0
 public override void Run(ConventionDispatcher dispatcher)
 => dispatcher._immediateConventionScope.OnEntityTypeMemberIgnored(EntityTypeBuilder, Name);
예제 #7
0
 public override void Run(ConventionDispatcher dispatcher)
 => dispatcher._immediateConventionScope.OnEntityTypeAnnotationChanged(
     EntityTypeBuilder, Name, Annotation, OldAnnotation);
예제 #8
0
 /// <summary>
 ///     This is an internal API that supports the Entity Framework Core infrastructure and not subject to
 ///     the same compatibility standards as public APIs. It may be changed or removed without notice in
 ///     any release. You should only use it directly in your code with extreme caution and knowing that
 ///     doing so can result in application failures when updating to a new Entity Framework Core release.
 /// </summary>
 public ConventionContext([NotNull] ConventionDispatcher dispatcher)
 {
     _dispatcher = dispatcher;
 }
 public RunVisitor(ConventionDispatcher dispatcher)
 {
     Dispatcher = dispatcher;
 }
예제 #10
0
 public override void Run(ConventionDispatcher dispatcher)
 => dispatcher._immediateConventionScope.OnEntityTypePrimaryKeyChanged(
     EntityTypeBuilder, NewPrimaryKey, PreviousPrimaryKey);
예제 #11
0
 public override void Run(ConventionDispatcher dispatcher)
 => dispatcher._immediateConventionScope.OnIndexAdded(IndexBuilder);
예제 #12
0
 public override void Run(ConventionDispatcher dispatcher)
 => dispatcher._immediateConventionScope.OnNavigationAdded(RelationshipBuilder, Navigation);
예제 #13
0
 /// <summary>
 ///     This API supports the Entity Framework Core infrastructure and is not intended to be used 
 ///     directly from your code. This API may change or be removed in future releases.
 /// </summary>
 public Model([NotNull] ConventionSet conventions)
 {
     ConventionDispatcher = new ConventionDispatcher(conventions);
     Builder = new InternalModelBuilder(this);
     ConventionDispatcher.OnModelInitialized(Builder);
 }
예제 #14
0
 public override void Run(ConventionDispatcher dispatcher)
 => dispatcher._immediateConventionScope.OnSkipNavigationRemoved(EntityTypeBuilder, Navigation);
예제 #15
0
 public override void Run(ConventionDispatcher dispatcher)
 => dispatcher._immediateConventionScope.OnEntityTypeAdded(EntityTypeBuilder);
예제 #16
0
 public override void Run(ConventionDispatcher dispatcher)
 => dispatcher._immediateConventionScope.OnIndexRemoved(EntityTypeBuilder, Index);
예제 #17
0
 public override void Run(ConventionDispatcher dispatcher)
 => dispatcher._immediateConventionScope.OnEntityTypeRemoved(ModelBuilder, EntityType);
예제 #18
0
 public override void Run(ConventionDispatcher dispatcher)
 => dispatcher._immediateConventionScope.OnIndexUniquenessChanged(IndexBuilder);
예제 #19
0
 public override void Run(ConventionDispatcher dispatcher)
 => dispatcher._immediateConventionScope.OnEntityTypeBaseTypeChanged(
     EntityTypeBuilder, NewBaseType, PreviousBaseType);
예제 #20
0
 public override void Run(ConventionDispatcher dispatcher)
 => dispatcher._immediateConventionScope.OnPropertyAdded(PropertyBuilder);
예제 #21
0
 public override void Run(ConventionDispatcher dispatcher)
 => dispatcher._immediateConventionScope.OnForeignKeyRemoved(EntityTypeBuilder, ForeignKey);
예제 #22
0
 public override void Run(ConventionDispatcher dispatcher)
 => dispatcher._immediateConventionScope.OnPropertyNullabilityChanged(PropertyBuilder);
예제 #23
0
 public override void Run(ConventionDispatcher dispatcher)
 => dispatcher._immediateConventionScope.OnForeignKeyPropertiesChanged(
     RelationshipBuilder, OldDependentProperties, OldPrincipalKey);
예제 #24
0
 public override void Run(ConventionDispatcher dispatcher)
 => dispatcher._immediateConventionScope.OnPropertyFieldChanged(PropertyBuilder, NewFieldInfo, OldFieldInfo);
예제 #25
0
 public override void Run(ConventionDispatcher dispatcher)
 => dispatcher._immediateConventionScope.OnForeignKeyPrincipalEndChanged(RelationshipBuilder);
예제 #26
0
 public override void Run(ConventionDispatcher dispatcher)
 => dispatcher._immediateConventionScope.OnPropertyAnnotationChanged(
     PropertyBuilder, Name, Annotation, OldAnnotation);
예제 #27
0
 public override void Run(ConventionDispatcher dispatcher)
 => dispatcher._immediateConventionScope.OnSkipNavigationAdded(NavigationBuilder);
예제 #28
0
 public override void Run(ConventionDispatcher dispatcher)
 => dispatcher._immediateConventionScope.OnPropertyRemoved(EntityTypeBuilder, Property);
예제 #29
0
 public override void Run(ConventionDispatcher dispatcher)
 => dispatcher._immediateConventionScope.OnSkipNavigationForeignKeyChanged(NavigationBuilder, ForeignKey, OldForeignKey);
 public override void Run(ConventionDispatcher dispatcher)
 => throw new NotImplementedException("Immediate convention scope cannot be run again");