@tsonic/efcore 10.0.2 → 10.0.3
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.
- package/Microsoft.EntityFrameworkCore/internal/index.d.ts +18 -35
- package/Microsoft.EntityFrameworkCore.ChangeTracking/internal/index.d.ts +28 -69
- package/Microsoft.EntityFrameworkCore.ChangeTracking.Internal/internal/index.d.ts +153 -261
- package/Microsoft.EntityFrameworkCore.Design/internal/index.d.ts +43 -55
- package/Microsoft.EntityFrameworkCore.Design.Internal/internal/index.d.ts +8 -16
- package/Microsoft.EntityFrameworkCore.Diagnostics/internal/index.d.ts +24 -46
- package/Microsoft.EntityFrameworkCore.Diagnostics.Internal/internal/index.d.ts +8 -50
- package/Microsoft.EntityFrameworkCore.Infrastructure/internal/index.d.ts +160 -247
- package/Microsoft.EntityFrameworkCore.Infrastructure.Internal/internal/index.d.ts +5 -9
- package/Microsoft.EntityFrameworkCore.Internal/internal/index.d.ts +0 -3
- package/Microsoft.EntityFrameworkCore.Metadata/internal/index.d.ts +304 -407
- package/Microsoft.EntityFrameworkCore.Metadata.Builders/internal/index.d.ts +130 -268
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions/internal/index.d.ts +266 -598
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure/internal/index.d.ts +6 -15
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal/internal/index.d.ts +1 -1
- package/Microsoft.EntityFrameworkCore.Metadata.Internal/internal/index.d.ts +436 -763
- package/Microsoft.EntityFrameworkCore.Migrations/internal/index.d.ts +95 -116
- package/Microsoft.EntityFrameworkCore.Migrations.Internal/internal/index.d.ts +56 -64
- package/Microsoft.EntityFrameworkCore.Migrations.Operations/internal/index.d.ts +229 -347
- package/Microsoft.EntityFrameworkCore.Migrations.Operations.Builders/internal/index.d.ts +2 -6
- package/Microsoft.EntityFrameworkCore.Query/internal/index.d.ts +468 -719
- package/Microsoft.EntityFrameworkCore.Query.Internal/internal/index.d.ts +151 -301
- package/Microsoft.EntityFrameworkCore.Query.SqlExpressions/internal/index.d.ts +144 -335
- package/Microsoft.EntityFrameworkCore.Scaffolding/internal/index.d.ts +4 -10
- package/Microsoft.EntityFrameworkCore.Scaffolding.Metadata/internal/index.d.ts +73 -102
- package/Microsoft.EntityFrameworkCore.Storage/internal/index.d.ts +244 -452
- package/Microsoft.EntityFrameworkCore.Storage.Internal/internal/index.d.ts +19 -47
- package/Microsoft.EntityFrameworkCore.Storage.Json/internal/index.d.ts +3 -32
- package/Microsoft.EntityFrameworkCore.Storage.ValueConversion/internal/index.d.ts +3 -9
- package/Microsoft.EntityFrameworkCore.Update/internal/index.d.ts +114 -133
- package/Microsoft.EntityFrameworkCore.Update.Internal/internal/index.d.ts +21 -43
- package/Microsoft.EntityFrameworkCore.ValueGeneration/internal/index.d.ts +21 -49
- package/Microsoft.EntityFrameworkCore.ValueGeneration.Internal/internal/index.d.ts +5 -14
- package/package.json +1 -1
|
@@ -48,7 +48,7 @@ export enum MetadataDebugStringOptions {
|
|
|
48
48
|
|
|
49
49
|
|
|
50
50
|
export interface IAnnotatable$instance extends IReadOnlyAnnotatable {
|
|
51
|
-
readonly
|
|
51
|
+
readonly [name: string]: unknown | undefined;
|
|
52
52
|
AddRuntimeAnnotation(name: string, value: unknown): IAnnotation;
|
|
53
53
|
AnnotationsToDebugString(indent?: int): string;
|
|
54
54
|
FindRuntimeAnnotation(name: string): IAnnotation | undefined;
|
|
@@ -199,7 +199,7 @@ export interface IModelValidator$instance {
|
|
|
199
199
|
export type IModelValidator = IModelValidator$instance;
|
|
200
200
|
|
|
201
201
|
export interface IReadOnlyAnnotatable$instance {
|
|
202
|
-
readonly
|
|
202
|
+
readonly [name: string]: unknown | undefined;
|
|
203
203
|
AnnotationsToDebugString(indent?: int): string;
|
|
204
204
|
FindAnnotation(name: string): IAnnotation | undefined;
|
|
205
205
|
GetAnnotations(): IEnumerable<IAnnotation>;
|
|
@@ -269,22 +269,17 @@ export const ServiceCharacteristics: {
|
|
|
269
269
|
|
|
270
270
|
export type ServiceCharacteristics = ServiceCharacteristics$instance;
|
|
271
271
|
|
|
272
|
-
export
|
|
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
|
+
export interface Annotatable$instance extends AnnotatableBase$instance {
|
|
282
273
|
AddAnnotation(name: string, value: unknown): Annotation;
|
|
274
|
+
AddAnnotation(name: string, annotation: Annotation): Annotation;
|
|
283
275
|
AddAnnotations(annotations: IEnumerable<IAnnotation>): void;
|
|
284
276
|
AddAnnotations(annotations: IReadOnlyDictionary<System_Internal.String, unknown>): void;
|
|
285
277
|
AddRuntimeAnnotation(name: string, value: unknown): Annotation;
|
|
278
|
+
AddRuntimeAnnotation(name: string, annotation: Annotation): Annotation;
|
|
286
279
|
AddRuntimeAnnotation(name: string, value: unknown): IAnnotation;
|
|
287
280
|
AnnotationsToDebugString(indent?: int): string;
|
|
281
|
+
EnsureMutable(): void;
|
|
282
|
+
EnsureReadOnly(): void;
|
|
288
283
|
FindAnnotation(name: string): Annotation | undefined;
|
|
289
284
|
FindAnnotation(name: string): IAnnotation | undefined;
|
|
290
285
|
FindRuntimeAnnotation(name: string): Annotation | undefined;
|
|
@@ -295,6 +290,7 @@ export interface Annotatable$instance extends Annotatable$protected, Annotatable
|
|
|
295
290
|
GetRuntimeAnnotations(): IEnumerable<Annotation>;
|
|
296
291
|
RemoveAnnotation(name: string): Annotation | undefined;
|
|
297
292
|
SetAnnotation(name: string, value: unknown): void;
|
|
293
|
+
SetAnnotation(name: string, annotation: Annotation, oldAnnotation: Annotation): Annotation | undefined;
|
|
298
294
|
}
|
|
299
295
|
|
|
300
296
|
|
|
@@ -312,39 +308,34 @@ export interface __Annotatable$views {
|
|
|
312
308
|
export type Annotatable = Annotatable$instance & __Annotatable$views;
|
|
313
309
|
|
|
314
310
|
|
|
315
|
-
export
|
|
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 {
|
|
311
|
+
export interface AnnotatableBase$instance {
|
|
329
312
|
readonly IsReadOnly: boolean;
|
|
330
|
-
|
|
331
|
-
set Item(value: unknown);
|
|
313
|
+
[name: string]: unknown | undefined;
|
|
332
314
|
AddAnnotation(name: string, value: unknown): Annotation;
|
|
315
|
+
AddAnnotation(name: string, annotation: Annotation): Annotation;
|
|
333
316
|
AddAnnotations(annotations: IEnumerable<IAnnotation>): void;
|
|
334
317
|
AddAnnotations(annotations: IReadOnlyDictionary<System_Internal.String, unknown>): void;
|
|
335
318
|
AddRuntimeAnnotation(name: string, value: unknown): Annotation;
|
|
319
|
+
AddRuntimeAnnotation(name: string, annotation: Annotation): Annotation;
|
|
336
320
|
AddRuntimeAnnotations(annotations: IEnumerable<Annotation>): void;
|
|
337
321
|
AddRuntimeAnnotations(annotations: IReadOnlyDictionary<System_Internal.String, unknown>): void;
|
|
322
|
+
CreateAnnotation(name: string, value: unknown): Annotation;
|
|
323
|
+
CreateRuntimeAnnotation(name: string, value: unknown): Annotation;
|
|
324
|
+
EnsureMutable(): void;
|
|
325
|
+
EnsureReadOnly(): void;
|
|
338
326
|
FindAnnotation(name: string): Annotation | undefined;
|
|
339
327
|
FindRuntimeAnnotation(name: string): Annotation | undefined;
|
|
340
328
|
GetAnnotation(annotationName: string): Annotation;
|
|
341
329
|
GetAnnotations(): IEnumerable<Annotation>;
|
|
342
330
|
GetOrAddRuntimeAnnotationValue<TValue, TArg>(name: string, valueFactory: Func<TArg, TValue>, factoryArgument: TArg): TValue;
|
|
343
331
|
GetRuntimeAnnotations(): IEnumerable<Annotation>;
|
|
332
|
+
OnAnnotationSet(name: string, annotation: Annotation, oldAnnotation: Annotation): Annotation | undefined;
|
|
344
333
|
RemoveAnnotation(name: string): Annotation | undefined;
|
|
345
334
|
RemoveRuntimeAnnotation(name: string): Annotation | undefined;
|
|
346
335
|
SetAnnotation(name: string, value: unknown): void;
|
|
336
|
+
SetAnnotation(name: string, annotation: Annotation, oldAnnotation: Annotation): Annotation | undefined;
|
|
347
337
|
SetRuntimeAnnotation(name: string, value: unknown): Annotation;
|
|
338
|
+
SetRuntimeAnnotation(name: string, annotation: Annotation, oldAnnotation: Annotation): Annotation;
|
|
348
339
|
}
|
|
349
340
|
|
|
350
341
|
|
|
@@ -375,8 +366,7 @@ export interface AnnotatableBuilder_2$instance<TMetadata extends ConventionAnnot
|
|
|
375
366
|
}
|
|
376
367
|
|
|
377
368
|
|
|
378
|
-
export const AnnotatableBuilder_2: {
|
|
379
|
-
new<TMetadata extends ConventionAnnotatable, TModelBuilder extends IConventionModelBuilder>(metadata: TMetadata, modelBuilder: TModelBuilder): AnnotatableBuilder_2<TMetadata, TModelBuilder>;
|
|
369
|
+
export const AnnotatableBuilder_2: (abstract new<TMetadata extends ConventionAnnotatable, TModelBuilder extends IConventionModelBuilder>(metadata: TMetadata, modelBuilder: TModelBuilder) => AnnotatableBuilder_2<TMetadata, TModelBuilder>) & {
|
|
380
370
|
};
|
|
381
371
|
|
|
382
372
|
|
|
@@ -407,24 +397,17 @@ export interface Annotation$instance extends IAnnotation$instance {}
|
|
|
407
397
|
export type Annotation = Annotation$instance & __Annotation$views;
|
|
408
398
|
|
|
409
399
|
|
|
410
|
-
export
|
|
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 {
|
|
400
|
+
export interface ConventionAnnotatable$instance extends Annotatable$instance {
|
|
421
401
|
AddAnnotation(name: string, value: unknown): IAnnotation;
|
|
422
402
|
AddAnnotation(name: string, value: unknown): Annotation;
|
|
403
|
+
AddAnnotation(name: string, annotation: Annotation): Annotation;
|
|
423
404
|
AddAnnotations(annotations: IEnumerable<IAnnotation>): void;
|
|
424
405
|
AddAnnotations(annotations: IReadOnlyDictionary<System_Internal.String, unknown>): void;
|
|
425
406
|
AddRuntimeAnnotation(name: string, value: unknown): IAnnotation;
|
|
426
407
|
AddRuntimeAnnotation(name: string, value: unknown): Annotation;
|
|
408
|
+
AddRuntimeAnnotation(name: string, annotation: Annotation): Annotation;
|
|
427
409
|
AnnotationsToDebugString(indent?: int): string;
|
|
410
|
+
CreateAnnotation(name: string, value: unknown): Annotation;
|
|
428
411
|
FindAnnotation(name: string): IAnnotation | undefined;
|
|
429
412
|
FindAnnotation(name: string): Annotation | undefined;
|
|
430
413
|
FindRuntimeAnnotation(name: string): IAnnotation | undefined;
|
|
@@ -433,15 +416,17 @@ export interface ConventionAnnotatable$instance extends ConventionAnnotatable$pr
|
|
|
433
416
|
GetAnnotations(): IEnumerable<IAnnotation>;
|
|
434
417
|
GetOrAddRuntimeAnnotationValue<TValue, TArg>(name: string, valueFactory: Func<TArg, TValue>, factoryArgument: TArg): TValue;
|
|
435
418
|
GetRuntimeAnnotations(): IEnumerable<IAnnotation>;
|
|
419
|
+
OnAnnotationSet(name: string, annotation: Annotation, oldAnnotation: Annotation): Annotation | undefined;
|
|
420
|
+
OnAnnotationSet(name: string, annotation: IConventionAnnotation, oldAnnotation: IConventionAnnotation): IConventionAnnotation | undefined;
|
|
436
421
|
RemoveAnnotation(name: string): IAnnotation | undefined;
|
|
437
422
|
RemoveAnnotation(name: string): Annotation | undefined;
|
|
438
|
-
|
|
423
|
+
SetAnnotation(name: string, value: unknown): void;
|
|
424
|
+
SetAnnotation(name: string, annotation: Annotation, oldAnnotation: Annotation): Annotation | undefined;
|
|
439
425
|
SetOrRemoveAnnotation(name: string, value: unknown, configurationSource: ConfigurationSource): ConventionAnnotation | undefined;
|
|
440
426
|
}
|
|
441
427
|
|
|
442
428
|
|
|
443
|
-
export const ConventionAnnotatable: {
|
|
444
|
-
new(): ConventionAnnotatable;
|
|
429
|
+
export const ConventionAnnotatable: (abstract new() => ConventionAnnotatable) & {
|
|
445
430
|
};
|
|
446
431
|
|
|
447
432
|
|
|
@@ -455,35 +440,31 @@ export interface __ConventionAnnotatable$views {
|
|
|
455
440
|
export type ConventionAnnotatable = ConventionAnnotatable$instance & __ConventionAnnotatable$views;
|
|
456
441
|
|
|
457
442
|
|
|
458
|
-
export
|
|
459
|
-
protected Clone(): CoreOptionsExtension;
|
|
460
|
-
}
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
export interface CoreOptionsExtension$instance extends CoreOptionsExtension$protected {
|
|
443
|
+
export interface CoreOptionsExtension$instance {
|
|
464
444
|
readonly ApplicationServiceProvider: IServiceProvider | undefined;
|
|
465
445
|
readonly AsyncSeeder: Func<DbContext, System_Internal.Boolean, CancellationToken, Task> | undefined;
|
|
466
446
|
readonly AutoResolveRootProvider: boolean;
|
|
467
|
-
readonly DbContextLogger: IDbContextLogger;
|
|
447
|
+
readonly DbContextLogger: IDbContextLogger | undefined;
|
|
468
448
|
readonly DetailedErrorsEnabled: boolean;
|
|
469
449
|
readonly Info: DbContextOptionsExtensionInfo;
|
|
470
|
-
readonly Interceptors: IEnumerable<IInterceptor
|
|
471
|
-
readonly InternalServiceProvider: IServiceProvider;
|
|
450
|
+
readonly Interceptors: IEnumerable<IInterceptor> | undefined;
|
|
451
|
+
readonly InternalServiceProvider: IServiceProvider | undefined;
|
|
472
452
|
readonly IsSensitiveDataLoggingEnabled: boolean;
|
|
473
453
|
readonly LoggerFactory: ILoggerFactory | undefined;
|
|
474
454
|
readonly LoggingCacheTime: TimeSpan;
|
|
475
455
|
readonly MaxPoolSize: Nullable<System_Internal.Int32>;
|
|
476
|
-
readonly MemoryCache: IMemoryCache;
|
|
477
|
-
readonly Model: IModel;
|
|
456
|
+
readonly MemoryCache: IMemoryCache | undefined;
|
|
457
|
+
readonly Model: IModel | undefined;
|
|
478
458
|
readonly QueryTrackingBehavior: QueryTrackingBehavior;
|
|
479
459
|
readonly ReplacedServices: IReadOnlyDictionary<ValueTuple<Type, Type>, Type | undefined> | undefined;
|
|
480
460
|
readonly RootApplicationServiceProvider: IServiceProvider | undefined;
|
|
481
461
|
readonly Seeder: Action<DbContext, System_Internal.Boolean> | undefined;
|
|
482
462
|
readonly ServiceProviderCachingEnabled: boolean;
|
|
483
|
-
readonly SingletonInterceptors: IEnumerable<ISingletonInterceptor
|
|
463
|
+
readonly SingletonInterceptors: IEnumerable<ISingletonInterceptor> | undefined;
|
|
484
464
|
readonly ThreadSafetyChecksEnabled: boolean;
|
|
485
465
|
readonly WarningsConfiguration: WarningsConfiguration;
|
|
486
466
|
ApplyServices(services: IServiceCollection): void;
|
|
467
|
+
Clone(): CoreOptionsExtension;
|
|
487
468
|
Validate(options: IDbContextOptions): void;
|
|
488
469
|
WithApplicationServiceProvider(applicationServiceProvider: IServiceProvider): CoreOptionsExtension;
|
|
489
470
|
WithAsyncSeeding(seedAsync: Func<DbContext, System_Internal.Boolean, CancellationToken, Task>): CoreOptionsExtension;
|
|
@@ -511,7 +492,6 @@ export interface CoreOptionsExtension$instance extends CoreOptionsExtension$prot
|
|
|
511
492
|
|
|
512
493
|
export const CoreOptionsExtension: {
|
|
513
494
|
new(): CoreOptionsExtension;
|
|
514
|
-
new(copyFrom: CoreOptionsExtension): CoreOptionsExtension;
|
|
515
495
|
};
|
|
516
496
|
|
|
517
497
|
|
|
@@ -600,8 +580,7 @@ export interface DbContextOptionsExtensionInfo$instance {
|
|
|
600
580
|
}
|
|
601
581
|
|
|
602
582
|
|
|
603
|
-
export const DbContextOptionsExtensionInfo: {
|
|
604
|
-
new(extension: IDbContextOptionsExtension): DbContextOptionsExtensionInfo;
|
|
583
|
+
export const DbContextOptionsExtensionInfo: (abstract new(extension: IDbContextOptionsExtension) => DbContextOptionsExtensionInfo) & {
|
|
605
584
|
};
|
|
606
585
|
|
|
607
586
|
|
|
@@ -620,17 +599,13 @@ export const DebugView: {
|
|
|
620
599
|
|
|
621
600
|
export type DebugView = DebugView$instance;
|
|
622
601
|
|
|
623
|
-
export
|
|
624
|
-
protected OnEventCommand(command: EventCommandEventArgs): void;
|
|
625
|
-
}
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
export interface EntityFrameworkEventSource$instance extends EntityFrameworkEventSource$protected, EventSource {
|
|
602
|
+
export interface EntityFrameworkEventSource$instance extends EventSource {
|
|
629
603
|
CompiledQueryCacheHit(): void;
|
|
630
604
|
CompiledQueryCacheMiss(): void;
|
|
631
605
|
DbContextDisposing(): void;
|
|
632
606
|
DbContextInitializing(): void;
|
|
633
607
|
ExecutionStrategyOperationFailure(): void;
|
|
608
|
+
OnEventCommand(command: EventCommandEventArgs): void;
|
|
634
609
|
OptimisticConcurrencyFailure(): void;
|
|
635
610
|
QueryExecuting(): void;
|
|
636
611
|
SavingChanges(): void;
|
|
@@ -638,7 +613,6 @@ export interface EntityFrameworkEventSource$instance extends EntityFrameworkEven
|
|
|
638
613
|
|
|
639
614
|
|
|
640
615
|
export const EntityFrameworkEventSource: {
|
|
641
|
-
new(): EntityFrameworkEventSource;
|
|
642
616
|
readonly Log: EntityFrameworkEventSource;
|
|
643
617
|
};
|
|
644
618
|
|
|
@@ -656,14 +630,10 @@ export const EntityFrameworkInternalAttribute: {
|
|
|
656
630
|
|
|
657
631
|
export type EntityFrameworkInternalAttribute = EntityFrameworkInternalAttribute$instance;
|
|
658
632
|
|
|
659
|
-
export
|
|
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 {
|
|
633
|
+
export interface EntityFrameworkRelationalServicesBuilder$instance extends EntityFrameworkServicesBuilder {
|
|
666
634
|
TryAddCoreServices(): EntityFrameworkServicesBuilder;
|
|
635
|
+
TryGetServiceCharacteristics(serviceType: Type): Nullable<ServiceCharacteristics>;
|
|
636
|
+
TryGetServiceCharacteristics(serviceType: Type): Nullable<ServiceCharacteristics>;
|
|
667
637
|
}
|
|
668
638
|
|
|
669
639
|
|
|
@@ -675,14 +645,9 @@ export const EntityFrameworkRelationalServicesBuilder: {
|
|
|
675
645
|
|
|
676
646
|
export type EntityFrameworkRelationalServicesBuilder = EntityFrameworkRelationalServicesBuilder$instance;
|
|
677
647
|
|
|
678
|
-
export
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
protected TryGetServiceCharacteristics(serviceType: Type): Nullable<ServiceCharacteristics>;
|
|
682
|
-
}
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
export interface EntityFrameworkServicesBuilder$instance extends EntityFrameworkServicesBuilder$protected {
|
|
648
|
+
export interface EntityFrameworkServicesBuilder$instance {
|
|
649
|
+
readonly ServiceCollectionMap: ServiceCollectionMap;
|
|
650
|
+
GetServiceCharacteristics(serviceType: Type): ServiceCharacteristics;
|
|
686
651
|
TryAdd<TService, TImplementation extends TService>(): EntityFrameworkServicesBuilder;
|
|
687
652
|
TryAdd(serviceType: Type, implementationType: Type): EntityFrameworkServicesBuilder;
|
|
688
653
|
TryAdd<TService>(factory: Func<IServiceProvider, TService>): EntityFrameworkServicesBuilder;
|
|
@@ -691,6 +656,7 @@ export interface EntityFrameworkServicesBuilder$instance extends EntityFramework
|
|
|
691
656
|
TryAdd(serviceType: Type, implementation: unknown): EntityFrameworkServicesBuilder;
|
|
692
657
|
TryAddCoreServices(): EntityFrameworkServicesBuilder;
|
|
693
658
|
TryAddProviderSpecificServices(serviceMap: Action<ServiceCollectionMap>): EntityFrameworkServicesBuilder;
|
|
659
|
+
TryGetServiceCharacteristics(serviceType: Type): Nullable<ServiceCharacteristics>;
|
|
694
660
|
}
|
|
695
661
|
|
|
696
662
|
|
|
@@ -733,12 +699,8 @@ export const IndentedStringBuilder: {
|
|
|
733
699
|
|
|
734
700
|
export type IndentedStringBuilder = IndentedStringBuilder$instance;
|
|
735
701
|
|
|
736
|
-
export
|
|
737
|
-
|
|
738
|
-
}
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
export interface ModelCacheKey$instance extends ModelCacheKey$protected {
|
|
702
|
+
export interface ModelCacheKey$instance {
|
|
703
|
+
Equals(other: ModelCacheKey): boolean;
|
|
742
704
|
Equals(obj: unknown): boolean;
|
|
743
705
|
GetHashCode(): int;
|
|
744
706
|
}
|
|
@@ -752,12 +714,8 @@ export const ModelCacheKey: {
|
|
|
752
714
|
|
|
753
715
|
export type ModelCacheKey = ModelCacheKey$instance;
|
|
754
716
|
|
|
755
|
-
export
|
|
756
|
-
|
|
757
|
-
}
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
export interface ModelCacheKeyFactory$instance extends ModelCacheKeyFactory$protected {
|
|
717
|
+
export interface ModelCacheKeyFactory$instance {
|
|
718
|
+
readonly Dependencies: ModelCacheKeyFactoryDependencies;
|
|
761
719
|
Create(context: DbContext): unknown;
|
|
762
720
|
Create(context: DbContext, designTime: boolean): unknown;
|
|
763
721
|
}
|
|
@@ -791,12 +749,8 @@ export const ModelCacheKeyFactoryDependencies: {
|
|
|
791
749
|
|
|
792
750
|
export type ModelCacheKeyFactoryDependencies = ModelCacheKeyFactoryDependencies$instance;
|
|
793
751
|
|
|
794
|
-
export
|
|
795
|
-
|
|
796
|
-
}
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
export interface ModelCustomizer$instance extends ModelCustomizer$protected {
|
|
752
|
+
export interface ModelCustomizer$instance {
|
|
753
|
+
readonly Dependencies: ModelCustomizerDependencies;
|
|
800
754
|
Customize(modelBuilder: ModelBuilder, context: DbContext): void;
|
|
801
755
|
}
|
|
802
756
|
|
|
@@ -848,14 +802,10 @@ export const ModelDependencies: {
|
|
|
848
802
|
|
|
849
803
|
export type ModelDependencies = ModelDependencies$instance;
|
|
850
804
|
|
|
851
|
-
export
|
|
852
|
-
|
|
853
|
-
protected InitializeModel(model: IModel, designTime: boolean, prevalidation: boolean): void;
|
|
854
|
-
}
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
export interface ModelRuntimeInitializer$instance extends ModelRuntimeInitializer$protected {
|
|
805
|
+
export interface ModelRuntimeInitializer$instance {
|
|
806
|
+
readonly Dependencies: ModelRuntimeInitializerDependencies;
|
|
858
807
|
Initialize(model: IModel, designTime?: boolean, validationLogger?: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): IModel;
|
|
808
|
+
InitializeModel(model: IModel, designTime: boolean, prevalidation: boolean): void;
|
|
859
809
|
}
|
|
860
810
|
|
|
861
811
|
|
|
@@ -884,31 +834,22 @@ export const ModelRuntimeInitializerDependencies: {
|
|
|
884
834
|
|
|
885
835
|
export type ModelRuntimeInitializerDependencies = ModelRuntimeInitializerDependencies$instance;
|
|
886
836
|
|
|
887
|
-
export
|
|
888
|
-
protected abstract BuildModel(modelBuilder: ModelBuilder): void;
|
|
889
|
-
}
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
export interface ModelSnapshot$instance extends ModelSnapshot$protected {
|
|
837
|
+
export interface ModelSnapshot$instance {
|
|
893
838
|
readonly Model: IModel;
|
|
839
|
+
BuildModel(modelBuilder: ModelBuilder): void;
|
|
894
840
|
}
|
|
895
841
|
|
|
896
842
|
|
|
897
|
-
export const ModelSnapshot: {
|
|
898
|
-
new(): ModelSnapshot;
|
|
843
|
+
export const ModelSnapshot: (abstract new() => ModelSnapshot) & {
|
|
899
844
|
};
|
|
900
845
|
|
|
901
846
|
|
|
902
847
|
export type ModelSnapshot = ModelSnapshot$instance;
|
|
903
848
|
|
|
904
|
-
export
|
|
905
|
-
|
|
906
|
-
protected CreateModel(context: DbContext, conventionSetBuilder: IConventionSetBuilder, modelDependencies: ModelDependencies): IModel;
|
|
907
|
-
}
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
export interface ModelSource$instance extends ModelSource$protected {
|
|
849
|
+
export interface ModelSource$instance {
|
|
850
|
+
readonly Dependencies: ModelSourceDependencies;
|
|
911
851
|
CreateModel(context: DbContext, modelCreationDependencies: ModelCreationDependencies, designTime: boolean): IModel;
|
|
852
|
+
CreateModel(context: DbContext, conventionSetBuilder: IConventionSetBuilder, modelDependencies: ModelDependencies): IModel;
|
|
912
853
|
GetModel(context: DbContext, modelCreationDependencies: ModelCreationDependencies, designTime: boolean): IModel;
|
|
913
854
|
}
|
|
914
855
|
|
|
@@ -946,40 +887,36 @@ export const ModelSourceDependencies: {
|
|
|
946
887
|
|
|
947
888
|
export type ModelSourceDependencies = ModelSourceDependencies$instance;
|
|
948
889
|
|
|
949
|
-
export
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
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 {
|
|
890
|
+
export interface ModelValidator$instance {
|
|
891
|
+
readonly Dependencies: ModelValidatorDependencies;
|
|
892
|
+
IsOwned(targetType: Type, conventionModel: IConventionModel): boolean;
|
|
893
|
+
IsRedundant(foreignKey: IForeignKey): boolean;
|
|
894
|
+
LogShadowProperties(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
895
|
+
ThrowPropertyNotMappedException(propertyType: string, structuralType: IConventionTypeBase, unmappedProperty: IConventionProperty): void;
|
|
982
896
|
Validate(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
897
|
+
ValidateChangeTrackingStrategy(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
898
|
+
ValidateClrInheritance(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
899
|
+
ValidateData(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
900
|
+
ValidateDiscriminatorValues(rootEntityType: IEntityType): void;
|
|
901
|
+
ValidateDiscriminatorValues(complexType: IComplexType): void;
|
|
902
|
+
ValidateEntityClrTypes(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
903
|
+
ValidateFieldMapping(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
904
|
+
ValidateForeignKeys(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
905
|
+
ValidateIgnoredMembers(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
906
|
+
ValidateInheritanceMapping(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
907
|
+
ValidateNoCycles(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
908
|
+
ValidateNoMutableKeys(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
909
|
+
ValidateNonNullPrimaryKeys(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
910
|
+
ValidateNoShadowKeys(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
911
|
+
ValidateOwnership(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
912
|
+
ValidatePrimitiveCollections(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
913
|
+
ValidatePropertyMapping(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
914
|
+
ValidatePropertyMapping(structuralType: IConventionTypeBase, model: IConventionModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
915
|
+
ValidatePropertyMapping(complexProperty: IConventionComplexProperty, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
916
|
+
ValidateQueryFilters(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
917
|
+
ValidateRelationships(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
918
|
+
ValidateTriggers(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
919
|
+
ValidateTypeMappings(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
983
920
|
}
|
|
984
921
|
|
|
985
922
|
|
|
@@ -1035,13 +972,8 @@ export interface PooledDbContextFactory_1$instance<TContext extends DbContext> e
|
|
|
1035
972
|
export type PooledDbContextFactory_1<TContext extends DbContext> = PooledDbContextFactory_1$instance<TContext> & __PooledDbContextFactory_1$views<TContext>;
|
|
1036
973
|
|
|
1037
974
|
|
|
1038
|
-
export
|
|
1039
|
-
|
|
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> {
|
|
975
|
+
export interface RelationalDbContextOptionsBuilder_2$instance<TBuilder extends RelationalDbContextOptionsBuilder_2<TBuilder, TExtension>, TExtension extends RelationalOptionsExtension> {
|
|
976
|
+
readonly OptionsBuilder: DbContextOptionsBuilder;
|
|
1045
977
|
CommandTimeout(commandTimeout: Nullable<System_Internal.Int32>): TBuilder;
|
|
1046
978
|
Equals(obj: unknown): boolean;
|
|
1047
979
|
ExecutionStrategy(getExecutionStrategy: Func<ExecutionStrategyDependencies, IExecutionStrategy>): TBuilder;
|
|
@@ -1057,11 +989,11 @@ export interface RelationalDbContextOptionsBuilder_2$instance<TBuilder extends R
|
|
|
1057
989
|
UseParameterizedCollectionMode(parameterizedCollectionMode: ParameterTranslationMode): TBuilder;
|
|
1058
990
|
UseQuerySplittingBehavior(querySplittingBehavior: QuerySplittingBehavior): TBuilder;
|
|
1059
991
|
UseRelationalNulls(useRelationalNulls?: boolean): TBuilder;
|
|
992
|
+
WithOption(setAction: Func<TExtension, TExtension>): TBuilder;
|
|
1060
993
|
}
|
|
1061
994
|
|
|
1062
995
|
|
|
1063
|
-
export const RelationalDbContextOptionsBuilder_2: {
|
|
1064
|
-
new<TBuilder extends RelationalDbContextOptionsBuilder_2<TBuilder, TExtension>, TExtension extends RelationalOptionsExtension>(optionsBuilder: DbContextOptionsBuilder): RelationalDbContextOptionsBuilder_2<TBuilder, TExtension>;
|
|
996
|
+
export const RelationalDbContextOptionsBuilder_2: (abstract new<TBuilder extends RelationalDbContextOptionsBuilder_2<TBuilder, TExtension>, TExtension extends RelationalOptionsExtension>(optionsBuilder: DbContextOptionsBuilder) => RelationalDbContextOptionsBuilder_2<TBuilder, TExtension>) & {
|
|
1065
997
|
};
|
|
1066
998
|
|
|
1067
999
|
|
|
@@ -1111,14 +1043,10 @@ export const RelationalModelDependencies: {
|
|
|
1111
1043
|
|
|
1112
1044
|
export type RelationalModelDependencies = RelationalModelDependencies$instance;
|
|
1113
1045
|
|
|
1114
|
-
export
|
|
1115
|
-
|
|
1116
|
-
protected InitializeModel(model: IModel, designTime: boolean, prevalidation: boolean): void;
|
|
1117
|
-
}
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
export interface RelationalModelRuntimeInitializer$instance extends RelationalModelRuntimeInitializer$protected, ModelRuntimeInitializer {
|
|
1046
|
+
export interface RelationalModelRuntimeInitializer$instance extends ModelRuntimeInitializer {
|
|
1047
|
+
readonly RelationalDependencies: RelationalModelRuntimeInitializerDependencies;
|
|
1121
1048
|
Initialize(model: IModel, designTime?: boolean, validationLogger?: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): IModel;
|
|
1049
|
+
InitializeModel(model: IModel, designTime: boolean, prevalidation: boolean): void;
|
|
1122
1050
|
}
|
|
1123
1051
|
|
|
1124
1052
|
|
|
@@ -1152,62 +1080,58 @@ export const RelationalModelRuntimeInitializerDependencies: {
|
|
|
1152
1080
|
|
|
1153
1081
|
export type RelationalModelRuntimeInitializerDependencies = RelationalModelRuntimeInitializerDependencies$instance;
|
|
1154
1082
|
|
|
1155
|
-
export
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
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 {
|
|
1083
|
+
export interface RelationalModelValidator$instance extends ModelValidator$instance {
|
|
1084
|
+
readonly RelationalDependencies: RelationalModelValidatorDependencies;
|
|
1085
|
+
GetDefaultColumnValue(property: IProperty, storeObject: StoreObjectIdentifier): unknown | undefined;
|
|
1086
|
+
IsRedundant(foreignKey: IForeignKey): boolean;
|
|
1087
|
+
ThrowPropertyNotMappedException(propertyType: string, typeBase: IConventionTypeBase, unmappedProperty: IConventionProperty): void;
|
|
1209
1088
|
Validate(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
1210
1089
|
Validate(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
1090
|
+
ValidateBoolsWithDefaults(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
1091
|
+
ValidateCompatible(property: IProperty, duplicateProperty: IProperty, columnName: string, storeObject: StoreObjectIdentifier, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
1092
|
+
ValidateCompatible(foreignKey: IForeignKey, duplicateForeignKey: IForeignKey, foreignKeyName: string, storeObject: StoreObjectIdentifier, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
1093
|
+
ValidateCompatible(index: IIndex, duplicateIndex: IIndex, indexName: string, storeObject: StoreObjectIdentifier, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
1094
|
+
ValidateCompatible(key: IKey, duplicateKey: IKey, keyName: string, storeObject: StoreObjectIdentifier, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
1095
|
+
ValidateCompatible(checkConstraint: ICheckConstraint, duplicateCheckConstraint: ICheckConstraint, indexName: string, storeObject: StoreObjectIdentifier, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
1096
|
+
ValidateCompatible(trigger: ITrigger, duplicateTrigger: ITrigger, indexName: string, storeObject: StoreObjectIdentifier, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
1097
|
+
ValidateData(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
1098
|
+
ValidateData(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
1099
|
+
ValidateDbFunctions(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
1100
|
+
ValidateDefaultValuesOnKeys(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
1101
|
+
ValidateIndexProperties(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
1102
|
+
ValidateInheritanceMapping(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
1103
|
+
ValidateInheritanceMapping(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
1104
|
+
ValidateJsonEntities(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
1105
|
+
ValidateJsonEntityKey(storeObject: StoreObjectIdentifier, jsonEntityType: IEntityType): void;
|
|
1106
|
+
ValidateJsonEntityNavigations(storeObject: StoreObjectIdentifier, jsonEntityType: IEntityType): void;
|
|
1107
|
+
ValidateJsonEntityProperties(storeObject: StoreObjectIdentifier, jsonEntityType: IEntityType): void;
|
|
1108
|
+
ValidateJsonEntityRoot(storeObject: StoreObjectIdentifier, rootType: IEntityType): void;
|
|
1109
|
+
ValidateMappingFragments(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
1110
|
+
ValidateMappingStrategy(entityType: IEntityType, mappingStrategy: string): void;
|
|
1111
|
+
ValidateNoMutableKeys(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
1112
|
+
ValidateNoMutableKeys(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
1113
|
+
ValidatePrimitiveCollections(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
1114
|
+
ValidatePrimitiveCollections(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
1115
|
+
ValidatePropertyMapping(complexProperty: IConventionComplexProperty, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
1116
|
+
ValidatePropertyMapping(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
1117
|
+
ValidatePropertyMapping(structuralType: IConventionTypeBase, model: IConventionModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
1118
|
+
ValidatePropertyMapping(complexProperty: IConventionComplexProperty, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
1119
|
+
ValidatePropertyOverrides(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
1120
|
+
ValidateSharedCheckConstraintCompatibility(mappedTypes: IReadOnlyList<IEntityType>, storeObject: StoreObjectIdentifier, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
1121
|
+
ValidateSharedColumnsCompatibility(mappedTypes: IReadOnlyList<IEntityType>, storeObject: StoreObjectIdentifier, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
1122
|
+
ValidateSharedForeignKeysCompatibility(mappedTypes: IReadOnlyList<IEntityType>, storeObject: StoreObjectIdentifier, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
1123
|
+
ValidateSharedIndexesCompatibility(mappedTypes: IReadOnlyList<IEntityType>, storeObject: StoreObjectIdentifier, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
1124
|
+
ValidateSharedKeysCompatibility(mappedTypes: IReadOnlyList<IEntityType>, storeObject: StoreObjectIdentifier, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
1125
|
+
ValidateSharedTableCompatibility(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
1126
|
+
ValidateSharedTableCompatibility(mappedTypes: IReadOnlyList<IEntityType>, storeObject: StoreObjectIdentifier, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
1127
|
+
ValidateSharedTriggerCompatibility(mappedTypes: IReadOnlyList<IEntityType>, storeObject: StoreObjectIdentifier, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
1128
|
+
ValidateSharedViewCompatibility(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
1129
|
+
ValidateSharedViewCompatibility(mappedTypes: IReadOnlyList<IEntityType>, viewName: string, schema: string, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
1130
|
+
ValidateSqlQueries(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
1131
|
+
ValidateStoredProcedures(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
1132
|
+
ValidateTriggers(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
1133
|
+
ValidateTriggers(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
1134
|
+
ValidateValueGeneration(entityType: IEntityType, key: IKey, logger: IDiagnosticsLogger_1<DbLoggerCategory_Model_Validation>): void;
|
|
1211
1135
|
}
|
|
1212
1136
|
|
|
1213
1137
|
|
|
@@ -1240,20 +1164,15 @@ export const RelationalModelValidatorDependencies: {
|
|
|
1240
1164
|
|
|
1241
1165
|
export type RelationalModelValidatorDependencies = RelationalModelValidatorDependencies$instance;
|
|
1242
1166
|
|
|
1243
|
-
export
|
|
1244
|
-
protected abstract Clone(): RelationalOptionsExtension;
|
|
1245
|
-
}
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
export interface RelationalOptionsExtension$instance extends RelationalOptionsExtension$protected {
|
|
1167
|
+
export interface RelationalOptionsExtension$instance {
|
|
1249
1168
|
readonly CommandTimeout: Nullable<System_Internal.Int32>;
|
|
1250
|
-
readonly Connection: DbConnection;
|
|
1169
|
+
readonly Connection: DbConnection | undefined;
|
|
1251
1170
|
readonly ConnectionString: string | undefined;
|
|
1252
|
-
readonly ExecutionStrategyFactory: Func<ExecutionStrategyDependencies, IExecutionStrategy
|
|
1171
|
+
readonly ExecutionStrategyFactory: Func<ExecutionStrategyDependencies, IExecutionStrategy> | undefined;
|
|
1253
1172
|
readonly Info: DbContextOptionsExtensionInfo;
|
|
1254
1173
|
readonly IsConnectionOwned: boolean;
|
|
1255
1174
|
readonly MaxBatchSize: Nullable<System_Internal.Int32>;
|
|
1256
|
-
readonly MigrationsAssembly: string;
|
|
1175
|
+
readonly MigrationsAssembly: string | undefined;
|
|
1257
1176
|
readonly MigrationsAssemblyObject: Assembly | undefined;
|
|
1258
1177
|
readonly MigrationsHistoryTableName: string | undefined;
|
|
1259
1178
|
readonly MigrationsHistoryTableSchema: string | undefined;
|
|
@@ -1262,6 +1181,7 @@ export interface RelationalOptionsExtension$instance extends RelationalOptionsEx
|
|
|
1262
1181
|
readonly QuerySplittingBehavior: Nullable<QuerySplittingBehavior>;
|
|
1263
1182
|
readonly UseRelationalNulls: boolean;
|
|
1264
1183
|
ApplyServices(services: IServiceCollection): void;
|
|
1184
|
+
Clone(): RelationalOptionsExtension;
|
|
1265
1185
|
Validate(options: IDbContextOptions): void;
|
|
1266
1186
|
WithCommandTimeout(commandTimeout: Nullable<System_Internal.Int32>): RelationalOptionsExtension;
|
|
1267
1187
|
WithConnection(connection: DbConnection): RelationalOptionsExtension;
|
|
@@ -1280,9 +1200,7 @@ export interface RelationalOptionsExtension$instance extends RelationalOptionsEx
|
|
|
1280
1200
|
}
|
|
1281
1201
|
|
|
1282
1202
|
|
|
1283
|
-
export const RelationalOptionsExtension: {
|
|
1284
|
-
new(): RelationalOptionsExtension;
|
|
1285
|
-
new(copyFrom: RelationalOptionsExtension): RelationalOptionsExtension;
|
|
1203
|
+
export const RelationalOptionsExtension: (abstract new() => RelationalOptionsExtension) & (abstract new(copyFrom: RelationalOptionsExtension) => RelationalOptionsExtension) & {
|
|
1286
1204
|
Extract(options: IDbContextOptions): RelationalOptionsExtension;
|
|
1287
1205
|
WithDefaultWarningConfiguration(coreOptionsExtension: CoreOptionsExtension): CoreOptionsExtension;
|
|
1288
1206
|
};
|
|
@@ -1297,23 +1215,17 @@ export interface RelationalOptionsExtension$instance extends IDbContextOptionsEx
|
|
|
1297
1215
|
export type RelationalOptionsExtension = RelationalOptionsExtension$instance & __RelationalOptionsExtension$views;
|
|
1298
1216
|
|
|
1299
1217
|
|
|
1300
|
-
export
|
|
1301
|
-
|
|
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 {
|
|
1309
|
-
get Item(): unknown | undefined;
|
|
1310
|
-
set Item(value: unknown);
|
|
1218
|
+
export interface RuntimeAnnotatableBase$instance {
|
|
1219
|
+
[name: string]: unknown | undefined;
|
|
1311
1220
|
AddAnnotation(name: string, value: unknown): Annotation;
|
|
1312
1221
|
AddAnnotations(annotations: IEnumerable<IAnnotation>): void;
|
|
1313
1222
|
AddAnnotations(annotations: IReadOnlyDictionary<System_Internal.String, unknown>): void;
|
|
1314
1223
|
AddRuntimeAnnotation(name: string, value: unknown): Annotation;
|
|
1224
|
+
AddRuntimeAnnotation(name: string, annotation: Annotation): Annotation;
|
|
1315
1225
|
AddRuntimeAnnotations(annotations: IEnumerable<Annotation>): void;
|
|
1316
1226
|
AddRuntimeAnnotations(annotations: IReadOnlyDictionary<System_Internal.String, unknown>): void;
|
|
1227
|
+
CreateAnnotation(name: string, value: unknown): Annotation;
|
|
1228
|
+
CreateRuntimeAnnotation(name: string, value: unknown): Annotation;
|
|
1317
1229
|
FindAnnotation(name: string): Annotation | undefined;
|
|
1318
1230
|
FindRuntimeAnnotation(name: string): Annotation | undefined;
|
|
1319
1231
|
GetAnnotation(annotationName: string): Annotation;
|
|
@@ -1323,6 +1235,7 @@ export interface RuntimeAnnotatableBase$instance extends RuntimeAnnotatableBase$
|
|
|
1323
1235
|
RemoveRuntimeAnnotation(name: string): Annotation | undefined;
|
|
1324
1236
|
SetAnnotation(name: string, value: unknown): void;
|
|
1325
1237
|
SetRuntimeAnnotation(name: string, value: unknown): Annotation;
|
|
1238
|
+
SetRuntimeAnnotation(name: string, annotation: Annotation, oldAnnotation: Annotation): Annotation;
|
|
1326
1239
|
}
|
|
1327
1240
|
|
|
1328
1241
|
|