/// <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 EntityTypeSnapshot( [CanBeNull] List <Tuple <string, ConfigurationSource> > ignoredMembers, [CanBeNull] IReadOnlyCollection <object> seedData, [CanBeNull] PropertiesSnapshot properties, [CanBeNull] List <Tuple <InternalIndexBuilder, ConfigurationSource> > indexes, [CanBeNull] List <Tuple <InternalKeyBuilder, ConfigurationSource?, ConfigurationSource> > keys, [CanBeNull] List <Tuple <InternalRelationshipBuilder, EntityTypeSnapshot, ConfigurationSource> > relationships) { IgnoredMembers = ignoredMembers; SeedData = seedData; Properties = properties ?? new PropertiesSnapshot(null, null, null, null); if (indexes != null) { Properties.Add(indexes); } if (keys != null) { Properties.Add(keys); } if (relationships != null) { Properties.Add(relationships); } }
/// <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 EntityTypeSnapshot( [CanBeNull] EntityType entityType, [CanBeNull] PropertiesSnapshot properties, [CanBeNull] List <InternalIndexBuilder> indexes, [CanBeNull] List <(InternalKeyBuilder, ConfigurationSource?)> keys,