@tsonic/efcore-sqlserver 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 (142) hide show
  1. package/Azure/bindings.json +686 -17
  2. package/Azure/internal/index.d.ts +37 -7
  3. package/Azure.Core/bindings.json +1048 -19
  4. package/Azure.Core/internal/index.d.ts +40 -9
  5. package/Azure.Core.Cryptography/bindings.json +5 -0
  6. package/Azure.Core.Diagnostics/bindings.json +56 -0
  7. package/Azure.Core.Diagnostics/internal/index.d.ts +9 -3
  8. package/Azure.Core.Diagnostics.d.ts +2 -2
  9. package/Azure.Core.Extensions/bindings.json +17 -0
  10. package/Azure.Core.GeoJson/bindings.json +362 -0
  11. package/Azure.Core.Pipeline/bindings.json +450 -3
  12. package/Azure.Core.Pipeline/internal/index.d.ts +27 -4
  13. package/Azure.Core.Pipeline.d.ts +2 -2
  14. package/Azure.Core.Serialization/bindings.json +89 -1
  15. package/Azure.Core.Serialization/internal/index.d.ts +1 -0
  16. package/Azure.Core.d.ts +1 -1
  17. package/Azure.Identity/bindings.json +1039 -58
  18. package/Azure.Identity/internal/index.d.ts +51 -30
  19. package/Azure.Identity.d.ts +1 -1
  20. package/Azure.Messaging/bindings.json +69 -0
  21. package/Azure.Messaging/internal/index.d.ts +6 -1
  22. package/Azure.d.ts +1 -1
  23. package/Microsoft.Data/bindings.json +16 -0
  24. package/Microsoft.Data.Sql/bindings.json +16 -0
  25. package/Microsoft.Data.SqlClient/bindings.json +2482 -38
  26. package/Microsoft.Data.SqlClient/internal/index.d.ts +114 -22
  27. package/Microsoft.Data.SqlClient.DataClassification/bindings.json +66 -0
  28. package/Microsoft.Data.SqlClient.Diagnostics/bindings.json +639 -0
  29. package/Microsoft.Data.SqlClient.Server/bindings.json +163 -0
  30. package/Microsoft.Data.SqlTypes/bindings.json +73 -0
  31. package/Microsoft.EntityFrameworkCore/bindings.json +700 -2
  32. package/Microsoft.EntityFrameworkCore/internal/index.d.ts +9 -2
  33. package/Microsoft.EntityFrameworkCore.Diagnostics/bindings.json +35 -0
  34. package/Microsoft.EntityFrameworkCore.Infrastructure/bindings.json +107 -1
  35. package/Microsoft.EntityFrameworkCore.Infrastructure/internal/index.d.ts +1 -0
  36. package/Microsoft.EntityFrameworkCore.Metadata/bindings.json +27 -0
  37. package/Microsoft.EntityFrameworkCore.Metadata.Builders/bindings.json +78 -0
  38. package/Microsoft.EntityFrameworkCore.Metadata.Conventions/bindings.json +853 -10
  39. package/Microsoft.EntityFrameworkCore.Metadata.Conventions/internal/index.d.ts +85 -13
  40. package/Microsoft.EntityFrameworkCore.Metadata.Conventions.d.ts +3 -2
  41. package/Microsoft.EntityFrameworkCore.Metadata.Internal/bindings.json +10 -0
  42. package/Microsoft.EntityFrameworkCore.Migrations/bindings.json +917 -0
  43. package/Microsoft.EntityFrameworkCore.Migrations/internal/index.d.ts +56 -6
  44. package/Microsoft.EntityFrameworkCore.Migrations.Operations/bindings.json +41 -0
  45. package/Microsoft.EntityFrameworkCore.Migrations.d.ts +6 -5
  46. package/Microsoft.EntityFrameworkCore.SqlServer.Design.Internal/bindings.json +122 -0
  47. package/Microsoft.EntityFrameworkCore.SqlServer.Design.Internal/internal/index.d.ts +10 -2
  48. package/Microsoft.EntityFrameworkCore.SqlServer.Design.Internal.d.ts +1 -1
  49. package/Microsoft.EntityFrameworkCore.SqlServer.Diagnostics.Internal/bindings.json +28 -0
  50. package/Microsoft.EntityFrameworkCore.SqlServer.Extensions.Internal/bindings.json +27 -0
  51. package/Microsoft.EntityFrameworkCore.SqlServer.Infrastructure.Internal/bindings.json +421 -8
  52. package/Microsoft.EntityFrameworkCore.SqlServer.Infrastructure.Internal/internal/index.d.ts +34 -10
  53. package/Microsoft.EntityFrameworkCore.SqlServer.Infrastructure.Internal.d.ts +3 -2
  54. package/Microsoft.EntityFrameworkCore.SqlServer.Internal/bindings.json +87 -0
  55. package/Microsoft.EntityFrameworkCore.SqlServer.Metadata.Internal/bindings.json +56 -0
  56. package/Microsoft.EntityFrameworkCore.SqlServer.Migrations.Internal/bindings.json +95 -0
  57. package/Microsoft.EntityFrameworkCore.SqlServer.Migrations.Internal/internal/index.d.ts +8 -2
  58. package/Microsoft.EntityFrameworkCore.SqlServer.Migrations.Internal.d.ts +1 -1
  59. package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal/bindings.json +2415 -31
  60. package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal/internal/index.d.ts +209 -30
  61. package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal.SqlExpressions/bindings.json +39 -0
  62. package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal.SqlExpressions/internal/index.d.ts +8 -3
  63. package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal.SqlExpressions.d.ts +2 -2
  64. package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal.d.ts +5 -5
  65. package/Microsoft.EntityFrameworkCore.SqlServer.Scaffolding.Internal/bindings.json +32 -0
  66. package/Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal/bindings.json +1816 -67
  67. package/Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal/internal/index.d.ts +197 -27
  68. package/Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.d.ts +2 -2
  69. package/Microsoft.EntityFrameworkCore.SqlServer.Update.Internal/bindings.json +397 -4
  70. package/Microsoft.EntityFrameworkCore.SqlServer.Update.Internal/internal/index.d.ts +38 -7
  71. package/Microsoft.EntityFrameworkCore.SqlServer.Update.Internal.d.ts +3 -3
  72. package/Microsoft.EntityFrameworkCore.SqlServer.ValueGeneration.Internal/bindings.json +138 -1
  73. package/Microsoft.EntityFrameworkCore.SqlServer.ValueGeneration.Internal/internal/index.d.ts +16 -3
  74. package/Microsoft.EntityFrameworkCore.SqlServer.ValueGeneration.Internal.d.ts +3 -1
  75. package/Microsoft.EntityFrameworkCore.d.ts +1 -1
  76. package/Microsoft.Extensions.DependencyInjection/bindings.json +10 -0
  77. package/Microsoft.Identity.Client/bindings.json +1941 -39
  78. package/Microsoft.Identity.Client/internal/index.d.ts +94 -28
  79. package/Microsoft.Identity.Client.Advanced/bindings.json +5 -0
  80. package/Microsoft.Identity.Client.AppConfig/bindings.json +21 -0
  81. package/Microsoft.Identity.Client.AuthScheme/bindings.json +6 -0
  82. package/Microsoft.Identity.Client.AuthScheme.PoP/bindings.json +3 -0
  83. package/Microsoft.Identity.Client.Cache/bindings.json +34 -0
  84. package/Microsoft.Identity.Client.Extensibility/bindings.json +80 -10
  85. package/Microsoft.Identity.Client.Extensibility/internal/index.d.ts +6 -5
  86. package/Microsoft.Identity.Client.Extensions.Msal/bindings.json +117 -0
  87. package/Microsoft.Identity.Client.Extensions.Msal/internal/index.d.ts +2 -1
  88. package/Microsoft.Identity.Client.Extensions.Msal.d.ts +1 -1
  89. package/Microsoft.Identity.Client.Kerberos/bindings.json +77 -0
  90. package/Microsoft.Identity.Client.ManagedIdentity/bindings.json +31 -0
  91. package/Microsoft.Identity.Client.Platforms.Features.DesktopOs.Kerberos/bindings.json +18 -1
  92. package/Microsoft.Identity.Client.Platforms.Features.DesktopOs.Kerberos/internal/index.d.ts +1 -0
  93. package/Microsoft.Identity.Client.RP/bindings.json +10 -0
  94. package/Microsoft.Identity.Client.Region/bindings.json +29 -0
  95. package/Microsoft.Identity.Client.SSHCertificates/bindings.json +6 -0
  96. package/Microsoft.Identity.Client.TelemetryCore.TelemetryClient/bindings.json +6 -0
  97. package/Microsoft.Identity.Client.Utils/bindings.json +10 -0
  98. package/Microsoft.Identity.Client.Utils.Windows/bindings.json +6 -0
  99. package/Microsoft.IdentityModel.Abstractions/bindings.json +135 -1
  100. package/Microsoft.IdentityModel.Abstractions/internal/index.d.ts +1 -0
  101. package/Microsoft.IdentityModel.JsonWebTokens/bindings.json +252 -6
  102. package/Microsoft.IdentityModel.JsonWebTokens/internal/index.d.ts +12 -5
  103. package/Microsoft.IdentityModel.JsonWebTokens.d.ts +1 -1
  104. package/Microsoft.IdentityModel.Logging/bindings.json +122 -2
  105. package/Microsoft.IdentityModel.Logging/internal/index.d.ts +8 -3
  106. package/Microsoft.IdentityModel.Logging.d.ts +1 -1
  107. package/Microsoft.IdentityModel.Protocols/bindings.json +155 -1
  108. package/Microsoft.IdentityModel.Protocols/internal/index.d.ts +1 -0
  109. package/Microsoft.IdentityModel.Protocols.Configuration/bindings.json +30 -0
  110. package/Microsoft.IdentityModel.Protocols.Configuration/internal/index.d.ts +2 -1
  111. package/Microsoft.IdentityModel.Protocols.Configuration.d.ts +1 -1
  112. package/Microsoft.IdentityModel.Protocols.OpenIdConnect/bindings.json +645 -0
  113. package/Microsoft.IdentityModel.Protocols.OpenIdConnect/internal/index.d.ts +17 -2
  114. package/Microsoft.IdentityModel.Protocols.OpenIdConnect.Configuration/bindings.json +17 -0
  115. package/Microsoft.IdentityModel.Protocols.OpenIdConnect.d.ts +1 -1
  116. package/Microsoft.IdentityModel.Tokens/bindings.json +2486 -77
  117. package/Microsoft.IdentityModel.Tokens/internal/index.d.ts +135 -35
  118. package/Microsoft.IdentityModel.Tokens.Configuration/bindings.json +10 -0
  119. package/Microsoft.IdentityModel.Tokens.d.ts +1 -1
  120. package/Microsoft.SqlServer.Server/bindings.json +144 -0
  121. package/System/bindings.json +63 -0
  122. package/System.ClientModel/bindings.json +256 -11
  123. package/System.ClientModel/internal/index.d.ts +22 -6
  124. package/System.ClientModel.Primitives/bindings.json +1673 -120
  125. package/System.ClientModel.Primitives/internal/index.d.ts +111 -17
  126. package/System.ClientModel.Primitives.d.ts +2 -2
  127. package/System.Configuration/bindings.json +5382 -321
  128. package/System.Configuration/internal/index.d.ts +323 -51
  129. package/System.Configuration.Internal/bindings.json +193 -1
  130. package/System.Configuration.Provider/bindings.json +69 -1
  131. package/System.Configuration.Provider/internal/index.d.ts +3 -1
  132. package/System.Configuration.Provider.d.ts +1 -1
  133. package/System.Configuration.d.ts +3 -3
  134. package/System.Diagnostics/bindings.json +5 -0
  135. package/System.Drawing.Configuration/bindings.json +25 -0
  136. package/System.Drawing.Configuration/internal/index.d.ts +11 -3
  137. package/System.Drawing.Configuration.d.ts +5 -2
  138. package/System.IdentityModel.Tokens.Jwt/bindings.json +646 -36
  139. package/System.IdentityModel.Tokens.Jwt/internal/index.d.ts +33 -19
  140. package/System.Security.Cryptography/bindings.json +31 -0
  141. package/System.Text.Json.Serialization/bindings.json +10 -0
  142. package/package.json +1 -1
@@ -5,14 +5,18 @@
5
5
  // Primitive type aliases from @tsonic/core
6
6
  import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
7
7
 
8
+ // Import support types from @tsonic/core
9
+ import type { ptr } from "@tsonic/core/types.js";
10
+
8
11
  // Import types from other namespaces
12
+ import type { IReadOnlyList } from "@tsonic/dotnet/System.Collections.Generic.js";
9
13
  import * as System_Internal from "@tsonic/dotnet/System.js";
10
- import type { Boolean as ClrBoolean, Enum, IComparable, IConvertible, IFormattable, Int32, ISpanFormattable, Nullable, Object as ClrObject, Void } from "@tsonic/dotnet/System.js";
14
+ import type { Boolean as ClrBoolean, Enum, IComparable, IConvertible, IFormattable, Int32, ISpanFormattable, Nullable, Object as ClrObject, String as ClrString, Void } from "@tsonic/dotnet/System.js";
11
15
  import type { IDiagnosticsLogger } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Diagnostics.js";
12
16
  import * as Microsoft_EntityFrameworkCore_Infrastructure_Internal from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Infrastructure.js";
13
17
  import type { DbContextOptionsExtensionInfo, IDbContextOptions, IDbContextOptionsExtension, IModelValidator, ISingletonOptions, ModelValidatorDependencies, RelationalModelValidator, RelationalModelValidatorDependencies, RelationalOptionsExtension } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Infrastructure.js";
14
18
  import type { DbLoggerCategory$Model$Validation } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.js";
15
- import type { IModel } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Metadata.js";
19
+ import type { IEntityType, IIndex, IKey, IModel, IProperty, StoreObjectIdentifier } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Metadata.js";
16
20
  import type { IServiceCollection } from "@tsonic/microsoft-extensions/Microsoft.Extensions.DependencyInjection.js";
17
21
 
18
22
  export enum SqlServerEngineType {
@@ -36,7 +40,23 @@ export interface ISqlServerSingletonOptions$instance extends ISingletonOptions {
36
40
 
37
41
  export type ISqlServerSingletonOptions = ISqlServerSingletonOptions$instance;
38
42
 
39
- export interface SqlServerModelValidator$instance extends RelationalModelValidator {
43
+ export abstract class SqlServerModelValidator$protected {
44
+ protected ValidateByteIdentityMapping(model: IModel, logger: IDiagnosticsLogger<DbLoggerCategory$Model$Validation>): void;
45
+ protected ValidateCompatible(property: IProperty, duplicateProperty: IProperty, columnName: string, storeObject: StoreObjectIdentifier, logger: IDiagnosticsLogger<DbLoggerCategory$Model$Validation>): void;
46
+ protected ValidateCompatible(key: IKey, duplicateKey: IKey, keyName: string, storeObject: StoreObjectIdentifier, logger: IDiagnosticsLogger<DbLoggerCategory$Model$Validation>): void;
47
+ protected ValidateCompatible(index: IIndex, duplicateIndex: IIndex, indexName: string, storeObject: StoreObjectIdentifier, logger: IDiagnosticsLogger<DbLoggerCategory$Model$Validation>): void;
48
+ protected ValidateDecimalColumns(model: IModel, logger: IDiagnosticsLogger<DbLoggerCategory$Model$Validation>): void;
49
+ protected ValidateIndexIncludeProperties(model: IModel, logger: IDiagnosticsLogger<DbLoggerCategory$Model$Validation>): void;
50
+ protected ValidateSharedColumnsCompatibility(mappedTypes: IReadOnlyList<IEntityType>, storeObject: StoreObjectIdentifier, logger: IDiagnosticsLogger<DbLoggerCategory$Model$Validation>): void;
51
+ protected ValidateSharedTableCompatibility(mappedTypes: IReadOnlyList<IEntityType>, storeObject: StoreObjectIdentifier, logger: IDiagnosticsLogger<DbLoggerCategory$Model$Validation>): void;
52
+ protected ValidateTemporalTables(model: IModel, logger: IDiagnosticsLogger<DbLoggerCategory$Model$Validation>): void;
53
+ protected ValidateTypeMappings(model: IModel, logger: IDiagnosticsLogger<DbLoggerCategory$Model$Validation>): void;
54
+ protected ValidateValueGeneration(entityType: IEntityType, key: IKey, logger: IDiagnosticsLogger<DbLoggerCategory$Model$Validation>): void;
55
+ protected ValidateVectorColumns(model: IModel, logger: IDiagnosticsLogger<DbLoggerCategory$Model$Validation>): void;
56
+ }
57
+
58
+
59
+ export interface SqlServerModelValidator$instance extends SqlServerModelValidator$protected, RelationalModelValidator {
40
60
  Validate(model: IModel, logger: IDiagnosticsLogger<DbLoggerCategory$Model$Validation>): void;
41
61
  }
42
62
 
@@ -48,7 +68,12 @@ export const SqlServerModelValidator: {
48
68
 
49
69
  export type SqlServerModelValidator = SqlServerModelValidator$instance;
50
70
 
51
- export interface SqlServerOptionsExtension$instance extends RelationalOptionsExtension {
71
+ export abstract class SqlServerOptionsExtension$protected {
72
+ protected Clone(): RelationalOptionsExtension;
73
+ }
74
+
75
+
76
+ export interface SqlServerOptionsExtension$instance extends SqlServerOptionsExtension$protected, RelationalOptionsExtension {
52
77
  readonly AzureSqlCompatibilityLevel: int;
53
78
  readonly AzureSynapseCompatibilityLevel: int;
54
79
  readonly EngineType: SqlServerEngineType;
@@ -69,6 +94,7 @@ export interface SqlServerOptionsExtension$instance extends RelationalOptionsExt
69
94
 
70
95
  export const SqlServerOptionsExtension: {
71
96
  new(): SqlServerOptionsExtension;
97
+ new(copyFrom: SqlServerOptionsExtension): SqlServerOptionsExtension;
72
98
  readonly SqlServerDefaultCompatibilityLevel: int;
73
99
  readonly AzureSqlDefaultCompatibilityLevel: int;
74
100
  readonly AzureSynapseDefaultCompatibilityLevel: int;
@@ -78,10 +104,10 @@ export const SqlServerOptionsExtension: {
78
104
  export type SqlServerOptionsExtension = SqlServerOptionsExtension$instance;
79
105
 
80
106
  export interface SqlServerSingletonOptions$instance {
81
- readonly AzureSqlCompatibilityLevel: int;
82
- readonly AzureSynapseCompatibilityLevel: int;
83
- readonly EngineType: SqlServerEngineType;
84
- readonly SqlServerCompatibilityLevel: int;
107
+ AzureSqlCompatibilityLevel: int;
108
+ AzureSynapseCompatibilityLevel: int;
109
+ EngineType: SqlServerEngineType;
110
+ SqlServerCompatibilityLevel: int;
85
111
  readonly SupportsJsonFunctions: boolean;
86
112
  readonly SupportsJsonObjectArray: boolean;
87
113
  readonly SupportsJsonType: boolean;
@@ -99,8 +125,6 @@ export interface __SqlServerSingletonOptions$views {
99
125
  As_ISqlServerSingletonOptions(): ISqlServerSingletonOptions$instance;
100
126
  }
101
127
 
102
- export interface SqlServerSingletonOptions$instance extends ISqlServerSingletonOptions$instance {}
103
-
104
128
  export type SqlServerSingletonOptions = SqlServerSingletonOptions$instance & __SqlServerSingletonOptions$views;
105
129
 
106
130
 
@@ -6,11 +6,12 @@
6
6
  import * as Internal from './Microsoft.EntityFrameworkCore.SqlServer.Infrastructure.Internal/internal/index.js';
7
7
 
8
8
  // Cross-namespace type imports for constraints
9
- import type { Boolean as ClrBoolean, Enum, IComparable, IConvertible, IFormattable, Int32, ISpanFormattable, Nullable, Object as ClrObject, Void } from '@tsonic/dotnet/System.js';
9
+ import type { IReadOnlyList } from '@tsonic/dotnet/System.Collections.Generic.js';
10
+ import type { Boolean as ClrBoolean, Enum, IComparable, IConvertible, IFormattable, Int32, ISpanFormattable, Nullable, Object as ClrObject, String as ClrString, Void } from '@tsonic/dotnet/System.js';
10
11
  import type { IDiagnosticsLogger } from '@tsonic/efcore/Microsoft.EntityFrameworkCore.Diagnostics.js';
11
12
  import type { DbContextOptionsExtensionInfo, IDbContextOptions, IDbContextOptionsExtension, IModelValidator, ISingletonOptions, ModelValidatorDependencies, RelationalModelValidator, RelationalModelValidatorDependencies, RelationalOptionsExtension } from '@tsonic/efcore/Microsoft.EntityFrameworkCore.Infrastructure.js';
12
13
  import type { DbLoggerCategory$Model$Validation } from '@tsonic/efcore/Microsoft.EntityFrameworkCore.js';
13
- import type { IModel } from '@tsonic/efcore/Microsoft.EntityFrameworkCore.Metadata.js';
14
+ import type { IEntityType, IIndex, IKey, IModel, IProperty, StoreObjectIdentifier } from '@tsonic/efcore/Microsoft.EntityFrameworkCore.Metadata.js';
14
15
  import type { IServiceCollection } from '@tsonic/microsoft-extensions/Microsoft.Extensions.DependencyInjection.js';
15
16
 
16
17
  // Public API exports (curated - no internal $instance/$views leakage)