@tsonic/efcore-sqlserver 10.0.12 → 10.0.16

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.
@@ -401,7 +401,6 @@ export type AbstractApplicationBuilder_1<T extends BaseAbstractApplicationBuilde
401
401
  export interface AbstractClientAppBaseAcquireTokenParameterBuilder_1$instance<T extends AbstractAcquireTokenParameterBuilder_1<T>> extends AbstractAcquireTokenParameterBuilder_1<T> {
402
402
  readonly __tsonic_type_Microsoft_Identity_Client_AbstractClientAppBaseAcquireTokenParameterBuilder_1: never;
403
403
 
404
- ExecuteAsync(cancellationToken: CancellationToken): Task_1<AuthenticationResult>;
405
404
  ExecuteAsync(cancellationToken: CancellationToken): Task_1<AuthenticationResult>;
406
405
  ExecuteAsync(): Task_1<AuthenticationResult>;
407
406
  }
@@ -416,7 +415,6 @@ export type AbstractClientAppBaseAcquireTokenParameterBuilder_1<T extends Abstra
416
415
  export interface AbstractConfidentialClientAcquireTokenParameterBuilder_1$instance<T extends AbstractAcquireTokenParameterBuilder_1<T>> extends AbstractAcquireTokenParameterBuilder_1<T> {
417
416
  readonly __tsonic_type_Microsoft_Identity_Client_AbstractConfidentialClientAcquireTokenParameterBuilder_1: never;
418
417
 
419
- ExecuteAsync(cancellationToken: CancellationToken): Task_1<AuthenticationResult>;
420
418
  ExecuteAsync(cancellationToken: CancellationToken): Task_1<AuthenticationResult>;
421
419
  ExecuteAsync(): Task_1<AuthenticationResult>;
422
420
  Validate(): void;
@@ -434,7 +432,6 @@ export type AbstractConfidentialClientAcquireTokenParameterBuilder_1<T extends A
434
432
  export interface AbstractManagedIdentityAcquireTokenParameterBuilder_1$instance<T extends BaseAbstractAcquireTokenParameterBuilder_1<T>> extends BaseAbstractAcquireTokenParameterBuilder_1<T> {
435
433
  readonly __tsonic_type_Microsoft_Identity_Client_AbstractManagedIdentityAcquireTokenParameterBuilder_1: never;
436
434
 
437
- ExecuteAsync(cancellationToken: CancellationToken): Task_1<AuthenticationResult>;
438
435
  ExecuteAsync(cancellationToken: CancellationToken): Task_1<AuthenticationResult>;
439
436
  ExecuteAsync(): Task_1<AuthenticationResult>;
440
437
  }
@@ -449,7 +446,6 @@ export type AbstractManagedIdentityAcquireTokenParameterBuilder_1<T extends Base
449
446
  export interface AbstractPublicClientAcquireTokenParameterBuilder_1$instance<T extends AbstractAcquireTokenParameterBuilder_1<T>> extends AbstractAcquireTokenParameterBuilder_1<T> {
450
447
  readonly __tsonic_type_Microsoft_Identity_Client_AbstractPublicClientAcquireTokenParameterBuilder_1: never;
451
448
 
452
- ExecuteAsync(cancellationToken: CancellationToken): Task_1<AuthenticationResult>;
453
449
  ExecuteAsync(cancellationToken: CancellationToken): Task_1<AuthenticationResult>;
454
450
  ExecuteAsync(): Task_1<AuthenticationResult>;
455
451
  }
@@ -938,18 +934,8 @@ export interface ConfidentialClientApplication$instance extends ClientApplicatio
938
934
  AcquireTokenForClient(scopes: IEnumerable_1<System_Internal.String>): AcquireTokenForClientParameterBuilder;
939
935
  AcquireTokenInLongRunningProcess(scopes: IEnumerable_1<System_Internal.String>, longRunningProcessSessionKey: string): AcquireTokenOnBehalfOfParameterBuilder;
940
936
  AcquireTokenOnBehalfOf(scopes: IEnumerable_1<System_Internal.String>, userAssertion: UserAssertion): AcquireTokenOnBehalfOfParameterBuilder;
941
- AcquireTokenSilent(scopes: IEnumerable_1<System_Internal.String>, account: IAccount): AcquireTokenSilentParameterBuilder;
942
- AcquireTokenSilent(scopes: IEnumerable_1<System_Internal.String>, loginHint: string): AcquireTokenSilentParameterBuilder;
943
- GetAccountAsync(accountId: string, cancellationToken?: CancellationToken): Task_1<IAccount>;
944
- GetAccountAsync(accountId: string): Task_1<IAccount>;
945
- GetAccountsAsync(): Task_1<IEnumerable_1<IAccount>>;
946
- GetAccountsAsync(cancellationToken?: CancellationToken): Task_1<IEnumerable_1<IAccount>>;
947
- GetAccountsAsync(userFlow: string): Task_1<IEnumerable_1<IAccount>>;
948
- GetAccountsAsync(userFlow: string, cancellationToken?: CancellationToken): Task_1<IEnumerable_1<IAccount>>;
949
937
  GetAuthorizationRequestUrl(scopes: IEnumerable_1<System_Internal.String>): GetAuthorizationRequestUrlParameterBuilder;
950
938
  InitiateLongRunningProcessInWebApi(scopes: IEnumerable_1<System_Internal.String>, userToken: string, longRunningProcessSessionKey: string): AcquireTokenOnBehalfOfParameterBuilder;
951
- RemoveAsync(account: IAccount): Task;
952
- RemoveAsync(account: IAccount, cancellationToken?: CancellationToken): Task;
953
939
  StopLongRunningProcessInWebApiAsync(longRunningProcessSessionKey: string, cancellationToken?: CancellationToken): Task_1<System_Internal.Boolean>;
954
940
  }
955
941
 
@@ -1319,21 +1305,11 @@ export interface PublicClientApplication$instance extends ClientApplicationBase$
1319
1305
  AcquireTokenByUsernamePassword(scopes: IEnumerable_1<System_Internal.String>, username: string, password: SecureString): AcquireTokenByUsernamePasswordParameterBuilder;
1320
1306
  AcquireTokenByUsernamePassword(scopes: IEnumerable_1<System_Internal.String>, username: string, password: string): AcquireTokenByUsernamePasswordParameterBuilder;
1321
1307
  AcquireTokenInteractive(scopes: IEnumerable_1<System_Internal.String>): AcquireTokenInteractiveParameterBuilder;
1322
- AcquireTokenSilent(scopes: IEnumerable_1<System_Internal.String>, account: IAccount): AcquireTokenSilentParameterBuilder;
1323
- AcquireTokenSilent(scopes: IEnumerable_1<System_Internal.String>, loginHint: string): AcquireTokenSilentParameterBuilder;
1324
1308
  AcquireTokenWithDeviceCode(scopes: IEnumerable_1<System_Internal.String>, deviceCodeResultCallback: Func_2<DeviceCodeResult, Task>): AcquireTokenWithDeviceCodeParameterBuilder;
1325
- GetAccountAsync(accountId: string, cancellationToken?: CancellationToken): Task_1<IAccount>;
1326
- GetAccountAsync(accountId: string): Task_1<IAccount>;
1327
- GetAccountsAsync(): Task_1<IEnumerable_1<IAccount>>;
1328
- GetAccountsAsync(cancellationToken?: CancellationToken): Task_1<IEnumerable_1<IAccount>>;
1329
- GetAccountsAsync(userFlow: string): Task_1<IEnumerable_1<IAccount>>;
1330
- GetAccountsAsync(userFlow: string, cancellationToken?: CancellationToken): Task_1<IEnumerable_1<IAccount>>;
1331
1309
  IsBrokerAvailable(): boolean;
1332
1310
  IsEmbeddedWebViewAvailable(): boolean;
1333
1311
  IsProofOfPossessionSupportedByClient(): boolean;
1334
1312
  IsUserInteractive(): boolean;
1335
- RemoveAsync(account: IAccount): Task;
1336
- RemoveAsync(account: IAccount, cancellationToken?: CancellationToken): Task;
1337
1313
  }
1338
1314
 
1339
1315
 
@@ -2109,46 +2109,6 @@
2109
2109
  "declaringClrType": "Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler",
2110
2110
  "declaringAssemblyName": "Microsoft.IdentityModel.JsonWebTokens",
2111
2111
  "isExtensionMethod": false
2112
- },
2113
- {
2114
- "stableId": "Microsoft.IdentityModel.JsonWebTokens:Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler::ValidateTokenAsync(System.String,Microsoft.IdentityModel.Tokens.TokenValidationParameters):System.Threading.Tasks.Task_1",
2115
- "clrName": "ValidateTokenAsync",
2116
- "metadataToken": 0,
2117
- "canonicalSignature": "(System.String,Microsoft.IdentityModel.Tokens.TokenValidationParameters):System.Threading.Tasks.Task_1",
2118
- "normalizedSignature": "ValidateTokenAsync|(System.String,Microsoft.IdentityModel.Tokens.TokenValidationParameters):System.Threading.Tasks.Task_1|static=false",
2119
- "emitScope": "ClassSurface",
2120
- "provenance": "BaseOverload",
2121
- "arity": 0,
2122
- "parameterCount": 2,
2123
- "isStatic": false,
2124
- "isAbstract": false,
2125
- "isVirtual": true,
2126
- "isOverride": false,
2127
- "isSealed": false,
2128
- "visibility": "Public",
2129
- "declaringClrType": "Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler",
2130
- "declaringAssemblyName": "Microsoft.IdentityModel.JsonWebTokens",
2131
- "isExtensionMethod": false
2132
- },
2133
- {
2134
- "stableId": "Microsoft.IdentityModel.JsonWebTokens:Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler::ValidateTokenAsync(Microsoft.IdentityModel.Tokens.SecurityToken,Microsoft.IdentityModel.Tokens.TokenValidationParameters):System.Threading.Tasks.Task_1",
2135
- "clrName": "ValidateTokenAsync",
2136
- "metadataToken": 0,
2137
- "canonicalSignature": "(Microsoft.IdentityModel.Tokens.SecurityToken,Microsoft.IdentityModel.Tokens.TokenValidationParameters):System.Threading.Tasks.Task_1",
2138
- "normalizedSignature": "ValidateTokenAsync|(Microsoft.IdentityModel.Tokens.SecurityToken,Microsoft.IdentityModel.Tokens.TokenValidationParameters):System.Threading.Tasks.Task_1|static=false",
2139
- "emitScope": "ClassSurface",
2140
- "provenance": "BaseOverload",
2141
- "arity": 0,
2142
- "parameterCount": 2,
2143
- "isStatic": false,
2144
- "isAbstract": false,
2145
- "isVirtual": true,
2146
- "isOverride": false,
2147
- "isSealed": false,
2148
- "visibility": "Public",
2149
- "declaringClrType": "Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler",
2150
- "declaringAssemblyName": "Microsoft.IdentityModel.JsonWebTokens",
2151
- "isExtensionMethod": false
2152
2112
  }
2153
2113
  ],
2154
2114
  "properties": [
@@ -195,8 +195,6 @@ export interface JsonWebTokenHandler$instance extends TokenHandler {
195
195
  ValidateToken(token: string, validationParameters: TokenValidationParameters): TokenValidationResult;
196
196
  ValidateTokenAsync(token: string, validationParameters: TokenValidationParameters): Task_1<TokenValidationResult>;
197
197
  ValidateTokenAsync(token: SecurityToken, validationParameters: TokenValidationParameters): Task_1<TokenValidationResult>;
198
- ValidateTokenAsync(token: string, validationParameters: TokenValidationParameters): Task_1<TokenValidationResult>;
199
- ValidateTokenAsync(token: SecurityToken, validationParameters: TokenValidationParameters): Task_1<TokenValidationResult>;
200
198
  }
201
199
 
202
200
 
@@ -603,26 +603,6 @@
603
603
  "declaringAssemblyName": "Microsoft.IdentityModel.Protocols",
604
604
  "isExtensionMethod": false,
605
605
  "sourceInterface": "Microsoft.IdentityModel.Protocols.IConfigurationManager\u00601"
606
- },
607
- {
608
- "stableId": "Microsoft.IdentityModel.Protocols:Microsoft.IdentityModel.Protocols.ConfigurationManager\u00601::GetBaseConfigurationAsync(System.Threading.CancellationToken):System.Threading.Tasks.Task_1",
609
- "clrName": "GetBaseConfigurationAsync",
610
- "metadataToken": 0,
611
- "canonicalSignature": "(System.Threading.CancellationToken):System.Threading.Tasks.Task_1",
612
- "normalizedSignature": "GetBaseConfigurationAsync|(System.Threading.CancellationToken):System.Threading.Tasks.Task_1|static=false",
613
- "emitScope": "ClassSurface",
614
- "provenance": "BaseOverload",
615
- "arity": 0,
616
- "parameterCount": 1,
617
- "isStatic": false,
618
- "isAbstract": false,
619
- "isVirtual": true,
620
- "isOverride": false,
621
- "isSealed": false,
622
- "visibility": "Public",
623
- "declaringClrType": "Microsoft.IdentityModel.Protocols.ConfigurationManager\u00601",
624
- "declaringAssemblyName": "Microsoft.IdentityModel.Protocols",
625
- "isExtensionMethod": false
626
606
  }
627
607
  ],
628
608
  "properties": [],
@@ -1372,26 +1352,6 @@
1372
1352
  "declaringAssemblyName": "Microsoft.IdentityModel.Protocols",
1373
1353
  "isExtensionMethod": false,
1374
1354
  "sourceInterface": "Microsoft.IdentityModel.Protocols.IConfigurationManager\u00601"
1375
- },
1376
- {
1377
- "stableId": "Microsoft.IdentityModel.Protocols:Microsoft.IdentityModel.Protocols.StaticConfigurationManager\u00601::GetBaseConfigurationAsync(System.Threading.CancellationToken):System.Threading.Tasks.Task_1",
1378
- "clrName": "GetBaseConfigurationAsync",
1379
- "metadataToken": 0,
1380
- "canonicalSignature": "(System.Threading.CancellationToken):System.Threading.Tasks.Task_1",
1381
- "normalizedSignature": "GetBaseConfigurationAsync|(System.Threading.CancellationToken):System.Threading.Tasks.Task_1|static=false",
1382
- "emitScope": "ClassSurface",
1383
- "provenance": "BaseOverload",
1384
- "arity": 0,
1385
- "parameterCount": 1,
1386
- "isStatic": false,
1387
- "isAbstract": false,
1388
- "isVirtual": true,
1389
- "isOverride": false,
1390
- "isSealed": false,
1391
- "visibility": "Public",
1392
- "declaringClrType": "Microsoft.IdentityModel.Protocols.StaticConfigurationManager\u00601",
1393
- "declaringAssemblyName": "Microsoft.IdentityModel.Protocols",
1394
- "isExtensionMethod": false
1395
1355
  }
1396
1356
  ],
1397
1357
  "properties": [],
@@ -85,7 +85,6 @@ export interface ConfigurationManager_1$instance<T> extends BaseConfigurationMan
85
85
 
86
86
  readonly __tsonic_iface_Microsoft_IdentityModel_Protocols_IConfigurationManager_1: never;
87
87
 
88
- GetBaseConfigurationAsync(cancel: CancellationToken): Task_1<BaseConfiguration>;
89
88
  GetBaseConfigurationAsync(cancel: CancellationToken): Task_1<BaseConfiguration>;
90
89
  GetConfigurationAsync(): Task_1<T>;
91
90
  GetConfigurationAsync(cancel: CancellationToken): Task_1<T>;
@@ -202,7 +201,6 @@ export interface StaticConfigurationManager_1$instance<T> extends BaseConfigurat
202
201
 
203
202
  readonly __tsonic_iface_Microsoft_IdentityModel_Protocols_IConfigurationManager_1: never;
204
203
 
205
- GetBaseConfigurationAsync(cancel: CancellationToken): Task_1<BaseConfiguration>;
206
204
  GetBaseConfigurationAsync(cancel: CancellationToken): Task_1<BaseConfiguration>;
207
205
  GetConfigurationAsync(cancel: CancellationToken): Task_1<T>;
208
206
  RequestRefresh(): void;
@@ -2435,37 +2435,11 @@
2435
2435
  "isAbstract": false,
2436
2436
  "isVirtual": true,
2437
2437
  "isOverride": false,
2438
- "isSealed": false,
2438
+ "isSealed": true,
2439
2439
  "visibility": "Public",
2440
2440
  "declaringClrType": "Microsoft.IdentityModel.Tokens.AsymmetricSignatureProvider",
2441
2441
  "declaringAssemblyName": "Microsoft.IdentityModel.Tokens",
2442
2442
  "isExtensionMethod": false
2443
- },
2444
- {
2445
- "stableId": "Microsoft.IdentityModel.Tokens:Microsoft.IdentityModel.Tokens.AsymmetricSignatureProvider::Sign(System.ReadOnlySpan_1,System.Span_1,System.Int32\u0026):System.Boolean",
2446
- "clrName": "Sign",
2447
- "metadataToken": 0,
2448
- "canonicalSignature": "(System.ReadOnlySpan_1,System.Span_1,System.Int32\u0026):System.Boolean",
2449
- "normalizedSignature": "Sign|(System.ReadOnlySpan_1,System.Span_1,System.Int32\u0026):System.Boolean|static=false",
2450
- "emitScope": "ClassSurface",
2451
- "provenance": "BaseOverload",
2452
- "arity": 0,
2453
- "parameterCount": 3,
2454
- "isStatic": false,
2455
- "isAbstract": false,
2456
- "isVirtual": true,
2457
- "isOverride": false,
2458
- "isSealed": false,
2459
- "visibility": "Public",
2460
- "declaringClrType": "Microsoft.IdentityModel.Tokens.AsymmetricSignatureProvider",
2461
- "declaringAssemblyName": "Microsoft.IdentityModel.Tokens",
2462
- "isExtensionMethod": false,
2463
- "parameterModifiers": [
2464
- {
2465
- "index": 2,
2466
- "modifier": "out"
2467
- }
2468
- ]
2469
2443
  }
2470
2444
  ],
2471
2445
  "properties": [
@@ -6520,7 +6494,7 @@
6520
6494
  "isAbstract": false,
6521
6495
  "isVirtual": true,
6522
6496
  "isOverride": false,
6523
- "isSealed": false,
6497
+ "isSealed": true,
6524
6498
  "visibility": "Public",
6525
6499
  "declaringClrType": "Microsoft.IdentityModel.Tokens.RsaKeyWrapProvider",
6526
6500
  "declaringAssemblyName": "Microsoft.IdentityModel.Tokens",
@@ -10590,7 +10564,7 @@
10590
10564
  "isAbstract": false,
10591
10565
  "isVirtual": true,
10592
10566
  "isOverride": false,
10593
- "isSealed": false,
10567
+ "isSealed": true,
10594
10568
  "visibility": "Public",
10595
10569
  "declaringClrType": "Microsoft.IdentityModel.Tokens.SymmetricKeyWrapProvider",
10596
10570
  "declaringAssemblyName": "Microsoft.IdentityModel.Tokens",
@@ -11027,37 +11001,11 @@
11027
11001
  "isAbstract": false,
11028
11002
  "isVirtual": true,
11029
11003
  "isOverride": false,
11030
- "isSealed": false,
11004
+ "isSealed": true,
11031
11005
  "visibility": "Public",
11032
11006
  "declaringClrType": "Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider",
11033
11007
  "declaringAssemblyName": "Microsoft.IdentityModel.Tokens",
11034
11008
  "isExtensionMethod": false
11035
- },
11036
- {
11037
- "stableId": "Microsoft.IdentityModel.Tokens:Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider::Sign(System.ReadOnlySpan_1,System.Span_1,System.Int32\u0026):System.Boolean",
11038
- "clrName": "Sign",
11039
- "metadataToken": 0,
11040
- "canonicalSignature": "(System.ReadOnlySpan_1,System.Span_1,System.Int32\u0026):System.Boolean",
11041
- "normalizedSignature": "Sign|(System.ReadOnlySpan_1,System.Span_1,System.Int32\u0026):System.Boolean|static=false",
11042
- "emitScope": "ClassSurface",
11043
- "provenance": "BaseOverload",
11044
- "arity": 0,
11045
- "parameterCount": 3,
11046
- "isStatic": false,
11047
- "isAbstract": false,
11048
- "isVirtual": true,
11049
- "isOverride": false,
11050
- "isSealed": false,
11051
- "visibility": "Public",
11052
- "declaringClrType": "Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider",
11053
- "declaringAssemblyName": "Microsoft.IdentityModel.Tokens",
11054
- "isExtensionMethod": false,
11055
- "parameterModifiers": [
11056
- {
11057
- "index": 2,
11058
- "modifier": "out"
11059
- }
11060
- ]
11061
11009
  }
11062
11010
  ],
11063
11011
  "properties": [
@@ -161,7 +161,6 @@ export interface AsymmetricSignatureProvider$instance extends SignatureProvider
161
161
  Sign(input: ReadOnlySpan_1<System_Internal.Byte>, signature: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
162
162
  Sign(input: byte[]): byte[];
163
163
  Sign(input: byte[], offset: int, count: int): byte[];
164
- Sign(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
165
164
  ValidateAsymmetricSecurityKeySize(key: SecurityKey, algorithm: string, willCreateSignatures: boolean): void;
166
165
  Verify(input: byte[], signature: byte[]): boolean;
167
166
  Verify(input: byte[], inputOffset: int, inputLength: int, signature: byte[], signatureOffset: int, signatureLength: int): boolean;
@@ -893,6 +892,8 @@ export interface SecurityTokenHandler$instance extends TokenHandler, ISecurityTo
893
892
  CanReadToken(tokenString: string): boolean;
894
893
  CreateSecurityTokenReference(token: SecurityToken, attached: boolean): SecurityKeyIdentifierClause;
895
894
  CreateToken(tokenDescriptor: SecurityTokenDescriptor): SecurityToken;
895
+ ReadToken(reader: XmlReader): SecurityToken;
896
+ ReadToken(reader: XmlReader, validationParameters: TokenValidationParameters): SecurityToken;
896
897
  ReadToken(token: string): SecurityToken;
897
898
  ValidateToken(securityToken: string, validationParameters: TokenValidationParameters, validatedToken: SecurityToken): ClaimsPrincipal;
898
899
  ValidateToken(reader: XmlReader, validationParameters: TokenValidationParameters, validatedToken: SecurityToken): ClaimsPrincipal;
@@ -1301,7 +1302,6 @@ export interface SymmetricSignatureProvider$instance extends SignatureProvider {
1301
1302
  Sign(input: byte[]): byte[];
1302
1303
  Sign(input: ReadOnlySpan_1<System_Internal.Byte>, signature: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
1303
1304
  Sign(input: byte[], offset: int, count: int): byte[];
1304
- Sign(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
1305
1305
  Verify(input: byte[], signature: byte[]): boolean;
1306
1306
  Verify(input: byte[], signature: byte[], length: int): boolean;
1307
1307
  Verify(input: byte[], inputOffset: int, inputLength: int, signature: byte[], signatureOffset: int, signatureLength: int): boolean;
package/README.md CHANGED
@@ -1,5 +1,56 @@
1
1
  # @tsonic/efcore-sqlserver
2
2
 
3
- TypeScript type definitions for `Microsoft.EntityFrameworkCore.SqlServer` (+ dependencies) for .NET 10.
3
+ TypeScript type definitions for **EF Core SQL Server provider** (`Microsoft.EntityFrameworkCore.SqlServer` + dependencies) for **.NET 10**.
4
4
 
5
- Generated by `tsbindgen` from NuGet packages and intended for use with the Tsonic compiler.
5
+ Generated by `tsbindgen` from NuGet assemblies and intended for use with the **Tsonic** compiler (TypeScript → .NET).
6
+
7
+ ## What this package is (and isn’t)
8
+
9
+ - ✅ TypeScript bindings for the **SQL Server provider** (and its required dependency assemblies).
10
+ - ❌ Not a JavaScript runtime module (the `.js` files are module stubs for type-only use).
11
+ - ✅ You still need the real **.NET assemblies** via NuGet in your Tsonic workspace.
12
+
13
+ ## Install (types)
14
+
15
+ ```bash
16
+ npm install @tsonic/efcore-sqlserver @tsonic/efcore @tsonic/dotnet @tsonic/core
17
+ ```
18
+
19
+ ## Use with Tsonic (recommended)
20
+
21
+ ```bash
22
+ tsonic add nuget Microsoft.EntityFrameworkCore.SqlServer <version> @tsonic/efcore-sqlserver
23
+ ```
24
+
25
+ ## Imports
26
+
27
+ ```ts
28
+ import { SqlServerDbContextOptionsExtensions } from "@tsonic/efcore-sqlserver/Microsoft.EntityFrameworkCore.js";
29
+ ```
30
+
31
+ You’ll typically also import EF Core base types from `@tsonic/efcore`:
32
+
33
+ ```ts
34
+ import { DbContextOptionsBuilder } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.js";
35
+ ```
36
+
37
+ ## Example (UseSqlServer)
38
+
39
+ ```ts
40
+ import { DbContextOptionsBuilder } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.js";
41
+ import { SqlServerDbContextOptionsExtensions } from "@tsonic/efcore-sqlserver/Microsoft.EntityFrameworkCore.js";
42
+
43
+ const builder = new DbContextOptionsBuilder();
44
+ SqlServerDbContextOptionsExtensions.UseSqlServer(builder, "Server=.;Database=app;Trusted_Connection=True;");
45
+ const options = builder.Options;
46
+ ```
47
+
48
+ ## Versioning
49
+
50
+ This repo is versioned by **.NET major**:
51
+
52
+ - .NET 10 → npm: `@tsonic/efcore-sqlserver@10.x`
53
+
54
+ ## License
55
+
56
+ MIT
@@ -756,46 +756,6 @@
756
756
  "declaringClrType": "System.ClientModel.Primitives.ApiKeyAuthenticationPolicy",
757
757
  "declaringAssemblyName": "System.ClientModel",
758
758
  "isExtensionMethod": false
759
- },
760
- {
761
- "stableId": "System.ClientModel:System.ClientModel.Primitives.ApiKeyAuthenticationPolicy::Process(System.ClientModel.Primitives.PipelineMessage,System.Collections.Generic.IReadOnlyList_1,System.Int32):System.Void",
762
- "clrName": "Process",
763
- "metadataToken": 0,
764
- "canonicalSignature": "(System.ClientModel.Primitives.PipelineMessage,System.Collections.Generic.IReadOnlyList_1,System.Int32):System.Void",
765
- "normalizedSignature": "Process|(System.ClientModel.Primitives.PipelineMessage,System.Collections.Generic.IReadOnlyList_1,System.Int32):System.Void|static=false",
766
- "emitScope": "ClassSurface",
767
- "provenance": "BaseOverload",
768
- "arity": 0,
769
- "parameterCount": 3,
770
- "isStatic": false,
771
- "isAbstract": true,
772
- "isVirtual": true,
773
- "isOverride": false,
774
- "isSealed": false,
775
- "visibility": "Public",
776
- "declaringClrType": "System.ClientModel.Primitives.ApiKeyAuthenticationPolicy",
777
- "declaringAssemblyName": "System.ClientModel",
778
- "isExtensionMethod": false
779
- },
780
- {
781
- "stableId": "System.ClientModel:System.ClientModel.Primitives.ApiKeyAuthenticationPolicy::ProcessAsync(System.ClientModel.Primitives.PipelineMessage,System.Collections.Generic.IReadOnlyList_1,System.Int32):System.Threading.Tasks.ValueTask",
782
- "clrName": "ProcessAsync",
783
- "metadataToken": 0,
784
- "canonicalSignature": "(System.ClientModel.Primitives.PipelineMessage,System.Collections.Generic.IReadOnlyList_1,System.Int32):System.Threading.Tasks.ValueTask",
785
- "normalizedSignature": "ProcessAsync|(System.ClientModel.Primitives.PipelineMessage,System.Collections.Generic.IReadOnlyList_1,System.Int32):System.Threading.Tasks.ValueTask|static=false",
786
- "emitScope": "ClassSurface",
787
- "provenance": "BaseOverload",
788
- "arity": 0,
789
- "parameterCount": 3,
790
- "isStatic": false,
791
- "isAbstract": true,
792
- "isVirtual": true,
793
- "isOverride": false,
794
- "isSealed": false,
795
- "visibility": "Public",
796
- "declaringClrType": "System.ClientModel.Primitives.ApiKeyAuthenticationPolicy",
797
- "declaringAssemblyName": "System.ClientModel",
798
- "isExtensionMethod": false
799
759
  }
800
760
  ],
801
761
  "properties": [],
@@ -1075,46 +1035,6 @@
1075
1035
  "declaringClrType": "System.ClientModel.Primitives.BearerTokenPolicy",
1076
1036
  "declaringAssemblyName": "System.ClientModel",
1077
1037
  "isExtensionMethod": false
1078
- },
1079
- {
1080
- "stableId": "System.ClientModel:System.ClientModel.Primitives.BearerTokenPolicy::Process(System.ClientModel.Primitives.PipelineMessage,System.Collections.Generic.IReadOnlyList_1,System.Int32):System.Void",
1081
- "clrName": "Process",
1082
- "metadataToken": 0,
1083
- "canonicalSignature": "(System.ClientModel.Primitives.PipelineMessage,System.Collections.Generic.IReadOnlyList_1,System.Int32):System.Void",
1084
- "normalizedSignature": "Process|(System.ClientModel.Primitives.PipelineMessage,System.Collections.Generic.IReadOnlyList_1,System.Int32):System.Void|static=false",
1085
- "emitScope": "ClassSurface",
1086
- "provenance": "BaseOverload",
1087
- "arity": 0,
1088
- "parameterCount": 3,
1089
- "isStatic": false,
1090
- "isAbstract": true,
1091
- "isVirtual": true,
1092
- "isOverride": false,
1093
- "isSealed": false,
1094
- "visibility": "Public",
1095
- "declaringClrType": "System.ClientModel.Primitives.BearerTokenPolicy",
1096
- "declaringAssemblyName": "System.ClientModel",
1097
- "isExtensionMethod": false
1098
- },
1099
- {
1100
- "stableId": "System.ClientModel:System.ClientModel.Primitives.BearerTokenPolicy::ProcessAsync(System.ClientModel.Primitives.PipelineMessage,System.Collections.Generic.IReadOnlyList_1,System.Int32):System.Threading.Tasks.ValueTask",
1101
- "clrName": "ProcessAsync",
1102
- "metadataToken": 0,
1103
- "canonicalSignature": "(System.ClientModel.Primitives.PipelineMessage,System.Collections.Generic.IReadOnlyList_1,System.Int32):System.Threading.Tasks.ValueTask",
1104
- "normalizedSignature": "ProcessAsync|(System.ClientModel.Primitives.PipelineMessage,System.Collections.Generic.IReadOnlyList_1,System.Int32):System.Threading.Tasks.ValueTask|static=false",
1105
- "emitScope": "ClassSurface",
1106
- "provenance": "BaseOverload",
1107
- "arity": 0,
1108
- "parameterCount": 3,
1109
- "isStatic": false,
1110
- "isAbstract": true,
1111
- "isVirtual": true,
1112
- "isOverride": false,
1113
- "isSealed": false,
1114
- "visibility": "Public",
1115
- "declaringClrType": "System.ClientModel.Primitives.BearerTokenPolicy",
1116
- "declaringAssemblyName": "System.ClientModel",
1117
- "isExtensionMethod": false
1118
1038
  }
1119
1039
  ],
1120
1040
  "properties": [],
@@ -2214,46 +2134,6 @@
2214
2134
  "declaringClrType": "System.ClientModel.Primitives.ClientRetryPolicy",
2215
2135
  "declaringAssemblyName": "System.ClientModel",
2216
2136
  "isExtensionMethod": false
2217
- },
2218
- {
2219
- "stableId": "System.ClientModel:System.ClientModel.Primitives.ClientRetryPolicy::Process(System.ClientModel.Primitives.PipelineMessage,System.Collections.Generic.IReadOnlyList_1,System.Int32):System.Void",
2220
- "clrName": "Process",
2221
- "metadataToken": 0,
2222
- "canonicalSignature": "(System.ClientModel.Primitives.PipelineMessage,System.Collections.Generic.IReadOnlyList_1,System.Int32):System.Void",
2223
- "normalizedSignature": "Process|(System.ClientModel.Primitives.PipelineMessage,System.Collections.Generic.IReadOnlyList_1,System.Int32):System.Void|static=false",
2224
- "emitScope": "ClassSurface",
2225
- "provenance": "BaseOverload",
2226
- "arity": 0,
2227
- "parameterCount": 3,
2228
- "isStatic": false,
2229
- "isAbstract": true,
2230
- "isVirtual": true,
2231
- "isOverride": false,
2232
- "isSealed": false,
2233
- "visibility": "Public",
2234
- "declaringClrType": "System.ClientModel.Primitives.ClientRetryPolicy",
2235
- "declaringAssemblyName": "System.ClientModel",
2236
- "isExtensionMethod": false
2237
- },
2238
- {
2239
- "stableId": "System.ClientModel:System.ClientModel.Primitives.ClientRetryPolicy::ProcessAsync(System.ClientModel.Primitives.PipelineMessage,System.Collections.Generic.IReadOnlyList_1,System.Int32):System.Threading.Tasks.ValueTask",
2240
- "clrName": "ProcessAsync",
2241
- "metadataToken": 0,
2242
- "canonicalSignature": "(System.ClientModel.Primitives.PipelineMessage,System.Collections.Generic.IReadOnlyList_1,System.Int32):System.Threading.Tasks.ValueTask",
2243
- "normalizedSignature": "ProcessAsync|(System.ClientModel.Primitives.PipelineMessage,System.Collections.Generic.IReadOnlyList_1,System.Int32):System.Threading.Tasks.ValueTask|static=false",
2244
- "emitScope": "ClassSurface",
2245
- "provenance": "BaseOverload",
2246
- "arity": 0,
2247
- "parameterCount": 3,
2248
- "isStatic": false,
2249
- "isAbstract": true,
2250
- "isVirtual": true,
2251
- "isOverride": false,
2252
- "isSealed": false,
2253
- "visibility": "Public",
2254
- "declaringClrType": "System.ClientModel.Primitives.ClientRetryPolicy",
2255
- "declaringAssemblyName": "System.ClientModel",
2256
- "isExtensionMethod": false
2257
2137
  }
2258
2138
  ],
2259
2139
  "properties": [
@@ -2882,46 +2762,6 @@
2882
2762
  "declaringClrType": "System.ClientModel.Primitives.MessageLoggingPolicy",
2883
2763
  "declaringAssemblyName": "System.ClientModel",
2884
2764
  "isExtensionMethod": false
2885
- },
2886
- {
2887
- "stableId": "System.ClientModel:System.ClientModel.Primitives.MessageLoggingPolicy::Process(System.ClientModel.Primitives.PipelineMessage,System.Collections.Generic.IReadOnlyList_1,System.Int32):System.Void",
2888
- "clrName": "Process",
2889
- "metadataToken": 0,
2890
- "canonicalSignature": "(System.ClientModel.Primitives.PipelineMessage,System.Collections.Generic.IReadOnlyList_1,System.Int32):System.Void",
2891
- "normalizedSignature": "Process|(System.ClientModel.Primitives.PipelineMessage,System.Collections.Generic.IReadOnlyList_1,System.Int32):System.Void|static=false",
2892
- "emitScope": "ClassSurface",
2893
- "provenance": "BaseOverload",
2894
- "arity": 0,
2895
- "parameterCount": 3,
2896
- "isStatic": false,
2897
- "isAbstract": true,
2898
- "isVirtual": true,
2899
- "isOverride": false,
2900
- "isSealed": false,
2901
- "visibility": "Public",
2902
- "declaringClrType": "System.ClientModel.Primitives.MessageLoggingPolicy",
2903
- "declaringAssemblyName": "System.ClientModel",
2904
- "isExtensionMethod": false
2905
- },
2906
- {
2907
- "stableId": "System.ClientModel:System.ClientModel.Primitives.MessageLoggingPolicy::ProcessAsync(System.ClientModel.Primitives.PipelineMessage,System.Collections.Generic.IReadOnlyList_1,System.Int32):System.Threading.Tasks.ValueTask",
2908
- "clrName": "ProcessAsync",
2909
- "metadataToken": 0,
2910
- "canonicalSignature": "(System.ClientModel.Primitives.PipelineMessage,System.Collections.Generic.IReadOnlyList_1,System.Int32):System.Threading.Tasks.ValueTask",
2911
- "normalizedSignature": "ProcessAsync|(System.ClientModel.Primitives.PipelineMessage,System.Collections.Generic.IReadOnlyList_1,System.Int32):System.Threading.Tasks.ValueTask|static=false",
2912
- "emitScope": "ClassSurface",
2913
- "provenance": "BaseOverload",
2914
- "arity": 0,
2915
- "parameterCount": 3,
2916
- "isStatic": false,
2917
- "isAbstract": true,
2918
- "isVirtual": true,
2919
- "isOverride": false,
2920
- "isSealed": false,
2921
- "visibility": "Public",
2922
- "declaringClrType": "System.ClientModel.Primitives.MessageLoggingPolicy",
2923
- "declaringAssemblyName": "System.ClientModel",
2924
- "isExtensionMethod": false
2925
2765
  }
2926
2766
  ],
2927
2767
  "properties": [
@@ -5103,46 +4943,6 @@
5103
4943
  "declaringClrType": "System.ClientModel.Primitives.PipelineTransport",
5104
4944
  "declaringAssemblyName": "System.ClientModel",
5105
4945
  "isExtensionMethod": false
5106
- },
5107
- {
5108
- "stableId": "System.ClientModel:System.ClientModel.Primitives.PipelineTransport::Process(System.ClientModel.Primitives.PipelineMessage,System.Collections.Generic.IReadOnlyList_1,System.Int32):System.Void",
5109
- "clrName": "Process",
5110
- "metadataToken": 0,
5111
- "canonicalSignature": "(System.ClientModel.Primitives.PipelineMessage,System.Collections.Generic.IReadOnlyList_1,System.Int32):System.Void",
5112
- "normalizedSignature": "Process|(System.ClientModel.Primitives.PipelineMessage,System.Collections.Generic.IReadOnlyList_1,System.Int32):System.Void|static=false",
5113
- "emitScope": "ClassSurface",
5114
- "provenance": "BaseOverload",
5115
- "arity": 0,
5116
- "parameterCount": 3,
5117
- "isStatic": false,
5118
- "isAbstract": true,
5119
- "isVirtual": true,
5120
- "isOverride": false,
5121
- "isSealed": false,
5122
- "visibility": "Public",
5123
- "declaringClrType": "System.ClientModel.Primitives.PipelineTransport",
5124
- "declaringAssemblyName": "System.ClientModel",
5125
- "isExtensionMethod": false
5126
- },
5127
- {
5128
- "stableId": "System.ClientModel:System.ClientModel.Primitives.PipelineTransport::ProcessAsync(System.ClientModel.Primitives.PipelineMessage,System.Collections.Generic.IReadOnlyList_1,System.Int32):System.Threading.Tasks.ValueTask",
5129
- "clrName": "ProcessAsync",
5130
- "metadataToken": 0,
5131
- "canonicalSignature": "(System.ClientModel.Primitives.PipelineMessage,System.Collections.Generic.IReadOnlyList_1,System.Int32):System.Threading.Tasks.ValueTask",
5132
- "normalizedSignature": "ProcessAsync|(System.ClientModel.Primitives.PipelineMessage,System.Collections.Generic.IReadOnlyList_1,System.Int32):System.Threading.Tasks.ValueTask|static=false",
5133
- "emitScope": "ClassSurface",
5134
- "provenance": "BaseOverload",
5135
- "arity": 0,
5136
- "parameterCount": 3,
5137
- "isStatic": false,
5138
- "isAbstract": true,
5139
- "isVirtual": true,
5140
- "isOverride": false,
5141
- "isSealed": false,
5142
- "visibility": "Public",
5143
- "declaringClrType": "System.ClientModel.Primitives.PipelineTransport",
5144
- "declaringAssemblyName": "System.ClientModel",
5145
- "isExtensionMethod": false
5146
4946
  }
5147
4947
  ],
5148
4948
  "properties": [],
@@ -673,10 +673,8 @@ export interface PipelineTransport$instance extends PipelinePolicy {
673
673
  CreateMessageCore(): PipelineMessage;
674
674
  Process(message: PipelineMessage): void;
675
675
  Process(message: PipelineMessage, pipeline: IReadOnlyList_1<PipelinePolicy>, currentIndex: int): void;
676
- Process(message: PipelineMessage, pipeline: IReadOnlyList_1<PipelinePolicy>, currentIndex: int): void;
677
676
  ProcessAsync(message: PipelineMessage): ValueTask;
678
677
  ProcessAsync(message: PipelineMessage, pipeline: IReadOnlyList_1<PipelinePolicy>, currentIndex: int): ValueTask;
679
- ProcessAsync(message: PipelineMessage, pipeline: IReadOnlyList_1<PipelinePolicy>, currentIndex: int): ValueTask;
680
678
  ProcessCore(message: PipelineMessage): void;
681
679
  ProcessCoreAsync(message: PipelineMessage): ValueTask;
682
680
  }