@tsonic/efcore-sqlserver 10.0.2 → 10.0.7

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/Azure/internal/index.d.ts +119 -85
  2. package/Azure.Core/internal/index.d.ts +151 -92
  3. package/Azure.Core.Cryptography/internal/index.d.ts +10 -6
  4. package/Azure.Core.Diagnostics/internal/index.d.ts +12 -12
  5. package/Azure.Core.Extensions/internal/index.d.ts +12 -4
  6. package/Azure.Core.GeoJson/internal/index.d.ts +102 -42
  7. package/Azure.Core.Pipeline/internal/index.d.ts +75 -59
  8. package/Azure.Core.Serialization/internal/index.d.ts +29 -20
  9. package/Azure.Identity/internal/index.d.ts +265 -118
  10. package/Azure.Messaging/internal/index.d.ts +16 -16
  11. package/Microsoft.Data/internal/index.d.ts +9 -6
  12. package/Microsoft.Data.Sql/internal/index.d.ts +9 -5
  13. package/Microsoft.Data.SqlClient/internal/index.d.ts +272 -172
  14. package/Microsoft.Data.SqlClient.DataClassification/internal/index.d.ts +20 -10
  15. package/Microsoft.Data.SqlClient.Diagnostics/internal/index.d.ts +157 -52
  16. package/Microsoft.Data.SqlClient.Server/internal/index.d.ts +11 -5
  17. package/Microsoft.Data.SqlTypes/internal/index.d.ts +23 -10
  18. package/Microsoft.EntityFrameworkCore/internal/index.d.ts +333 -333
  19. package/Microsoft.EntityFrameworkCore.Diagnostics/internal/index.d.ts +9 -7
  20. package/Microsoft.EntityFrameworkCore.Infrastructure/internal/index.d.ts +35 -16
  21. package/Microsoft.EntityFrameworkCore.Metadata/internal/index.d.ts +2 -2
  22. package/Microsoft.EntityFrameworkCore.Metadata.Builders/internal/index.d.ts +20 -6
  23. package/Microsoft.EntityFrameworkCore.Metadata.Conventions/internal/index.d.ts +135 -98
  24. package/Microsoft.EntityFrameworkCore.Metadata.Internal/internal/index.d.ts +3 -3
  25. package/Microsoft.EntityFrameworkCore.Metadata.Internal.d.ts +3 -0
  26. package/Microsoft.EntityFrameworkCore.Migrations/internal/index.d.ts +57 -57
  27. package/Microsoft.EntityFrameworkCore.Migrations.Operations/internal/index.d.ts +20 -8
  28. package/Microsoft.EntityFrameworkCore.Migrations.d.ts +3 -0
  29. package/Microsoft.EntityFrameworkCore.SqlServer.Design.Internal/internal/index.d.ts +29 -23
  30. package/Microsoft.EntityFrameworkCore.SqlServer.Diagnostics.Internal/internal/index.d.ts +4 -2
  31. package/Microsoft.EntityFrameworkCore.SqlServer.Extensions.Internal/internal/index.d.ts +28 -28
  32. package/Microsoft.EntityFrameworkCore.SqlServer.Extensions.Internal.d.ts +3 -0
  33. package/Microsoft.EntityFrameworkCore.SqlServer.Infrastructure.Internal/internal/index.d.ts +43 -35
  34. package/Microsoft.EntityFrameworkCore.SqlServer.Internal/internal/index.d.ts +22 -22
  35. package/Microsoft.EntityFrameworkCore.SqlServer.Metadata.Internal/internal/index.d.ts +15 -11
  36. package/Microsoft.EntityFrameworkCore.SqlServer.Migrations.Internal/internal/index.d.ts +34 -24
  37. package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal/internal/index.d.ts +343 -226
  38. package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal.SqlExpressions/internal/index.d.ts +18 -17
  39. package/Microsoft.EntityFrameworkCore.SqlServer.Scaffolding.Internal/internal/index.d.ts +19 -11
  40. package/Microsoft.EntityFrameworkCore.SqlServer.Scaffolding.Internal.d.ts +3 -0
  41. package/Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal/internal/index.d.ts +187 -211
  42. package/Microsoft.EntityFrameworkCore.SqlServer.Update.Internal/internal/index.d.ts +50 -41
  43. package/Microsoft.EntityFrameworkCore.SqlServer.ValueGeneration.Internal/internal/index.d.ts +38 -25
  44. package/Microsoft.EntityFrameworkCore.d.ts +3 -0
  45. package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +7 -7
  46. package/Microsoft.Extensions.DependencyInjection.d.ts +3 -0
  47. package/Microsoft.Identity.Client/internal/index.d.ts +377 -263
  48. package/Microsoft.Identity.Client.Advanced/internal/index.d.ts +4 -4
  49. package/Microsoft.Identity.Client.AppConfig/internal/index.d.ts +7 -4
  50. package/Microsoft.Identity.Client.AuthScheme/internal/index.d.ts +5 -3
  51. package/Microsoft.Identity.Client.AuthScheme.PoP/internal/index.d.ts +3 -1
  52. package/Microsoft.Identity.Client.Cache/internal/index.d.ts +4 -2
  53. package/Microsoft.Identity.Client.Extensibility/internal/index.d.ts +28 -19
  54. package/Microsoft.Identity.Client.Extensions.Msal/internal/index.d.ts +34 -18
  55. package/Microsoft.Identity.Client.Kerberos/internal/index.d.ts +5 -3
  56. package/Microsoft.Identity.Client.ManagedIdentity/internal/index.d.ts +2 -2
  57. package/Microsoft.Identity.Client.Platforms.Features.DesktopOs.Kerberos/internal/index.d.ts +5 -4
  58. package/Microsoft.Identity.Client.RP/internal/index.d.ts +3 -3
  59. package/Microsoft.Identity.Client.Region/internal/index.d.ts +2 -2
  60. package/Microsoft.Identity.Client.SSHCertificates/internal/index.d.ts +2 -2
  61. package/Microsoft.Identity.Client.TelemetryCore.TelemetryClient/internal/index.d.ts +4 -2
  62. package/Microsoft.Identity.Client.Utils/internal/index.d.ts +6 -5
  63. package/Microsoft.Identity.Client.Utils.Windows/internal/index.d.ts +2 -2
  64. package/Microsoft.IdentityModel.Abstractions/internal/index.d.ts +29 -19
  65. package/Microsoft.IdentityModel.JsonWebTokens/internal/index.d.ts +41 -33
  66. package/Microsoft.IdentityModel.Logging/internal/index.d.ts +25 -16
  67. package/Microsoft.IdentityModel.Protocols/internal/index.d.ts +59 -32
  68. package/Microsoft.IdentityModel.Protocols.Configuration/internal/index.d.ts +12 -7
  69. package/Microsoft.IdentityModel.Protocols.OpenIdConnect/internal/index.d.ts +83 -64
  70. package/Microsoft.IdentityModel.Protocols.OpenIdConnect.Configuration/internal/index.d.ts +6 -4
  71. package/Microsoft.IdentityModel.Tokens/internal/index.d.ts +316 -191
  72. package/Microsoft.IdentityModel.Tokens.Configuration/internal/index.d.ts +7 -5
  73. package/Microsoft.IdentityModel.Tokens.d.ts +3 -0
  74. package/Microsoft.SqlServer.Server/internal/index.d.ts +21 -6
  75. package/System/internal/index.d.ts +19 -17
  76. package/System.ClientModel/internal/index.d.ts +54 -43
  77. package/System.ClientModel.Primitives/internal/index.d.ts +220 -177
  78. package/System.ClientModel.Primitives.d.ts +3 -0
  79. package/System.Configuration/internal/index.d.ts +529 -340
  80. package/System.Configuration.Internal/internal/index.d.ts +33 -8
  81. package/System.Configuration.Provider/internal/index.d.ts +20 -11
  82. package/System.Diagnostics/internal/index.d.ts +2 -2
  83. package/System.Drawing.Configuration/internal/index.d.ts +7 -9
  84. package/System.IdentityModel.Tokens.Jwt/internal/index.d.ts +102 -68
  85. package/System.Security.Cryptography/internal/index.d.ts +2 -2
  86. package/System.Text.Json.Serialization/internal/index.d.ts +7 -5
  87. package/__internal/extensions/index.d.ts +1004 -53
  88. package/package.json +5 -5
@@ -9,31 +9,37 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
9
9
  import type { ptr } from "@tsonic/core/types.js";
10
10
 
11
11
  // Import types from other namespaces
12
- import type { IReadOnlyList } from "@tsonic/dotnet/System.Collections.Generic.js";
13
- import * as System_Internal from "@tsonic/dotnet/System.js";
14
- import type { Boolean as ClrBoolean, Int32, Object as ClrObject, String as ClrString, Void } from "@tsonic/dotnet/System.js";
15
- import type { StringBuilder } from "@tsonic/dotnet/System.Text.js";
16
- import type { CancellationToken } from "@tsonic/dotnet/System.Threading.js";
17
- import type { Task } from "@tsonic/dotnet/System.Threading.Tasks.js";
18
- import type { IDbContextOptions } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Infrastructure.js";
19
- import type { IRelationalConnection, ISqlGenerationHelper } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Storage.js";
20
- import * as Microsoft_EntityFrameworkCore_Update_Internal from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Update.js";
21
- import type { AffectedCountModificationCommandBatch, ColumnModificationParameters, IColumnModification, IModificationCommand, IModificationCommandBatchFactory, IModificationCommandFactory, INonTrackedModificationCommand, IReadOnlyModificationCommand, IUpdateSqlGenerator, ModificationCommand, ModificationCommandBatch, ModificationCommandBatchFactoryDependencies, ModificationCommandParameters, NonTrackedModificationCommandParameters, ResultSetMapping, UpdateAndSelectSqlGenerator, UpdateSqlGeneratorDependencies } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Update.js";
12
+ import type { IReadOnlyList_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
13
+ import type { StringBuilder } from "@tsonic/dotnet/System.Text/internal/index.js";
14
+ import type { Task } from "@tsonic/dotnet/System.Threading.Tasks/internal/index.js";
15
+ import type { CancellationToken } from "@tsonic/dotnet/System.Threading/internal/index.js";
16
+ import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
17
+ import type { Boolean as ClrBoolean, Int32, Object as ClrObject, String as ClrString, Void } from "@tsonic/dotnet/System/internal/index.js";
18
+ import type { IDbContextOptions } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Infrastructure/internal/index.js";
19
+ import type { IRelationalConnection, ISqlGenerationHelper } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Storage/internal/index.js";
20
+ import * as Microsoft_EntityFrameworkCore_Update_Internal from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Update/internal/index.js";
21
+ import type { AffectedCountModificationCommandBatch, ColumnModificationParameters, IColumnModification, IModificationCommand, IModificationCommandBatchFactory, IModificationCommandFactory, INonTrackedModificationCommand, IReadOnlyModificationCommand, IUpdateSqlGenerator, ModificationCommand, ModificationCommandBatch, ModificationCommandBatchFactoryDependencies, ModificationCommandParameters, NonTrackedModificationCommandParameters, ResultSetMapping, UpdateAndSelectSqlGenerator, UpdateSqlGeneratorDependencies } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Update/internal/index.js";
22
22
 
23
23
  export interface ISqlServerUpdateSqlGenerator$instance extends IUpdateSqlGenerator {
24
- AppendBulkInsertOperation(commandStringBuilder: StringBuilder, modificationCommands: IReadOnlyList<IReadOnlyModificationCommand>, commandPosition: int, requiresTransaction: boolean): ResultSetMapping;
25
- AppendBulkInsertOperation(commandStringBuilder: StringBuilder, modificationCommands: IReadOnlyList<IReadOnlyModificationCommand>, commandPosition: int): ResultSetMapping;
24
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_SqlServer_Update_Internal_ISqlServerUpdateSqlGenerator: never;
25
+
26
+ AppendBulkInsertOperation(commandStringBuilder: StringBuilder, modificationCommands: IReadOnlyList_1<IReadOnlyModificationCommand>, commandPosition: int, requiresTransaction: boolean): ResultSetMapping;
27
+ AppendBulkInsertOperation(commandStringBuilder: StringBuilder, modificationCommands: IReadOnlyList_1<IReadOnlyModificationCommand>, commandPosition: int): ResultSetMapping;
26
28
  }
27
29
 
28
30
 
31
+ export interface ISqlServerUpdateSqlGenerator$instance extends Microsoft_EntityFrameworkCore_Update_Internal.IUpdateSqlGenerator {}
32
+
29
33
  export type ISqlServerUpdateSqlGenerator = ISqlServerUpdateSqlGenerator$instance;
30
34
 
31
- export abstract class SqlServerModificationCommand$protected {
32
- protected ProcessSinglePropertyJsonUpdate(parameters: ColumnModificationParameters): void;
33
- }
35
+ export interface SqlServerModificationCommand$instance extends ModificationCommand {
36
+ readonly __tsonic_type_Microsoft_EntityFrameworkCore_SqlServer_Update_Internal_SqlServerModificationCommand: never;
34
37
 
38
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Update_IModificationCommand: never;
39
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Update_INonTrackedModificationCommand: never;
40
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Update_IReadOnlyModificationCommand: never;
35
41
 
36
- export interface SqlServerModificationCommand$instance extends SqlServerModificationCommand$protected, ModificationCommand {
42
+ ProcessSinglePropertyJsonUpdate(parameters: ColumnModificationParameters): void;
37
43
  }
38
44
 
39
45
 
@@ -45,18 +51,16 @@ export const SqlServerModificationCommand: {
45
51
 
46
52
  export type SqlServerModificationCommand = SqlServerModificationCommand$instance;
47
53
 
48
- export abstract class SqlServerModificationCommandBatch$protected {
49
- protected readonly UpdateSqlGenerator: ISqlServerUpdateSqlGenerator;
50
- protected AddCommand(modificationCommand: IReadOnlyModificationCommand): void;
51
- protected IsValid(): boolean;
52
- protected RollbackLastCommand(modificationCommand: IReadOnlyModificationCommand): void;
53
- }
54
-
54
+ export interface SqlServerModificationCommandBatch$instance extends AffectedCountModificationCommandBatch {
55
+ readonly __tsonic_type_Microsoft_EntityFrameworkCore_SqlServer_Update_Internal_SqlServerModificationCommandBatch: never;
55
56
 
56
- export interface SqlServerModificationCommandBatch$instance extends SqlServerModificationCommandBatch$protected, AffectedCountModificationCommandBatch {
57
+ readonly UpdateSqlGenerator: ISqlServerUpdateSqlGenerator;
58
+ AddCommand(modificationCommand: IReadOnlyModificationCommand): void;
57
59
  Complete(moreBatchesExpected: boolean): void;
58
60
  Execute(connection: IRelationalConnection): void;
59
61
  ExecuteAsync(connection: IRelationalConnection, cancellationToken?: CancellationToken): Task;
62
+ IsValid(): boolean;
63
+ RollbackLastCommand(modificationCommand: IReadOnlyModificationCommand): void;
60
64
  TryAddCommand(modificationCommand: IReadOnlyModificationCommand): boolean;
61
65
  }
62
66
 
@@ -68,12 +72,12 @@ export const SqlServerModificationCommandBatch: {
68
72
 
69
73
  export type SqlServerModificationCommandBatch = SqlServerModificationCommandBatch$instance;
70
74
 
71
- export abstract class SqlServerModificationCommandBatchFactory$protected {
72
- protected readonly Dependencies: ModificationCommandBatchFactoryDependencies;
73
- }
75
+ export interface SqlServerModificationCommandBatchFactory$instance {
76
+ readonly __tsonic_type_Microsoft_EntityFrameworkCore_SqlServer_Update_Internal_SqlServerModificationCommandBatchFactory: never;
74
77
 
78
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Update_IModificationCommandBatchFactory: never;
75
79
 
76
- export interface SqlServerModificationCommandBatchFactory$instance extends SqlServerModificationCommandBatchFactory$protected {
80
+ readonly Dependencies: ModificationCommandBatchFactoryDependencies;
77
81
  Create(): ModificationCommandBatch;
78
82
  }
79
83
 
@@ -86,6 +90,10 @@ export const SqlServerModificationCommandBatchFactory: {
86
90
  export type SqlServerModificationCommandBatchFactory = SqlServerModificationCommandBatchFactory$instance;
87
91
 
88
92
  export interface SqlServerModificationCommandFactory$instance {
93
+ readonly __tsonic_type_Microsoft_EntityFrameworkCore_SqlServer_Update_Internal_SqlServerModificationCommandFactory: never;
94
+
95
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Update_IModificationCommandFactory: never;
96
+
89
97
  CreateModificationCommand(modificationCommandParameters: ModificationCommandParameters): IModificationCommand;
90
98
  CreateNonTrackedModificationCommand(modificationCommandParameters: NonTrackedModificationCommandParameters): INonTrackedModificationCommand;
91
99
  }
@@ -98,25 +106,26 @@ export const SqlServerModificationCommandFactory: {
98
106
 
99
107
  export type SqlServerModificationCommandFactory = SqlServerModificationCommandFactory$instance;
100
108
 
101
- export abstract class SqlServerUpdateSqlGenerator$protected {
102
- protected readonly MergeIntoMinimumThreshold: int;
103
- protected AppendDeleteCommand(commandStringBuilder: StringBuilder, name: string, schema: string, readOperations: IReadOnlyList<IColumnModification>, conditionOperations: IReadOnlyList<IColumnModification>, appendReturningOneClause?: boolean): void;
104
- protected AppendIdentityWhereCondition(commandStringBuilder: StringBuilder, columnModification: IColumnModification): void;
105
- protected AppendInsertCommand(commandStringBuilder: StringBuilder, name: string, schema: string, writeOperations: IReadOnlyList<IColumnModification>, readOperations: IReadOnlyList<IColumnModification>): void;
106
- protected AppendReturningClause(commandStringBuilder: StringBuilder, operations: IReadOnlyList<IColumnModification>, additionalValues?: string): void;
107
- protected AppendRowsAffectedWhereCondition(commandStringBuilder: StringBuilder, expectedRowsAffected: int): void;
108
- protected AppendSelectAffectedCountCommand(commandStringBuilder: StringBuilder, name: string, schema: string, commandPosition: int): ResultSetMapping;
109
- protected AppendUpdateColumnValue(updateSqlGeneratorHelper: ISqlGenerationHelper, columnModification: IColumnModification, stringBuilder: StringBuilder, name: string, schema: string): void;
110
- protected AppendUpdateCommand(commandStringBuilder: StringBuilder, name: string, schema: string, writeOperations: IReadOnlyList<IColumnModification>, readOperations: IReadOnlyList<IColumnModification>, conditionOperations: IReadOnlyList<IColumnModification>, appendReturningOneClause?: boolean): void;
111
- }
109
+ export interface SqlServerUpdateSqlGenerator$instance extends UpdateAndSelectSqlGenerator {
110
+ readonly __tsonic_type_Microsoft_EntityFrameworkCore_SqlServer_Update_Internal_SqlServerUpdateSqlGenerator: never;
112
111
 
112
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_SqlServer_Update_Internal_ISqlServerUpdateSqlGenerator: never;
113
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Update_IUpdateSqlGenerator: never;
113
114
 
114
- export interface SqlServerUpdateSqlGenerator$instance extends SqlServerUpdateSqlGenerator$protected, UpdateAndSelectSqlGenerator {
115
+ readonly MergeIntoMinimumThreshold: int;
115
116
  AppendBatchHeader(commandStringBuilder: StringBuilder): void;
116
- AppendBulkInsertOperation(commandStringBuilder: StringBuilder, modificationCommands: IReadOnlyList<IReadOnlyModificationCommand>, commandPosition: int, requiresTransaction: boolean): ResultSetMapping;
117
+ AppendBulkInsertOperation(commandStringBuilder: StringBuilder, modificationCommands: IReadOnlyList_1<IReadOnlyModificationCommand>, commandPosition: int, requiresTransaction: boolean): ResultSetMapping;
118
+ AppendDeleteCommand(commandStringBuilder: StringBuilder, name: string, schema: string, readOperations: IReadOnlyList_1<IColumnModification>, conditionOperations: IReadOnlyList_1<IColumnModification>, appendReturningOneClause?: boolean): void;
117
119
  AppendDeleteOperation(commandStringBuilder: StringBuilder, command: IReadOnlyModificationCommand, commandPosition: int, requiresTransaction: boolean): ResultSetMapping;
120
+ AppendIdentityWhereCondition(commandStringBuilder: StringBuilder, columnModification: IColumnModification): void;
121
+ AppendInsertCommand(commandStringBuilder: StringBuilder, name: string, schema: string, writeOperations: IReadOnlyList_1<IColumnModification>, readOperations: IReadOnlyList_1<IColumnModification>): void;
118
122
  AppendInsertOperation(commandStringBuilder: StringBuilder, command: IReadOnlyModificationCommand, commandPosition: int, requiresTransaction: boolean): ResultSetMapping;
123
+ AppendReturningClause(commandStringBuilder: StringBuilder, operations: IReadOnlyList_1<IColumnModification>, additionalValues?: string): void;
124
+ AppendRowsAffectedWhereCondition(commandStringBuilder: StringBuilder, expectedRowsAffected: int): void;
125
+ AppendSelectAffectedCountCommand(commandStringBuilder: StringBuilder, name: string, schema: string, commandPosition: int): ResultSetMapping;
119
126
  AppendStoredProcedureCall(commandStringBuilder: StringBuilder, command: IReadOnlyModificationCommand, commandPosition: int, requiresTransaction: boolean): ResultSetMapping;
127
+ AppendUpdateColumnValue(updateSqlGeneratorHelper: ISqlGenerationHelper, columnModification: IColumnModification, stringBuilder: StringBuilder, name: string, schema: string): void;
128
+ AppendUpdateCommand(commandStringBuilder: StringBuilder, name: string, schema: string, writeOperations: IReadOnlyList_1<IColumnModification>, readOperations: IReadOnlyList_1<IColumnModification>, conditionOperations: IReadOnlyList_1<IColumnModification>, appendReturningOneClause?: boolean): void;
120
129
  AppendUpdateOperation(commandStringBuilder: StringBuilder, command: IReadOnlyModificationCommand, commandPosition: int, requiresTransaction: boolean): ResultSetMapping;
121
130
  PrependEnsureAutocommit(commandStringBuilder: StringBuilder): void;
122
131
  }
@@ -11,17 +11,19 @@ import type { ptr } from "@tsonic/core/types.js";
11
11
  // Import types from other namespaces
12
12
  import type { ISqlServerConnection } from "../../Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal/internal/index.js";
13
13
  import type { ISqlServerUpdateSqlGenerator } from "../../Microsoft.EntityFrameworkCore.SqlServer.Update.Internal/internal/index.js";
14
- import * as System_Internal from "@tsonic/dotnet/System.js";
15
- import type { Boolean as ClrBoolean, IDisposable, Int64, Object as ClrObject, Type } from "@tsonic/dotnet/System.js";
16
- import type { CancellationToken } from "@tsonic/dotnet/System.Threading.js";
17
- import type { Task } from "@tsonic/dotnet/System.Threading.Tasks.js";
18
- import type { IRelationalCommandDiagnosticsLogger } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Diagnostics.js";
19
- import type { IProperty, ISequence, ITypeBase } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Metadata.js";
20
- import type { IRawSqlCommandBuilder, IRelationalConnection } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Storage.js";
21
- import * as Microsoft_EntityFrameworkCore_ValueGeneration_Internal from "@tsonic/efcore/Microsoft.EntityFrameworkCore.ValueGeneration.js";
22
- import type { HiLoValueGenerator, HiLoValueGeneratorState, IValueGeneratorCache, IValueGeneratorSelector, RelationalValueGeneratorSelector, ValueGenerator, ValueGeneratorCache, ValueGeneratorCacheDependencies, ValueGeneratorSelectorDependencies } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.ValueGeneration.js";
14
+ import type { Task_1 } from "@tsonic/dotnet/System.Threading.Tasks/internal/index.js";
15
+ import type { CancellationToken } from "@tsonic/dotnet/System.Threading/internal/index.js";
16
+ import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
17
+ import type { Boolean as ClrBoolean, IDisposable, Int64, Object as ClrObject, Type } from "@tsonic/dotnet/System/internal/index.js";
18
+ import type { IRelationalCommandDiagnosticsLogger } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Diagnostics/internal/index.js";
19
+ import type { IProperty, ISequence, ITypeBase } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Metadata/internal/index.js";
20
+ import type { IRawSqlCommandBuilder, IRelationalConnection } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Storage/internal/index.js";
21
+ import * as Microsoft_EntityFrameworkCore_ValueGeneration_Internal from "@tsonic/efcore/Microsoft.EntityFrameworkCore.ValueGeneration/internal/index.js";
22
+ import type { HiLoValueGenerator_1, HiLoValueGeneratorState, IValueGeneratorCache, IValueGeneratorSelector, RelationalValueGeneratorSelector, ValueGenerator, ValueGeneratorCache, ValueGeneratorCacheDependencies, ValueGeneratorSelectorDependencies } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.ValueGeneration/internal/index.js";
23
23
 
24
24
  export interface ISqlServerSequenceValueGeneratorFactory$instance {
25
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_SqlServer_ValueGeneration_Internal_ISqlServerSequenceValueGeneratorFactory: never;
26
+
25
27
  TryCreate(property: IProperty, clrType: Type, generatorState: SqlServerSequenceValueGeneratorState, connection: ISqlServerConnection, rawSqlCommandBuilder: IRawSqlCommandBuilder, commandLogger: IRelationalCommandDiagnosticsLogger): ValueGenerator | undefined;
26
28
  }
27
29
 
@@ -29,20 +31,22 @@ export interface ISqlServerSequenceValueGeneratorFactory$instance {
29
31
  export type ISqlServerSequenceValueGeneratorFactory = ISqlServerSequenceValueGeneratorFactory$instance;
30
32
 
31
33
  export interface ISqlServerValueGeneratorCache$instance extends IValueGeneratorCache {
34
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_SqlServer_ValueGeneration_Internal_ISqlServerValueGeneratorCache: never;
35
+
32
36
  GetOrAddSequenceState(property: IProperty, connection: IRelationalConnection): SqlServerSequenceValueGeneratorState;
33
37
  }
34
38
 
35
39
 
36
- export type ISqlServerValueGeneratorCache = ISqlServerValueGeneratorCache$instance;
40
+ export interface ISqlServerValueGeneratorCache$instance extends Microsoft_EntityFrameworkCore_ValueGeneration_Internal.IValueGeneratorCache {}
37
41
 
38
- export abstract class SqlServerSequenceHiLoValueGenerator_1$protected<TValue> {
39
- protected GetNewLowValue(): long;
40
- protected GetNewLowValueAsync(cancellationToken?: CancellationToken): Task<System_Internal.Int64>;
41
- }
42
+ export type ISqlServerValueGeneratorCache = ISqlServerValueGeneratorCache$instance;
42
43
 
44
+ export interface SqlServerSequenceHiLoValueGenerator_1$instance<TValue> extends HiLoValueGenerator_1<TValue> {
45
+ readonly __tsonic_type_Microsoft_EntityFrameworkCore_SqlServer_ValueGeneration_Internal_SqlServerSequenceHiLoValueGenerator_1: never;
43
46
 
44
- export interface SqlServerSequenceHiLoValueGenerator_1$instance<TValue> extends SqlServerSequenceHiLoValueGenerator_1$protected<TValue>, HiLoValueGenerator<TValue> {
45
47
  readonly GeneratesTemporaryValues: boolean;
48
+ GetNewLowValue(): long;
49
+ GetNewLowValueAsync(cancellationToken?: CancellationToken): Task_1<System_Internal.Int64>;
46
50
  }
47
51
 
48
52
 
@@ -53,7 +57,11 @@ export const SqlServerSequenceHiLoValueGenerator_1: {
53
57
 
54
58
  export type SqlServerSequenceHiLoValueGenerator_1<TValue> = SqlServerSequenceHiLoValueGenerator_1$instance<TValue>;
55
59
 
56
- export interface SqlServerSequenceValueGeneratorFactory$instance {
60
+ export interface SqlServerSequenceValueGeneratorFactory$instance extends ISqlServerSequenceValueGeneratorFactory$instance {
61
+ readonly __tsonic_type_Microsoft_EntityFrameworkCore_SqlServer_ValueGeneration_Internal_SqlServerSequenceValueGeneratorFactory: never;
62
+
63
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_SqlServer_ValueGeneration_Internal_ISqlServerSequenceValueGeneratorFactory: never;
64
+
57
65
  TryCreate(property: IProperty, type: Type, generatorState: SqlServerSequenceValueGeneratorState, connection: ISqlServerConnection, rawSqlCommandBuilder: IRawSqlCommandBuilder, commandLogger: IRelationalCommandDiagnosticsLogger): ValueGenerator | undefined;
58
66
  }
59
67
 
@@ -67,12 +75,14 @@ export interface __SqlServerSequenceValueGeneratorFactory$views {
67
75
  As_ISqlServerSequenceValueGeneratorFactory(): ISqlServerSequenceValueGeneratorFactory$instance;
68
76
  }
69
77
 
70
- export interface SqlServerSequenceValueGeneratorFactory$instance extends ISqlServerSequenceValueGeneratorFactory$instance {}
71
-
72
78
  export type SqlServerSequenceValueGeneratorFactory = SqlServerSequenceValueGeneratorFactory$instance & __SqlServerSequenceValueGeneratorFactory$views;
73
79
 
74
80
 
75
81
  export interface SqlServerSequenceValueGeneratorState$instance extends HiLoValueGeneratorState {
82
+ readonly __tsonic_type_Microsoft_EntityFrameworkCore_SqlServer_ValueGeneration_Internal_SqlServerSequenceValueGeneratorState: never;
83
+
84
+ readonly __tsonic_iface_System_IDisposable: never;
85
+
76
86
  readonly Sequence: ISequence;
77
87
  }
78
88
 
@@ -84,7 +94,12 @@ export const SqlServerSequenceValueGeneratorState: {
84
94
 
85
95
  export type SqlServerSequenceValueGeneratorState = SqlServerSequenceValueGeneratorState$instance;
86
96
 
87
- export interface SqlServerValueGeneratorCache$instance extends ValueGeneratorCache {
97
+ export interface SqlServerValueGeneratorCache$instance extends ValueGeneratorCache, ISqlServerValueGeneratorCache$instance {
98
+ readonly __tsonic_type_Microsoft_EntityFrameworkCore_SqlServer_ValueGeneration_Internal_SqlServerValueGeneratorCache: never;
99
+
100
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_SqlServer_ValueGeneration_Internal_ISqlServerValueGeneratorCache: never;
101
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_ValueGeneration_IValueGeneratorCache: never;
102
+
88
103
  GetOrAddSequenceState(property: IProperty, connection: IRelationalConnection): SqlServerSequenceValueGeneratorState;
89
104
  }
90
105
 
@@ -98,18 +113,16 @@ export interface __SqlServerValueGeneratorCache$views {
98
113
  As_ISqlServerValueGeneratorCache(): ISqlServerValueGeneratorCache$instance;
99
114
  }
100
115
 
101
- export interface SqlServerValueGeneratorCache$instance extends ISqlServerValueGeneratorCache$instance {}
102
-
103
116
  export type SqlServerValueGeneratorCache = SqlServerValueGeneratorCache$instance & __SqlServerValueGeneratorCache$views;
104
117
 
105
118
 
106
- export abstract class SqlServerValueGeneratorSelector$protected {
107
- protected FindForType(property: IProperty, typeBase: ITypeBase, clrType: Type): ValueGenerator | undefined;
108
- }
119
+ export interface SqlServerValueGeneratorSelector$instance extends RelationalValueGeneratorSelector {
120
+ readonly __tsonic_type_Microsoft_EntityFrameworkCore_SqlServer_ValueGeneration_Internal_SqlServerValueGeneratorSelector: never;
109
121
 
122
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_ValueGeneration_IValueGeneratorSelector: never;
110
123
 
111
- export interface SqlServerValueGeneratorSelector$instance extends SqlServerValueGeneratorSelector$protected, RelationalValueGeneratorSelector {
112
124
  readonly Cache: ISqlServerValueGeneratorCache;
125
+ FindForType(property: IProperty, typeBase: ITypeBase, clrType: Type): ValueGenerator | undefined;
113
126
  Select(property: IProperty, typeBase: ITypeBase): ValueGenerator | undefined;
114
127
  TrySelect(property: IProperty, typeBase: ITypeBase, valueGenerator: ValueGenerator): boolean;
115
128
  }
@@ -44,3 +44,6 @@ export { SqlServerPropertyExtensions$instance as SqlServerPropertyExtensions } f
44
44
  export { SqlServerTableBuilderExtensions$instance as SqlServerTableBuilderExtensions } from './Microsoft.EntityFrameworkCore/internal/index.js';
45
45
  export { SqlServerTableExtensions$instance as SqlServerTableExtensions } from './Microsoft.EntityFrameworkCore/internal/index.js';
46
46
  export { SqlServerRetryingExecutionStrategy as SqlServerRetryingExecutionStrategy } from './Microsoft.EntityFrameworkCore/internal/index.js';
47
+ // Extension methods (C# using semantics)
48
+ export type { ExtensionMethods_Microsoft_EntityFrameworkCore as ExtensionMethods } from './__internal/extensions/index.js';
49
+
@@ -7,18 +7,18 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
7
7
 
8
8
  // Import types from other namespaces
9
9
  import type { AzureSqlDbContextOptionsBuilder, AzureSynapseDbContextOptionsBuilder, SqlServerDbContextOptionsBuilder } from "../../Microsoft.EntityFrameworkCore.Infrastructure/internal/index.js";
10
- import * as System_Internal from "@tsonic/dotnet/System.js";
11
- import type { Action, Object as ClrObject, String as ClrString } from "@tsonic/dotnet/System.js";
12
- import type { DbContext, DbContextOptionsBuilder } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.js";
13
- import type { IServiceCollection } from "@tsonic/microsoft-extensions/Microsoft.Extensions.DependencyInjection.js";
10
+ import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
11
+ import type { Action_1, Object as ClrObject, String as ClrString } from "@tsonic/dotnet/System/internal/index.js";
12
+ import type { DbContext, DbContextOptionsBuilder } from "@tsonic/efcore/Microsoft.EntityFrameworkCore/internal/index.js";
13
+ import type { IServiceCollection } from "@tsonic/microsoft-extensions/Microsoft.Extensions.DependencyInjection/internal/index.js";
14
14
 
15
15
  export abstract class SqlServerServiceCollectionExtensions$instance {
16
- static AddAzureSql<TContext extends DbContext>(serviceCollection: IServiceCollection, connectionString: string, azureSqlOptionsAction?: Action<AzureSqlDbContextOptionsBuilder>, optionsAction?: Action<DbContextOptionsBuilder>): IServiceCollection;
17
- static AddAzureSynapse<TContext extends DbContext>(serviceCollection: IServiceCollection, connectionString: string, azureSynapseOptionsAction?: Action<AzureSynapseDbContextOptionsBuilder>, optionsAction?: Action<DbContextOptionsBuilder>): IServiceCollection;
16
+ static AddAzureSql<TContext extends DbContext>(serviceCollection: IServiceCollection, connectionString: string, azureSqlOptionsAction?: Action_1<AzureSqlDbContextOptionsBuilder>, optionsAction?: Action_1<DbContextOptionsBuilder>): IServiceCollection;
17
+ static AddAzureSynapse<TContext extends DbContext>(serviceCollection: IServiceCollection, connectionString: string, azureSynapseOptionsAction?: Action_1<AzureSynapseDbContextOptionsBuilder>, optionsAction?: Action_1<DbContextOptionsBuilder>): IServiceCollection;
18
18
  static AddEntityFrameworkAzureSql(serviceCollection: IServiceCollection): IServiceCollection;
19
19
  static AddEntityFrameworkAzureSynapse(serviceCollection: IServiceCollection): IServiceCollection;
20
20
  static AddEntityFrameworkSqlServer(serviceCollection: IServiceCollection): IServiceCollection;
21
- static AddSqlServer<TContext extends DbContext>(serviceCollection: IServiceCollection, connectionString: string, sqlServerOptionsAction?: Action<SqlServerDbContextOptionsBuilder>, optionsAction?: Action<DbContextOptionsBuilder>): IServiceCollection;
21
+ static AddSqlServer<TContext extends DbContext>(serviceCollection: IServiceCollection, connectionString: string, sqlServerOptionsAction?: Action_1<SqlServerDbContextOptionsBuilder>, optionsAction?: Action_1<DbContextOptionsBuilder>): IServiceCollection;
22
22
  }
23
23
 
24
24
 
@@ -13,3 +13,6 @@ import type { IServiceCollection } from '@tsonic/microsoft-extensions/Microsoft.
13
13
 
14
14
  // Public API exports (curated - no internal $instance/$views leakage)
15
15
  export { SqlServerServiceCollectionExtensions$instance as SqlServerServiceCollectionExtensions } from './Microsoft.Extensions.DependencyInjection/internal/index.js';
16
+ // Extension methods (C# using semantics)
17
+ export type { ExtensionMethods_Microsoft_Extensions_DependencyInjection as ExtensionMethods } from './__internal/extensions/index.js';
18
+