@tsonic/efcore 10.0.1 → 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.
Files changed (88) hide show
  1. package/Microsoft.EntityFrameworkCore/bindings.json +2247 -5
  2. package/Microsoft.EntityFrameworkCore/internal/index.d.ts +18 -10
  3. package/Microsoft.EntityFrameworkCore.ChangeTracking/bindings.json +1707 -6
  4. package/Microsoft.EntityFrameworkCore.ChangeTracking/internal/index.d.ts +29 -10
  5. package/Microsoft.EntityFrameworkCore.ChangeTracking.Internal/bindings.json +4784 -172
  6. package/Microsoft.EntityFrameworkCore.ChangeTracking.Internal/internal/index.d.ts +135 -58
  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 +40 -3
  11. package/Microsoft.EntityFrameworkCore.Design.Internal/bindings.json +306 -2
  12. package/Microsoft.EntityFrameworkCore.Design.Internal/internal/index.d.ts +6 -1
  13. package/Microsoft.EntityFrameworkCore.Diagnostics/bindings.json +2919 -10
  14. package/Microsoft.EntityFrameworkCore.Diagnostics/internal/index.d.ts +21 -18
  15. package/Microsoft.EntityFrameworkCore.Diagnostics.Internal/bindings.json +1027 -77
  16. package/Microsoft.EntityFrameworkCore.Diagnostics.Internal/internal/index.d.ts +5 -11
  17. package/Microsoft.EntityFrameworkCore.Infrastructure/bindings.json +4386 -655
  18. package/Microsoft.EntityFrameworkCore.Infrastructure/internal/index.d.ts +144 -25
  19. package/Microsoft.EntityFrameworkCore.Infrastructure.Internal/bindings.json +251 -7
  20. package/Microsoft.EntityFrameworkCore.Infrastructure.Internal/internal/index.d.ts +7 -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 -4
  24. package/Microsoft.EntityFrameworkCore.Metadata/bindings.json +8776 -125
  25. package/Microsoft.EntityFrameworkCore.Metadata/internal/index.d.ts +280 -236
  26. package/Microsoft.EntityFrameworkCore.Metadata.Builders/bindings.json +5621 -147
  27. package/Microsoft.EntityFrameworkCore.Metadata.Builders/internal/index.d.ts +99 -15
  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 +205 -12
  31. package/Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure/bindings.json +152 -3
  32. package/Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure/internal/index.d.ts +5 -1
  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.Internal/internal/index.d.ts +1 -1
  36. package/Microsoft.EntityFrameworkCore.Metadata.Conventions.d.ts +7 -5
  37. package/Microsoft.EntityFrameworkCore.Metadata.Internal/bindings.json +16619 -30
  38. package/Microsoft.EntityFrameworkCore.Metadata.Internal/internal/index.d.ts +372 -117
  39. package/Microsoft.EntityFrameworkCore.Migrations/bindings.json +2197 -67
  40. package/Microsoft.EntityFrameworkCore.Migrations/internal/index.d.ts +99 -12
  41. package/Microsoft.EntityFrameworkCore.Migrations.Internal/bindings.json +1304 -119
  42. package/Microsoft.EntityFrameworkCore.Migrations.Internal/internal/index.d.ts +60 -3
  43. package/Microsoft.EntityFrameworkCore.Migrations.Internal.d.ts +3 -3
  44. package/Microsoft.EntityFrameworkCore.Migrations.Operations/bindings.json +4318 -46
  45. package/Microsoft.EntityFrameworkCore.Migrations.Operations/internal/index.d.ts +193 -54
  46. package/Microsoft.EntityFrameworkCore.Migrations.Operations.Builders/bindings.json +102 -0
  47. package/Microsoft.EntityFrameworkCore.Migrations.Operations.Builders/internal/index.d.ts +1 -0
  48. package/Microsoft.EntityFrameworkCore.Migrations.d.ts +5 -4
  49. package/Microsoft.EntityFrameworkCore.Query/bindings.json +17431 -7313
  50. package/Microsoft.EntityFrameworkCore.Query/internal/index.d.ts +421 -36
  51. package/Microsoft.EntityFrameworkCore.Query.Internal/bindings.json +3807 -228
  52. package/Microsoft.EntityFrameworkCore.Query.Internal/internal/index.d.ts +116 -16
  53. package/Microsoft.EntityFrameworkCore.Query.Internal.d.ts +3 -3
  54. package/Microsoft.EntityFrameworkCore.Query.SqlExpressions/bindings.json +3589 -953
  55. package/Microsoft.EntityFrameworkCore.Query.SqlExpressions/internal/index.d.ts +77 -68
  56. package/Microsoft.EntityFrameworkCore.Query.d.ts +6 -5
  57. package/Microsoft.EntityFrameworkCore.Scaffolding/bindings.json +125 -3
  58. package/Microsoft.EntityFrameworkCore.Scaffolding/internal/index.d.ts +3 -2
  59. package/Microsoft.EntityFrameworkCore.Scaffolding.Metadata/bindings.json +1160 -9
  60. package/Microsoft.EntityFrameworkCore.Scaffolding.Metadata/internal/index.d.ts +63 -22
  61. package/Microsoft.EntityFrameworkCore.Storage/bindings.json +5813 -272
  62. package/Microsoft.EntityFrameworkCore.Storage/internal/index.d.ts +213 -44
  63. package/Microsoft.EntityFrameworkCore.Storage.Internal/bindings.json +534 -6
  64. package/Microsoft.EntityFrameworkCore.Storage.Internal/internal/index.d.ts +18 -3
  65. package/Microsoft.EntityFrameworkCore.Storage.Internal.d.ts +2 -1
  66. package/Microsoft.EntityFrameworkCore.Storage.Json/bindings.json +570 -2
  67. package/Microsoft.EntityFrameworkCore.Storage.Json/internal/index.d.ts +2 -25
  68. package/Microsoft.EntityFrameworkCore.Storage.ValueConversion/bindings.json +652 -2
  69. package/Microsoft.EntityFrameworkCore.Storage.ValueConversion/internal/index.d.ts +3 -1
  70. package/Microsoft.EntityFrameworkCore.Storage.ValueConversion.Internal/bindings.json +663 -16
  71. package/Microsoft.EntityFrameworkCore.Storage.ValueConversion.Internal/internal/index.d.ts +28 -1
  72. package/Microsoft.EntityFrameworkCore.Storage.ValueConversion.Internal.d.ts +1 -1
  73. package/Microsoft.EntityFrameworkCore.Storage.d.ts +4 -4
  74. package/Microsoft.EntityFrameworkCore.Update/bindings.json +2027 -340
  75. package/Microsoft.EntityFrameworkCore.Update/internal/index.d.ts +113 -51
  76. package/Microsoft.EntityFrameworkCore.Update.Internal/bindings.json +1074 -6
  77. package/Microsoft.EntityFrameworkCore.Update.Internal/internal/index.d.ts +20 -6
  78. package/Microsoft.EntityFrameworkCore.Update.Internal.d.ts +1 -1
  79. package/Microsoft.EntityFrameworkCore.Update.d.ts +2 -2
  80. package/Microsoft.EntityFrameworkCore.ValueGeneration/bindings.json +479 -5
  81. package/Microsoft.EntityFrameworkCore.ValueGeneration/internal/index.d.ts +16 -5
  82. package/Microsoft.EntityFrameworkCore.ValueGeneration.Internal/bindings.json +262 -2
  83. package/Microsoft.EntityFrameworkCore.ValueGeneration.Internal/internal/index.d.ts +3 -1
  84. package/Microsoft.EntityFrameworkCore.ValueGeneration.d.ts +1 -1
  85. package/Microsoft.EntityFrameworkCore.d.ts +2 -1
  86. package/Microsoft.Extensions.DependencyInjection/bindings.json +15 -0
  87. package/System.Transactions/bindings.json +6 -0
  88. package/package.json +1 -1
@@ -123,7 +123,7 @@ export interface IDesignTimeServices$instance {
123
123
  export type IDesignTimeServices = IDesignTimeServices$instance;
124
124
 
125
125
  export interface IMethodCallCodeFragment$instance {
126
- readonly DeclaringType: string;
126
+ readonly DeclaringType: string | undefined;
127
127
  readonly Method: string;
128
128
  readonly TypeArguments: IEnumerable<System_Internal.String>;
129
129
  readonly Arguments: IEnumerable<unknown | undefined>;
@@ -134,10 +134,28 @@ export interface IMethodCallCodeFragment$instance {
134
134
  export type IMethodCallCodeFragment = IMethodCallCodeFragment$instance;
135
135
 
136
136
  export interface AnnotationCodeGenerator$instance {
137
+ readonly Dependencies: AnnotationCodeGeneratorDependencies;
137
138
  FilterIgnoredAnnotations(annotations: IEnumerable<IAnnotation>): IEnumerable<IAnnotation>;
139
+ GenerateDataAnnotation(entityType: IEntityType, annotation: IAnnotation): AttributeCodeFragment | undefined;
140
+ GenerateDataAnnotation(property: IProperty, annotation: IAnnotation): AttributeCodeFragment | undefined;
138
141
  GenerateDataAnnotationAttributes(entityType: IEntityType, annotations: IDictionary<System_Internal.String, IAnnotation>): IReadOnlyList<AttributeCodeFragment>;
139
142
  GenerateDataAnnotationAttributes(property: IProperty, annotations: IDictionary<System_Internal.String, IAnnotation>): IReadOnlyList<AttributeCodeFragment>;
140
143
  GenerateDataAnnotationAttributes(annotatable: IAnnotatable, annotations: IDictionary<System_Internal.String, IAnnotation>): IReadOnlyList<AttributeCodeFragment>;
144
+ GenerateFluentApi(model: IModel, annotation: IAnnotation): MethodCallCodeFragment | undefined;
145
+ GenerateFluentApi(entityType: IEntityType, annotation: IAnnotation): MethodCallCodeFragment | undefined;
146
+ GenerateFluentApi(complexType: IComplexType, annotation: IAnnotation): MethodCallCodeFragment | undefined;
147
+ GenerateFluentApi(fragment: IEntityTypeMappingFragment, annotation: IAnnotation): MethodCallCodeFragment | undefined;
148
+ GenerateFluentApi(key: IKey, annotation: IAnnotation): MethodCallCodeFragment | undefined;
149
+ GenerateFluentApi(property: IProperty, annotation: IAnnotation): MethodCallCodeFragment | undefined;
150
+ GenerateFluentApi(complexProperty: IComplexProperty, annotation: IAnnotation): MethodCallCodeFragment | undefined;
151
+ GenerateFluentApi(foreignKey: IForeignKey, annotation: IAnnotation): MethodCallCodeFragment | undefined;
152
+ GenerateFluentApi(navigation: INavigation, annotation: IAnnotation): MethodCallCodeFragment | undefined;
153
+ GenerateFluentApi(navigation: ISkipNavigation, annotation: IAnnotation): MethodCallCodeFragment | undefined;
154
+ GenerateFluentApi(index: IIndex, annotation: IAnnotation): MethodCallCodeFragment | undefined;
155
+ GenerateFluentApi(checkConstraint: ICheckConstraint, annotation: IAnnotation): MethodCallCodeFragment | undefined;
156
+ GenerateFluentApi(trigger: ITrigger, annotation: IAnnotation): MethodCallCodeFragment | undefined;
157
+ GenerateFluentApi(overrides: IRelationalPropertyOverrides, annotation: IAnnotation): MethodCallCodeFragment | undefined;
158
+ GenerateFluentApi(sequence: ISequence, annotation: IAnnotation): MethodCallCodeFragment | undefined;
141
159
  GenerateFluentApiCalls(model: IModel, annotations: IDictionary<System_Internal.String, IAnnotation>): IReadOnlyList<MethodCallCodeFragment>;
142
160
  GenerateFluentApiCalls(entityType: IEntityType, annotations: IDictionary<System_Internal.String, IAnnotation>): IReadOnlyList<MethodCallCodeFragment>;
143
161
  GenerateFluentApiCalls(complexType: IComplexType, annotations: IDictionary<System_Internal.String, IAnnotation>): IReadOnlyList<MethodCallCodeFragment>;
@@ -154,6 +172,21 @@ export interface AnnotationCodeGenerator$instance {
154
172
  GenerateFluentApiCalls(overrides: IRelationalPropertyOverrides, annotations: IDictionary<System_Internal.String, IAnnotation>): IReadOnlyList<MethodCallCodeFragment>;
155
173
  GenerateFluentApiCalls(sequence: ISequence, annotations: IDictionary<System_Internal.String, IAnnotation>): IReadOnlyList<MethodCallCodeFragment>;
156
174
  GenerateFluentApiCalls(annotatable: IAnnotatable, annotations: IDictionary<System_Internal.String, IAnnotation>): IReadOnlyList<MethodCallCodeFragment>;
175
+ IsHandledByConvention(model: IModel, annotation: IAnnotation): boolean;
176
+ IsHandledByConvention(entityType: IEntityType, annotation: IAnnotation): boolean;
177
+ IsHandledByConvention(complexType: IComplexType, annotation: IAnnotation): boolean;
178
+ IsHandledByConvention(fragment: IEntityTypeMappingFragment, annotation: IAnnotation): boolean;
179
+ IsHandledByConvention(key: IKey, annotation: IAnnotation): boolean;
180
+ IsHandledByConvention(property: IProperty, annotation: IAnnotation): boolean;
181
+ IsHandledByConvention(complexProperty: IComplexProperty, annotation: IAnnotation): boolean;
182
+ IsHandledByConvention(foreignKey: IForeignKey, annotation: IAnnotation): boolean;
183
+ IsHandledByConvention(navigation: INavigation, annotation: IAnnotation): boolean;
184
+ IsHandledByConvention(navigation: ISkipNavigation, annotation: IAnnotation): boolean;
185
+ IsHandledByConvention(index: IIndex, annotation: IAnnotation): boolean;
186
+ IsHandledByConvention(checkConstraint: ICheckConstraint, annotation: IAnnotation): boolean;
187
+ IsHandledByConvention(trigger: ITrigger, annotation: IAnnotation): boolean;
188
+ IsHandledByConvention(overrides: IRelationalPropertyOverrides, annotation: IAnnotation): boolean;
189
+ IsHandledByConvention(sequence: ISequence, annotation: IAnnotation): boolean;
157
190
  RemoveAnnotationsHandledByConventions(model: IModel, annotations: IDictionary<System_Internal.String, IAnnotation>): void;
158
191
  RemoveAnnotationsHandledByConventions(entityType: IEntityType, annotations: IDictionary<System_Internal.String, IAnnotation>): void;
159
192
  RemoveAnnotationsHandledByConventions(complexType: IComplexType, annotations: IDictionary<System_Internal.String, IAnnotation>): void;
@@ -245,6 +278,8 @@ export type DesignTimeServicesReferenceAttribute = DesignTimeServicesReferenceAt
245
278
 
246
279
  export interface EntityFrameworkDesignServicesBuilder$instance extends EntityFrameworkServicesBuilder {
247
280
  TryAddCoreServices(): EntityFrameworkServicesBuilder;
281
+ TryGetServiceCharacteristics(serviceType: Type): Nullable<ServiceCharacteristics>;
282
+ TryGetServiceCharacteristics(serviceType: Type): Nullable<ServiceCharacteristics>;
248
283
  }
249
284
 
250
285
 
@@ -258,6 +293,8 @@ export type EntityFrameworkDesignServicesBuilder = EntityFrameworkDesignServices
258
293
 
259
294
  export interface EntityFrameworkRelationalDesignServicesBuilder$instance extends EntityFrameworkDesignServicesBuilder {
260
295
  TryAddCoreServices(): EntityFrameworkServicesBuilder;
296
+ TryGetServiceCharacteristics(serviceType: Type): Nullable<ServiceCharacteristics>;
297
+ TryGetServiceCharacteristics(serviceType: Type): Nullable<ServiceCharacteristics>;
261
298
  }
262
299
 
263
300
 
@@ -272,10 +309,10 @@ export type EntityFrameworkRelationalDesignServicesBuilder = EntityFrameworkRela
272
309
  export interface MethodCallCodeFragment$instance {
273
310
  readonly Arguments: IReadOnlyList<unknown | undefined>;
274
311
  readonly ChainedCall: MethodCallCodeFragment | undefined;
275
- readonly DeclaringType: string;
312
+ readonly DeclaringType: string | undefined;
276
313
  readonly Method: string;
277
314
  readonly MethodInfo: MethodInfo | undefined;
278
- readonly Namespace: string;
315
+ readonly Namespace: string | undefined;
279
316
  Chain(methodInfo: MethodInfo, ...arguments: unknown[]): MethodCallCodeFragment;
280
317
  Chain(method: string, ...arguments: unknown[]): MethodCallCodeFragment;
281
318
  Chain(call: MethodCallCodeFragment): MethodCallCodeFragment;