@tsonic/efcore 10.0.1 → 10.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/Microsoft.EntityFrameworkCore/bindings.json +2247 -5
  2. package/Microsoft.EntityFrameworkCore/internal/index.d.ts +30 -5
  3. package/Microsoft.EntityFrameworkCore.ChangeTracking/bindings.json +1707 -6
  4. package/Microsoft.EntityFrameworkCore.ChangeTracking/internal/index.d.ts +74 -14
  5. package/Microsoft.EntityFrameworkCore.ChangeTracking.Internal/bindings.json +4784 -172
  6. package/Microsoft.EntityFrameworkCore.ChangeTracking.Internal/internal/index.d.ts +210 -25
  7. package/Microsoft.EntityFrameworkCore.ChangeTracking.Internal.d.ts +1 -1
  8. package/Microsoft.EntityFrameworkCore.ChangeTracking.d.ts +3 -3
  9. package/Microsoft.EntityFrameworkCore.Design/bindings.json +1175 -171
  10. package/Microsoft.EntityFrameworkCore.Design/internal/index.d.ts +52 -3
  11. package/Microsoft.EntityFrameworkCore.Design.Internal/bindings.json +306 -2
  12. package/Microsoft.EntityFrameworkCore.Design.Internal/internal/index.d.ts +15 -2
  13. package/Microsoft.EntityFrameworkCore.Diagnostics/bindings.json +2919 -10
  14. package/Microsoft.EntityFrameworkCore.Diagnostics/internal/index.d.ts +28 -3
  15. package/Microsoft.EntityFrameworkCore.Diagnostics.Internal/bindings.json +1027 -77
  16. package/Microsoft.EntityFrameworkCore.Diagnostics.Internal/internal/index.d.ts +53 -17
  17. package/Microsoft.EntityFrameworkCore.Infrastructure/bindings.json +4386 -655
  18. package/Microsoft.EntityFrameworkCore.Infrastructure/internal/index.d.ts +229 -23
  19. package/Microsoft.EntityFrameworkCore.Infrastructure.Internal/bindings.json +251 -7
  20. package/Microsoft.EntityFrameworkCore.Infrastructure.Internal/internal/index.d.ts +11 -4
  21. package/Microsoft.EntityFrameworkCore.Infrastructure.d.ts +3 -2
  22. package/Microsoft.EntityFrameworkCore.Internal/bindings.json +754 -2
  23. package/Microsoft.EntityFrameworkCore.Internal/internal/index.d.ts +1 -1
  24. package/Microsoft.EntityFrameworkCore.Metadata/bindings.json +8776 -125
  25. package/Microsoft.EntityFrameworkCore.Metadata/internal/index.d.ts +174 -27
  26. package/Microsoft.EntityFrameworkCore.Metadata.Builders/bindings.json +5621 -147
  27. package/Microsoft.EntityFrameworkCore.Metadata.Builders/internal/index.d.ts +255 -33
  28. package/Microsoft.EntityFrameworkCore.Metadata.Builders.d.ts +1 -1
  29. package/Microsoft.EntityFrameworkCore.Metadata.Conventions/bindings.json +8740 -1109
  30. package/Microsoft.EntityFrameworkCore.Metadata.Conventions/internal/index.d.ts +604 -79
  31. package/Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure/bindings.json +152 -3
  32. package/Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure/internal/index.d.ts +15 -2
  33. package/Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.d.ts +1 -0
  34. package/Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal/bindings.json +144 -0
  35. package/Microsoft.EntityFrameworkCore.Metadata.Conventions.d.ts +7 -5
  36. package/Microsoft.EntityFrameworkCore.Metadata.Internal/bindings.json +16619 -30
  37. package/Microsoft.EntityFrameworkCore.Metadata.Internal/internal/index.d.ts +673 -91
  38. package/Microsoft.EntityFrameworkCore.Migrations/bindings.json +2197 -67
  39. package/Microsoft.EntityFrameworkCore.Migrations/internal/index.d.ts +119 -11
  40. package/Microsoft.EntityFrameworkCore.Migrations.Internal/bindings.json +1304 -119
  41. package/Microsoft.EntityFrameworkCore.Migrations.Internal/internal/index.d.ts +70 -5
  42. package/Microsoft.EntityFrameworkCore.Migrations.Internal.d.ts +3 -3
  43. package/Microsoft.EntityFrameworkCore.Migrations.Operations/bindings.json +4318 -46
  44. package/Microsoft.EntityFrameworkCore.Migrations.Operations/internal/index.d.ts +293 -36
  45. package/Microsoft.EntityFrameworkCore.Migrations.Operations.Builders/bindings.json +102 -0
  46. package/Microsoft.EntityFrameworkCore.Migrations.Operations.Builders/internal/index.d.ts +6 -1
  47. package/Microsoft.EntityFrameworkCore.Migrations.d.ts +5 -4
  48. package/Microsoft.EntityFrameworkCore.Query/bindings.json +17431 -7313
  49. package/Microsoft.EntityFrameworkCore.Query/internal/index.d.ts +721 -85
  50. package/Microsoft.EntityFrameworkCore.Query.Internal/bindings.json +3807 -228
  51. package/Microsoft.EntityFrameworkCore.Query.Internal/internal/index.d.ts +299 -49
  52. package/Microsoft.EntityFrameworkCore.Query.Internal.d.ts +3 -3
  53. package/Microsoft.EntityFrameworkCore.Query.SqlExpressions/bindings.json +3589 -953
  54. package/Microsoft.EntityFrameworkCore.Query.SqlExpressions/internal/index.d.ts +327 -127
  55. package/Microsoft.EntityFrameworkCore.Query.d.ts +6 -5
  56. package/Microsoft.EntityFrameworkCore.Scaffolding/bindings.json +125 -3
  57. package/Microsoft.EntityFrameworkCore.Scaffolding/internal/index.d.ts +8 -1
  58. package/Microsoft.EntityFrameworkCore.Scaffolding.Metadata/bindings.json +1160 -9
  59. package/Microsoft.EntityFrameworkCore.Scaffolding.Metadata/internal/index.d.ts +80 -10
  60. package/Microsoft.EntityFrameworkCore.Storage/bindings.json +5813 -272
  61. package/Microsoft.EntityFrameworkCore.Storage/internal/index.d.ts +432 -55
  62. package/Microsoft.EntityFrameworkCore.Storage.Internal/bindings.json +534 -6
  63. package/Microsoft.EntityFrameworkCore.Storage.Internal/internal/index.d.ts +50 -7
  64. package/Microsoft.EntityFrameworkCore.Storage.Internal.d.ts +2 -1
  65. package/Microsoft.EntityFrameworkCore.Storage.Json/bindings.json +570 -2
  66. package/Microsoft.EntityFrameworkCore.Storage.Json/internal/index.d.ts +7 -1
  67. package/Microsoft.EntityFrameworkCore.Storage.ValueConversion/bindings.json +652 -2
  68. package/Microsoft.EntityFrameworkCore.Storage.ValueConversion/internal/index.d.ts +9 -1
  69. package/Microsoft.EntityFrameworkCore.Storage.ValueConversion.Internal/bindings.json +663 -16
  70. package/Microsoft.EntityFrameworkCore.Storage.ValueConversion.Internal/internal/index.d.ts +28 -1
  71. package/Microsoft.EntityFrameworkCore.Storage.ValueConversion.Internal.d.ts +1 -1
  72. package/Microsoft.EntityFrameworkCore.Storage.d.ts +4 -4
  73. package/Microsoft.EntityFrameworkCore.Update/bindings.json +2027 -340
  74. package/Microsoft.EntityFrameworkCore.Update/internal/index.d.ts +89 -8
  75. package/Microsoft.EntityFrameworkCore.Update.Internal/bindings.json +1074 -6
  76. package/Microsoft.EntityFrameworkCore.Update.Internal/internal/index.d.ts +44 -8
  77. package/Microsoft.EntityFrameworkCore.Update.Internal.d.ts +1 -1
  78. package/Microsoft.EntityFrameworkCore.Update.d.ts +2 -2
  79. package/Microsoft.EntityFrameworkCore.ValueGeneration/bindings.json +479 -5
  80. package/Microsoft.EntityFrameworkCore.ValueGeneration/internal/index.d.ts +46 -7
  81. package/Microsoft.EntityFrameworkCore.ValueGeneration.Internal/bindings.json +262 -2
  82. package/Microsoft.EntityFrameworkCore.ValueGeneration.Internal/internal/index.d.ts +13 -2
  83. package/Microsoft.EntityFrameworkCore.ValueGeneration.d.ts +1 -1
  84. package/Microsoft.EntityFrameworkCore.d.ts +2 -1
  85. package/Microsoft.Extensions.DependencyInjection/bindings.json +15 -0
  86. package/System.Transactions/bindings.json +6 -0
  87. package/package.json +1 -1
@@ -13,9 +13,10 @@ import type { IDbContextLogger, IDiagnosticsLogger_1, IInterceptor, ISingletonIn
13
13
  import type { IDbContextPool_1 } from "../../Microsoft.EntityFrameworkCore.Internal/internal/index.js";
14
14
  import * as Microsoft_EntityFrameworkCore_Metadata_Builders_Internal from "../../Microsoft.EntityFrameworkCore.Metadata.Builders/internal/index.js";
15
15
  import type { IConventionAnnotatableBuilder, IConventionModelBuilder } from "../../Microsoft.EntityFrameworkCore.Metadata.Builders/internal/index.js";
16
+ import type { IConventionSetBuilder } from "../../Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure/internal/index.js";
16
17
  import type { ConventionAnnotation, IMemberClassifier } from "../../Microsoft.EntityFrameworkCore.Metadata.Internal/internal/index.js";
17
18
  import * as Microsoft_EntityFrameworkCore_Metadata_Internal from "../../Microsoft.EntityFrameworkCore.Metadata/internal/index.js";
18
- import type { ConfigurationSource, IClrPropertySetter, IConstructorBindingFactory, IConventionAnnotatable, IConventionAnnotation, IModel, IMutableAnnotatable, IParameterBindingFactories, IProperty, IPropertyBase, IReadOnlyProperty, IRelationalAnnotationProvider, MemberIdentity, StoreObjectIdentifier } from "../../Microsoft.EntityFrameworkCore.Metadata/internal/index.js";
19
+ import type { ConfigurationSource, ICheckConstraint, IClrPropertySetter, IComplexType, IConstructorBindingFactory, IConventionAnnotatable, IConventionAnnotation, IConventionComplexProperty, IConventionModel, IConventionProperty, IConventionTypeBase, IEntityType, IForeignKey, IIndex, IKey, IModel, IMutableAnnotatable, IParameterBindingFactories, IProperty, IPropertyBase, IReadOnlyProperty, IRelationalAnnotationProvider, ITrigger, MemberIdentity, StoreObjectIdentifier } from "../../Microsoft.EntityFrameworkCore.Metadata/internal/index.js";
19
20
  import type { IValueConverterSelector } from "../../Microsoft.EntityFrameworkCore.Storage.ValueConversion/internal/index.js";
20
21
  import * as Microsoft_EntityFrameworkCore_Storage_Internal from "../../Microsoft.EntityFrameworkCore.Storage/internal/index.js";
21
22
  import type { ExecutionStrategyDependencies, IDatabaseFacadeDependencies, IDatabaseFacadeDependenciesAccessor, IDbContextTransaction, IExecutionStrategy, IRelationalTypeMappingSource, ITypeMappingSource } from "../../Microsoft.EntityFrameworkCore.Storage/internal/index.js";
@@ -25,7 +26,7 @@ import type { AutoTransactionBehavior, DbContext, DbContextOptions_1, DbContextO
25
26
  import type { IDictionary, IEnumerable, IReadOnlyDictionary, IReadOnlyList, ISet } from "@tsonic/dotnet/System.Collections.Generic.js";
26
27
  import type { DbConnection } from "@tsonic/dotnet/System.Data.Common.js";
27
28
  import * as System_Diagnostics_Tracing_Internal from "@tsonic/dotnet/System.Diagnostics.Tracing.js";
28
- import type { EventSource } from "@tsonic/dotnet/System.Diagnostics.Tracing.js";
29
+ import type { EventCommandEventArgs, EventSource } from "@tsonic/dotnet/System.Diagnostics.Tracing.js";
29
30
  import * as System_Internal from "@tsonic/dotnet/System.js";
30
31
  import type { Action, Attribute, Boolean as ClrBoolean, Char, Enum, FormattableString, Func, IComparable, IConvertible, IDisposable, IEquatable, IFormattable, Int32, IServiceProvider, ISpanFormattable, Nullable, Object as ClrObject, String as ClrString, TimeSpan, Type, ValueTuple, ValueType, Void } from "@tsonic/dotnet/System.js";
31
32
  import type { Expression, LambdaExpression, MemberExpression, MethodCallExpression } from "@tsonic/dotnet/System.Linq.Expressions.js";
@@ -268,7 +269,16 @@ export const ServiceCharacteristics: {
268
269
 
269
270
  export type ServiceCharacteristics = ServiceCharacteristics$instance;
270
271
 
271
- export interface Annotatable$instance extends AnnotatableBase$instance {
272
+ export abstract class Annotatable$protected {
273
+ protected AddAnnotation2(name: string, annotation: Annotation): Annotation;
274
+ protected AddRuntimeAnnotation2(name: string, annotation: Annotation): Annotation;
275
+ protected EnsureMutable(): void;
276
+ protected EnsureReadOnly(): void;
277
+ protected SetAnnotation2(name: string, annotation: Annotation, oldAnnotation: Annotation): Annotation | undefined;
278
+ }
279
+
280
+
281
+ export interface Annotatable$instance extends Annotatable$protected, AnnotatableBase$instance {
272
282
  AddAnnotation(name: string, value: unknown): Annotation;
273
283
  AddAnnotations(annotations: IEnumerable<IAnnotation>): void;
274
284
  AddAnnotations(annotations: IReadOnlyDictionary<System_Internal.String, unknown>): void;
@@ -302,7 +312,20 @@ export interface __Annotatable$views {
302
312
  export type Annotatable = Annotatable$instance & __Annotatable$views;
303
313
 
304
314
 
305
- export interface AnnotatableBase$instance {
315
+ export abstract class AnnotatableBase$protected {
316
+ protected AddAnnotation(name: string, annotation: Annotation): Annotation;
317
+ protected AddRuntimeAnnotation(name: string, annotation: Annotation): Annotation;
318
+ protected CreateAnnotation(name: string, value: unknown): Annotation;
319
+ protected CreateRuntimeAnnotation(name: string, value: unknown): Annotation;
320
+ protected EnsureMutable(): void;
321
+ protected EnsureReadOnly(): void;
322
+ protected OnAnnotationSet(name: string, annotation: Annotation, oldAnnotation: Annotation): Annotation | undefined;
323
+ protected SetAnnotation(name: string, annotation: Annotation, oldAnnotation: Annotation): Annotation | undefined;
324
+ protected SetRuntimeAnnotation(name: string, annotation: Annotation, oldAnnotation: Annotation): Annotation;
325
+ }
326
+
327
+
328
+ export interface AnnotatableBase$instance extends AnnotatableBase$protected {
306
329
  readonly IsReadOnly: boolean;
307
330
  get Item(): unknown | undefined;
308
331
  set Item(value: unknown);
@@ -339,7 +362,7 @@ export type AnnotatableBase = AnnotatableBase$instance & __AnnotatableBase$views
339
362
 
340
363
 
341
364
  export interface AnnotatableBuilder_2$instance<TMetadata extends ConventionAnnotatable, TModelBuilder extends IConventionModelBuilder> {
342
- readonly Metadata: EntityType | TMetadata;
365
+ readonly Metadata: ComplexType | TMetadata;
343
366
  readonly ModelBuilder: InternalModelBuilder | TModelBuilder;
344
367
  CanRemoveAnnotation(name: string, configurationSource: ConfigurationSource): boolean;
345
368
  CanSetAnnotation(name: string, value: unknown, configurationSource: ConfigurationSource): boolean;
@@ -353,6 +376,7 @@ export interface AnnotatableBuilder_2$instance<TMetadata extends ConventionAnnot
353
376
 
354
377
 
355
378
  export const AnnotatableBuilder_2: {
379
+ new<TMetadata extends ConventionAnnotatable, TModelBuilder extends IConventionModelBuilder>(metadata: TMetadata, modelBuilder: TModelBuilder): AnnotatableBuilder_2<TMetadata, TModelBuilder>;
356
380
  };
357
381
 
358
382
 
@@ -383,7 +407,17 @@ export interface Annotation$instance extends IAnnotation$instance {}
383
407
  export type Annotation = Annotation$instance & __Annotation$views;
384
408
 
385
409
 
386
- export interface ConventionAnnotatable$instance extends Annotatable$instance {
410
+ export abstract class ConventionAnnotatable$protected {
411
+ protected AddAnnotation5(name: string, annotation: Annotation): Annotation;
412
+ protected AddRuntimeAnnotation5(name: string, annotation: Annotation): Annotation;
413
+ protected CreateAnnotation(name: string, value: unknown): Annotation;
414
+ protected OnAnnotationSet(name: string, annotation: Annotation, oldAnnotation: Annotation): Annotation | undefined;
415
+ protected OnAnnotationSet(name: string, annotation: IConventionAnnotation, oldAnnotation: IConventionAnnotation): IConventionAnnotation | undefined;
416
+ protected SetAnnotation(name: string, annotation: Annotation, oldAnnotation: Annotation): Annotation | undefined;
417
+ }
418
+
419
+
420
+ export interface ConventionAnnotatable$instance extends ConventionAnnotatable$protected, Annotatable$instance {
387
421
  AddAnnotation(name: string, value: unknown): IAnnotation;
388
422
  AddAnnotation(name: string, value: unknown): Annotation;
389
423
  AddAnnotations(annotations: IEnumerable<IAnnotation>): void;
@@ -401,12 +435,13 @@ export interface ConventionAnnotatable$instance extends Annotatable$instance {
401
435
  GetRuntimeAnnotations(): IEnumerable<IAnnotation>;
402
436
  RemoveAnnotation(name: string): IAnnotation | undefined;
403
437
  RemoveAnnotation(name: string): Annotation | undefined;
404
- SetAnnotation(name: string, value: unknown): void;
438
+ SetAnnotation2(name: string, value: unknown): void;
405
439
  SetOrRemoveAnnotation(name: string, value: unknown, configurationSource: ConfigurationSource): ConventionAnnotation | undefined;
406
440
  }
407
441
 
408
442
 
409
443
  export const ConventionAnnotatable: {
444
+ new(): ConventionAnnotatable;
410
445
  };
411
446
 
412
447
 
@@ -420,7 +455,12 @@ export interface __ConventionAnnotatable$views {
420
455
  export type ConventionAnnotatable = ConventionAnnotatable$instance & __ConventionAnnotatable$views;
421
456
 
422
457
 
423
- export interface CoreOptionsExtension$instance {
458
+ export abstract class CoreOptionsExtension$protected {
459
+ protected Clone(): CoreOptionsExtension;
460
+ }
461
+
462
+
463
+ export interface CoreOptionsExtension$instance extends CoreOptionsExtension$protected {
424
464
  readonly ApplicationServiceProvider: IServiceProvider | undefined;
425
465
  readonly AsyncSeeder: Func<DbContext, System_Internal.Boolean, CancellationToken, Task> | undefined;
426
466
  readonly AutoResolveRootProvider: boolean;
@@ -471,6 +511,7 @@ export interface CoreOptionsExtension$instance {
471
511
 
472
512
  export const CoreOptionsExtension: {
473
513
  new(): CoreOptionsExtension;
514
+ new(copyFrom: CoreOptionsExtension): CoreOptionsExtension;
474
515
  };
475
516
 
476
517
 
@@ -560,6 +601,7 @@ export interface DbContextOptionsExtensionInfo$instance {
560
601
 
561
602
 
562
603
  export const DbContextOptionsExtensionInfo: {
604
+ new(extension: IDbContextOptionsExtension): DbContextOptionsExtensionInfo;
563
605
  };
564
606
 
565
607
 
@@ -578,7 +620,12 @@ export const DebugView: {
578
620
 
579
621
  export type DebugView = DebugView$instance;
580
622
 
581
- export interface EntityFrameworkEventSource$instance extends EventSource {
623
+ export abstract class EntityFrameworkEventSource$protected {
624
+ protected OnEventCommand(command: EventCommandEventArgs): void;
625
+ }
626
+
627
+
628
+ export interface EntityFrameworkEventSource$instance extends EntityFrameworkEventSource$protected, EventSource {
582
629
  CompiledQueryCacheHit(): void;
583
630
  CompiledQueryCacheMiss(): void;
584
631
  DbContextDisposing(): void;
@@ -609,7 +656,13 @@ export const EntityFrameworkInternalAttribute: {
609
656
 
610
657
  export type EntityFrameworkInternalAttribute = EntityFrameworkInternalAttribute$instance;
611
658
 
612
- export interface EntityFrameworkRelationalServicesBuilder$instance extends EntityFrameworkServicesBuilder {
659
+ export abstract class EntityFrameworkRelationalServicesBuilder$protected {
660
+ protected TryGetServiceCharacteristics2(serviceType: Type): Nullable<ServiceCharacteristics>;
661
+ protected TryGetServiceCharacteristics(serviceType: Type): Nullable<ServiceCharacteristics>;
662
+ }
663
+
664
+
665
+ export interface EntityFrameworkRelationalServicesBuilder$instance extends EntityFrameworkRelationalServicesBuilder$protected, EntityFrameworkServicesBuilder {
613
666
  TryAddCoreServices(): EntityFrameworkServicesBuilder;
614
667
  }
615
668
 
@@ -622,7 +675,14 @@ export const EntityFrameworkRelationalServicesBuilder: {
622
675
 
623
676
  export type EntityFrameworkRelationalServicesBuilder = EntityFrameworkRelationalServicesBuilder$instance;
624
677
 
625
- export interface EntityFrameworkServicesBuilder$instance {
678
+ export abstract class EntityFrameworkServicesBuilder$protected {
679
+ protected readonly ServiceCollectionMap: ServiceCollectionMap;
680
+ protected GetServiceCharacteristics(serviceType: Type): ServiceCharacteristics;
681
+ protected TryGetServiceCharacteristics(serviceType: Type): Nullable<ServiceCharacteristics>;
682
+ }
683
+
684
+
685
+ export interface EntityFrameworkServicesBuilder$instance extends EntityFrameworkServicesBuilder$protected {
626
686
  TryAdd<TService, TImplementation extends TService>(): EntityFrameworkServicesBuilder;
627
687
  TryAdd(serviceType: Type, implementationType: Type): EntityFrameworkServicesBuilder;
628
688
  TryAdd<TService>(factory: Func<IServiceProvider, TService>): EntityFrameworkServicesBuilder;
@@ -673,7 +733,12 @@ export const IndentedStringBuilder: {
673
733
 
674
734
  export type IndentedStringBuilder = IndentedStringBuilder$instance;
675
735
 
676
- export interface ModelCacheKey$instance {
736
+ export abstract class ModelCacheKey$protected {
737
+ protected Equals(other: ModelCacheKey): boolean;
738
+ }
739
+
740
+
741
+ export interface ModelCacheKey$instance extends ModelCacheKey$protected {
677
742
  Equals(obj: unknown): boolean;
678
743
  GetHashCode(): int;
679
744
  }
@@ -687,7 +752,12 @@ export const ModelCacheKey: {
687
752
 
688
753
  export type ModelCacheKey = ModelCacheKey$instance;
689
754
 
690
- export interface ModelCacheKeyFactory$instance {
755
+ export abstract class ModelCacheKeyFactory$protected {
756
+ protected readonly Dependencies: ModelCacheKeyFactoryDependencies;
757
+ }
758
+
759
+
760
+ export interface ModelCacheKeyFactory$instance extends ModelCacheKeyFactory$protected {
691
761
  Create(context: DbContext): unknown;
692
762
  Create(context: DbContext, designTime: boolean): unknown;
693
763
  }
@@ -721,7 +791,12 @@ export const ModelCacheKeyFactoryDependencies: {
721
791
 
722
792
  export type ModelCacheKeyFactoryDependencies = ModelCacheKeyFactoryDependencies$instance;
723
793
 
724
- export interface ModelCustomizer$instance {
794
+ export abstract class ModelCustomizer$protected {
795
+ protected readonly Dependencies: ModelCustomizerDependencies;
796
+ }
797
+
798
+
799
+ export interface ModelCustomizer$instance extends ModelCustomizer$protected {
725
800
  Customize(modelBuilder: ModelBuilder, context: DbContext): void;
726
801
  }
727
802
 
@@ -773,7 +848,13 @@ export const ModelDependencies: {
773
848
 
774
849
  export type ModelDependencies = ModelDependencies$instance;
775
850
 
776
- export interface ModelRuntimeInitializer$instance {
851
+ export abstract class ModelRuntimeInitializer$protected {
852
+ protected readonly Dependencies: ModelRuntimeInitializerDependencies;
853
+ protected InitializeModel(model: IModel, designTime: boolean, prevalidation: boolean): void;
854
+ }
855
+
856
+
857
+ export interface ModelRuntimeInitializer$instance extends ModelRuntimeInitializer$protected {
777
858
  Initialize(model: IModel, designTime?: boolean, validationLogger?: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): IModel;
778
859
  }
779
860
 
@@ -803,18 +884,30 @@ export const ModelRuntimeInitializerDependencies: {
803
884
 
804
885
  export type ModelRuntimeInitializerDependencies = ModelRuntimeInitializerDependencies$instance;
805
886
 
806
- export interface ModelSnapshot$instance {
887
+ export abstract class ModelSnapshot$protected {
888
+ protected abstract BuildModel(modelBuilder: ModelBuilder): void;
889
+ }
890
+
891
+
892
+ export interface ModelSnapshot$instance extends ModelSnapshot$protected {
807
893
  readonly Model: IModel;
808
894
  }
809
895
 
810
896
 
811
897
  export const ModelSnapshot: {
898
+ new(): ModelSnapshot;
812
899
  };
813
900
 
814
901
 
815
902
  export type ModelSnapshot = ModelSnapshot$instance;
816
903
 
817
- export interface ModelSource$instance {
904
+ export abstract class ModelSource$protected {
905
+ protected readonly Dependencies: ModelSourceDependencies;
906
+ protected CreateModel(context: DbContext, conventionSetBuilder: IConventionSetBuilder, modelDependencies: ModelDependencies): IModel;
907
+ }
908
+
909
+
910
+ export interface ModelSource$instance extends ModelSource$protected {
818
911
  CreateModel(context: DbContext, modelCreationDependencies: ModelCreationDependencies, designTime: boolean): IModel;
819
912
  GetModel(context: DbContext, modelCreationDependencies: ModelCreationDependencies, designTime: boolean): IModel;
820
913
  }
@@ -853,7 +946,39 @@ export const ModelSourceDependencies: {
853
946
 
854
947
  export type ModelSourceDependencies = ModelSourceDependencies$instance;
855
948
 
856
- export interface ModelValidator$instance {
949
+ export abstract class ModelValidator$protected {
950
+ protected readonly Dependencies: ModelValidatorDependencies;
951
+ protected IsOwned(targetType: Type, conventionModel: IConventionModel): boolean;
952
+ protected IsRedundant(foreignKey: IForeignKey): boolean;
953
+ protected LogShadowProperties(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
954
+ protected ThrowPropertyNotMappedException(propertyType: string, structuralType: IConventionTypeBase, unmappedProperty: IConventionProperty): void;
955
+ protected ValidateChangeTrackingStrategy(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
956
+ protected ValidateClrInheritance(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
957
+ protected ValidateData(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
958
+ protected ValidateDiscriminatorValues(rootEntityType: IEntityType): void;
959
+ protected ValidateDiscriminatorValues(complexType: IComplexType): void;
960
+ protected ValidateEntityClrTypes(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
961
+ protected ValidateFieldMapping(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
962
+ protected ValidateForeignKeys(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
963
+ protected ValidateIgnoredMembers(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
964
+ protected ValidateInheritanceMapping(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
965
+ protected ValidateNoCycles(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
966
+ protected ValidateNoMutableKeys(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
967
+ protected ValidateNonNullPrimaryKeys(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
968
+ protected ValidateNoShadowKeys(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
969
+ protected ValidateOwnership(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
970
+ protected ValidatePrimitiveCollections(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
971
+ protected ValidatePropertyMapping(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
972
+ protected ValidatePropertyMapping(complexProperty: IConventionComplexProperty, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
973
+ protected ValidatePropertyMapping(structuralType: IConventionTypeBase, model: IConventionModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
974
+ protected ValidateQueryFilters(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
975
+ protected ValidateRelationships(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
976
+ protected ValidateTriggers(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
977
+ protected ValidateTypeMappings(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
978
+ }
979
+
980
+
981
+ export interface ModelValidator$instance extends ModelValidator$protected {
857
982
  Validate(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
858
983
  }
859
984
 
@@ -910,7 +1035,13 @@ export interface PooledDbContextFactory_1$instance<TContext extends DbContext> e
910
1035
  export type PooledDbContextFactory_1<TContext extends DbContext> = PooledDbContextFactory_1$instance<TContext> & __PooledDbContextFactory_1$views<TContext>;
911
1036
 
912
1037
 
913
- export interface RelationalDbContextOptionsBuilder_2$instance<TBuilder extends RelationalDbContextOptionsBuilder_2<TBuilder, TExtension>, TExtension extends RelationalOptionsExtension> {
1038
+ export abstract class RelationalDbContextOptionsBuilder_2$protected<TBuilder extends RelationalDbContextOptionsBuilder_2<TBuilder, TExtension>, TExtension extends RelationalOptionsExtension> {
1039
+ protected readonly OptionsBuilder: DbContextOptionsBuilder;
1040
+ protected WithOption(setAction: Func<TExtension, TExtension>): TBuilder;
1041
+ }
1042
+
1043
+
1044
+ export interface RelationalDbContextOptionsBuilder_2$instance<TBuilder extends RelationalDbContextOptionsBuilder_2<TBuilder, TExtension>, TExtension extends RelationalOptionsExtension> extends RelationalDbContextOptionsBuilder_2$protected<TBuilder, TExtension> {
914
1045
  CommandTimeout(commandTimeout: Nullable<System_Internal.Int32>): TBuilder;
915
1046
  Equals(obj: unknown): boolean;
916
1047
  ExecutionStrategy(getExecutionStrategy: Func<ExecutionStrategyDependencies, IExecutionStrategy>): TBuilder;
@@ -930,6 +1061,7 @@ export interface RelationalDbContextOptionsBuilder_2$instance<TBuilder extends R
930
1061
 
931
1062
 
932
1063
  export const RelationalDbContextOptionsBuilder_2: {
1064
+ new<TBuilder extends RelationalDbContextOptionsBuilder_2<TBuilder, TExtension>, TExtension extends RelationalOptionsExtension>(optionsBuilder: DbContextOptionsBuilder): RelationalDbContextOptionsBuilder_2<TBuilder, TExtension>;
933
1065
  };
934
1066
 
935
1067
 
@@ -979,7 +1111,13 @@ export const RelationalModelDependencies: {
979
1111
 
980
1112
  export type RelationalModelDependencies = RelationalModelDependencies$instance;
981
1113
 
982
- export interface RelationalModelRuntimeInitializer$instance extends ModelRuntimeInitializer {
1114
+ export abstract class RelationalModelRuntimeInitializer$protected {
1115
+ protected readonly RelationalDependencies: RelationalModelRuntimeInitializerDependencies;
1116
+ protected InitializeModel(model: IModel, designTime: boolean, prevalidation: boolean): void;
1117
+ }
1118
+
1119
+
1120
+ export interface RelationalModelRuntimeInitializer$instance extends RelationalModelRuntimeInitializer$protected, ModelRuntimeInitializer {
983
1121
  Initialize(model: IModel, designTime?: boolean, validationLogger?: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): IModel;
984
1122
  }
985
1123
 
@@ -1014,7 +1152,60 @@ export const RelationalModelRuntimeInitializerDependencies: {
1014
1152
 
1015
1153
  export type RelationalModelRuntimeInitializerDependencies = RelationalModelRuntimeInitializerDependencies$instance;
1016
1154
 
1017
- export interface RelationalModelValidator$instance extends ModelValidator$instance {
1155
+ export abstract class RelationalModelValidator$protected {
1156
+ protected readonly RelationalDependencies: RelationalModelValidatorDependencies;
1157
+ protected GetDefaultColumnValue(property: IProperty, storeObject: StoreObjectIdentifier): unknown | undefined;
1158
+ protected IsRedundant(foreignKey: IForeignKey): boolean;
1159
+ protected ThrowPropertyNotMappedException(propertyType: string, typeBase: IConventionTypeBase, unmappedProperty: IConventionProperty): void;
1160
+ protected ValidateBoolsWithDefaults(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
1161
+ protected ValidateCompatible(property: IProperty, duplicateProperty: IProperty, columnName: string, storeObject: StoreObjectIdentifier, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
1162
+ protected ValidateCompatible(foreignKey: IForeignKey, duplicateForeignKey: IForeignKey, foreignKeyName: string, storeObject: StoreObjectIdentifier, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
1163
+ protected ValidateCompatible(index: IIndex, duplicateIndex: IIndex, indexName: string, storeObject: StoreObjectIdentifier, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
1164
+ protected ValidateCompatible(key: IKey, duplicateKey: IKey, keyName: string, storeObject: StoreObjectIdentifier, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
1165
+ protected ValidateCompatible(checkConstraint: ICheckConstraint, duplicateCheckConstraint: ICheckConstraint, indexName: string, storeObject: StoreObjectIdentifier, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
1166
+ protected ValidateCompatible(trigger: ITrigger, duplicateTrigger: ITrigger, indexName: string, storeObject: StoreObjectIdentifier, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
1167
+ protected ValidateData2(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
1168
+ protected ValidateData(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
1169
+ protected ValidateDbFunctions(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
1170
+ protected ValidateDefaultValuesOnKeys(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
1171
+ protected ValidateIndexProperties(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
1172
+ protected ValidateInheritanceMapping2(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
1173
+ protected ValidateInheritanceMapping(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
1174
+ protected ValidateJsonEntities(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
1175
+ protected ValidateJsonEntityKey(storeObject: StoreObjectIdentifier, jsonEntityType: IEntityType): void;
1176
+ protected ValidateJsonEntityNavigations(storeObject: StoreObjectIdentifier, jsonEntityType: IEntityType): void;
1177
+ protected ValidateJsonEntityProperties(storeObject: StoreObjectIdentifier, jsonEntityType: IEntityType): void;
1178
+ protected ValidateJsonEntityRoot(storeObject: StoreObjectIdentifier, rootType: IEntityType): void;
1179
+ protected ValidateMappingFragments(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
1180
+ protected ValidateMappingStrategy(entityType: IEntityType, mappingStrategy: string): void;
1181
+ protected ValidateNoMutableKeys2(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
1182
+ protected ValidateNoMutableKeys(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
1183
+ protected ValidatePrimitiveCollections2(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
1184
+ protected ValidatePrimitiveCollections(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
1185
+ protected ValidatePropertyMapping4(complexProperty: IConventionComplexProperty, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
1186
+ protected ValidatePropertyMapping(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
1187
+ protected ValidatePropertyMapping3(complexProperty: IConventionComplexProperty, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
1188
+ protected ValidatePropertyMapping2(structuralType: IConventionTypeBase, model: IConventionModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
1189
+ protected ValidatePropertyOverrides(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
1190
+ protected ValidateSharedCheckConstraintCompatibility(mappedTypes: IReadOnlyList<IEntityType>, storeObject: StoreObjectIdentifier, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
1191
+ protected ValidateSharedColumnsCompatibility(mappedTypes: IReadOnlyList<IEntityType>, storeObject: StoreObjectIdentifier, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
1192
+ protected ValidateSharedForeignKeysCompatibility(mappedTypes: IReadOnlyList<IEntityType>, storeObject: StoreObjectIdentifier, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
1193
+ protected ValidateSharedIndexesCompatibility(mappedTypes: IReadOnlyList<IEntityType>, storeObject: StoreObjectIdentifier, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
1194
+ protected ValidateSharedKeysCompatibility(mappedTypes: IReadOnlyList<IEntityType>, storeObject: StoreObjectIdentifier, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
1195
+ protected ValidateSharedTableCompatibility(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
1196
+ protected ValidateSharedTableCompatibility(mappedTypes: IReadOnlyList<IEntityType>, storeObject: StoreObjectIdentifier, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
1197
+ protected ValidateSharedTriggerCompatibility(mappedTypes: IReadOnlyList<IEntityType>, storeObject: StoreObjectIdentifier, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
1198
+ protected ValidateSharedViewCompatibility(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
1199
+ protected ValidateSharedViewCompatibility(mappedTypes: IReadOnlyList<IEntityType>, viewName: string, schema: string, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
1200
+ protected ValidateSqlQueries(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
1201
+ protected ValidateStoredProcedures(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
1202
+ protected ValidateTriggers2(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
1203
+ protected ValidateTriggers(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
1204
+ protected ValidateValueGeneration(entityType: IEntityType, key: IKey, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
1205
+ }
1206
+
1207
+
1208
+ export interface RelationalModelValidator$instance extends RelationalModelValidator$protected, ModelValidator$instance {
1018
1209
  Validate(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
1019
1210
  Validate(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
1020
1211
  }
@@ -1049,7 +1240,12 @@ export const RelationalModelValidatorDependencies: {
1049
1240
 
1050
1241
  export type RelationalModelValidatorDependencies = RelationalModelValidatorDependencies$instance;
1051
1242
 
1052
- export interface RelationalOptionsExtension$instance {
1243
+ export abstract class RelationalOptionsExtension$protected {
1244
+ protected abstract Clone(): RelationalOptionsExtension;
1245
+ }
1246
+
1247
+
1248
+ export interface RelationalOptionsExtension$instance extends RelationalOptionsExtension$protected {
1053
1249
  readonly CommandTimeout: Nullable<System_Internal.Int32>;
1054
1250
  readonly Connection: DbConnection;
1055
1251
  readonly ConnectionString: string | undefined;
@@ -1085,6 +1281,8 @@ export interface RelationalOptionsExtension$instance {
1085
1281
 
1086
1282
 
1087
1283
  export const RelationalOptionsExtension: {
1284
+ new(): RelationalOptionsExtension;
1285
+ new(copyFrom: RelationalOptionsExtension): RelationalOptionsExtension;
1088
1286
  Extract(options: IDbContextOptions): RelationalOptionsExtension;
1089
1287
  WithDefaultWarningConfiguration(coreOptionsExtension: CoreOptionsExtension): CoreOptionsExtension;
1090
1288
  };
@@ -1099,7 +1297,15 @@ export interface RelationalOptionsExtension$instance extends IDbContextOptionsEx
1099
1297
  export type RelationalOptionsExtension = RelationalOptionsExtension$instance & __RelationalOptionsExtension$views;
1100
1298
 
1101
1299
 
1102
- export interface RuntimeAnnotatableBase$instance {
1300
+ export abstract class RuntimeAnnotatableBase$protected {
1301
+ protected AddRuntimeAnnotation(name: string, annotation: Annotation): Annotation;
1302
+ protected CreateAnnotation(name: string, value: unknown): Annotation;
1303
+ protected CreateRuntimeAnnotation(name: string, value: unknown): Annotation;
1304
+ protected SetRuntimeAnnotation(name: string, annotation: Annotation, oldAnnotation: Annotation): Annotation;
1305
+ }
1306
+
1307
+
1308
+ export interface RuntimeAnnotatableBase$instance extends RuntimeAnnotatableBase$protected {
1103
1309
  get Item(): unknown | undefined;
1104
1310
  set Item(value: unknown);
1105
1311
  AddAnnotation(name: string, value: unknown): Annotation;