@tsonic/efcore-sqlite 0.1.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.
- package/Microsoft.Data.Sqlite/bindings.json +2636 -3286
- package/Microsoft.Data.Sqlite/internal/index.d.ts +312 -267
- package/Microsoft.DotNet.PlatformAbstractions/bindings.json +55 -72
- package/Microsoft.DotNet.PlatformAbstractions/internal/index.d.ts +6 -6
- package/Microsoft.EntityFrameworkCore/bindings.json +610 -803
- package/Microsoft.EntityFrameworkCore/internal/index.d.ts +69 -69
- package/Microsoft.EntityFrameworkCore.Diagnostics/bindings.json +84 -260
- package/Microsoft.EntityFrameworkCore.Diagnostics/internal/index.d.ts +22 -22
- package/Microsoft.EntityFrameworkCore.Infrastructure/bindings.json +52 -38
- package/Microsoft.EntityFrameworkCore.Infrastructure/internal/index.d.ts +2 -2
- package/Microsoft.EntityFrameworkCore.Metadata/bindings.json +40 -37
- package/Microsoft.EntityFrameworkCore.Metadata/internal/index.d.ts +2 -2
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions/bindings.json +261 -122
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions/internal/index.d.ts +35 -11
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions.d.ts +3 -2
- package/Microsoft.EntityFrameworkCore.Migrations/bindings.json +586 -40
- package/Microsoft.EntityFrameworkCore.Migrations/internal/index.d.ts +37 -6
- package/Microsoft.EntityFrameworkCore.Migrations.d.ts +3 -3
- package/Microsoft.EntityFrameworkCore.Sqlite.Design.Internal/bindings.json +103 -97
- package/Microsoft.EntityFrameworkCore.Sqlite.Design.Internal/internal/index.d.ts +12 -7
- package/Microsoft.EntityFrameworkCore.Sqlite.Design.Internal.d.ts +1 -1
- package/Microsoft.EntityFrameworkCore.Sqlite.Diagnostics.Internal/bindings.json +92 -284
- package/Microsoft.EntityFrameworkCore.Sqlite.Diagnostics.Internal/internal/index.d.ts +22 -22
- package/Microsoft.EntityFrameworkCore.Sqlite.Infrastructure.Internal/bindings.json +230 -82
- package/Microsoft.EntityFrameworkCore.Sqlite.Infrastructure.Internal/internal/index.d.ts +29 -9
- package/Microsoft.EntityFrameworkCore.Sqlite.Infrastructure.Internal.d.ts +3 -2
- package/Microsoft.EntityFrameworkCore.Sqlite.Internal/bindings.json +381 -564
- package/Microsoft.EntityFrameworkCore.Sqlite.Internal/internal/index.d.ts +50 -50
- package/Microsoft.EntityFrameworkCore.Sqlite.Metadata.Internal/bindings.json +63 -139
- package/Microsoft.EntityFrameworkCore.Sqlite.Metadata.Internal/internal/index.d.ts +11 -11
- package/Microsoft.EntityFrameworkCore.Sqlite.Migrations.Internal/bindings.json +171 -142
- package/Microsoft.EntityFrameworkCore.Sqlite.Migrations.Internal/internal/index.d.ts +19 -12
- package/Microsoft.EntityFrameworkCore.Sqlite.Migrations.Internal.d.ts +1 -1
- package/Microsoft.EntityFrameworkCore.Sqlite.Query.Internal/bindings.json +2037 -1206
- package/Microsoft.EntityFrameworkCore.Sqlite.Query.Internal/internal/index.d.ts +191 -79
- package/Microsoft.EntityFrameworkCore.Sqlite.Query.Internal.d.ts +5 -4
- package/Microsoft.EntityFrameworkCore.Sqlite.Scaffolding.Internal/bindings.json +78 -61
- package/Microsoft.EntityFrameworkCore.Sqlite.Scaffolding.Internal/internal/index.d.ts +11 -6
- package/Microsoft.EntityFrameworkCore.Sqlite.Scaffolding.Internal.d.ts +2 -2
- package/Microsoft.EntityFrameworkCore.Sqlite.Storage.Internal/bindings.json +951 -446
- package/Microsoft.EntityFrameworkCore.Sqlite.Storage.Internal/internal/index.d.ts +120 -36
- package/Microsoft.EntityFrameworkCore.Sqlite.Storage.Internal.d.ts +3 -2
- package/Microsoft.EntityFrameworkCore.Sqlite.Storage.Json.Internal/bindings.json +203 -250
- package/Microsoft.EntityFrameworkCore.Sqlite.Storage.Json.Internal/internal/index.d.ts +20 -20
- package/Microsoft.EntityFrameworkCore.Sqlite.Update.Internal/bindings.json +269 -154
- package/Microsoft.EntityFrameworkCore.Sqlite.Update.Internal/internal/index.d.ts +31 -12
- package/Microsoft.EntityFrameworkCore.Sqlite.Update.Internal.d.ts +3 -2
- package/Microsoft.Extensions.DependencyInjection/bindings.json +34 -26
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +2 -2
- package/Microsoft.Extensions.DependencyModel/bindings.json +743 -1368
- package/Microsoft.Extensions.DependencyModel/internal/index.d.ts +84 -79
- package/Microsoft.Extensions.DependencyModel.Resolution/bindings.json +172 -228
- package/Microsoft.Extensions.DependencyModel.Resolution/internal/index.d.ts +7 -7
- package/SQLitePCL/bindings.json +10824 -14640
- package/SQLitePCL/internal/index.d.ts +72 -42
- package/System.Collections.Generic/bindings.json +58 -70
- package/System.Collections.Generic/internal/index.d.ts +6 -6
- package/__build/scripts/generate.sh +4 -4
- package/__internal/extensions/index.d.ts +12 -12
- package/package.json +5 -5
- package/Microsoft.Data.Sqlite/internal/metadata.json +0 -4417
- package/Microsoft.DotNet.PlatformAbstractions/internal/metadata.json +0 -121
- package/Microsoft.EntityFrameworkCore/internal/metadata.json +0 -1368
- package/Microsoft.EntityFrameworkCore.Diagnostics/internal/metadata.json +0 -267
- package/Microsoft.EntityFrameworkCore.Infrastructure/internal/metadata.json +0 -82
- package/Microsoft.EntityFrameworkCore.Metadata/internal/metadata.json +0 -54
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions/internal/metadata.json +0 -203
- package/Microsoft.EntityFrameworkCore.Migrations/internal/metadata.json +0 -81
- package/Microsoft.EntityFrameworkCore.Sqlite.Design.Internal/internal/metadata.json +0 -157
- package/Microsoft.EntityFrameworkCore.Sqlite.Diagnostics.Internal/internal/metadata.json +0 -293
- package/Microsoft.EntityFrameworkCore.Sqlite.Infrastructure.Internal/internal/metadata.json +0 -133
- package/Microsoft.EntityFrameworkCore.Sqlite.Internal/internal/metadata.json +0 -855
- package/Microsoft.EntityFrameworkCore.Sqlite.Metadata.Internal/internal/metadata.json +0 -161
- package/Microsoft.EntityFrameworkCore.Sqlite.Migrations.Internal/internal/metadata.json +0 -214
- package/Microsoft.EntityFrameworkCore.Sqlite.Query.Internal/internal/metadata.json +0 -1844
- package/Microsoft.EntityFrameworkCore.Sqlite.Scaffolding.Internal/internal/metadata.json +0 -102
- package/Microsoft.EntityFrameworkCore.Sqlite.Storage.Internal/internal/metadata.json +0 -707
- package/Microsoft.EntityFrameworkCore.Sqlite.Storage.Json.Internal/internal/metadata.json +0 -438
- package/Microsoft.EntityFrameworkCore.Sqlite.Update.Internal/internal/metadata.json +0 -280
- package/Microsoft.Extensions.DependencyInjection/internal/metadata.json +0 -63
- package/Microsoft.Extensions.DependencyModel/internal/metadata.json +0 -1654
- package/Microsoft.Extensions.DependencyModel.Resolution/internal/metadata.json +0 -329
- package/SQLitePCL/internal/metadata.json +0 -11902
- package/System.Collections.Generic/internal/metadata.json +0 -123
|
@@ -5,10 +5,14 @@
|
|
|
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 { DbConnection } from "@tsonic/dotnet/System.Data.Common.js";
|
|
9
13
|
import type { DbType } from "@tsonic/dotnet/System.Data.js";
|
|
10
14
|
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
11
|
-
import type { Boolean as ClrBoolean, IAsyncDisposable, IDisposable, Int32, Nullable, String as ClrString, Void } from "@tsonic/dotnet/System.js";
|
|
15
|
+
import type { Boolean as ClrBoolean, IAsyncDisposable, IDisposable, Int32, Nullable, Object as ClrObject, String as ClrString, Void } from "@tsonic/dotnet/System.js";
|
|
12
16
|
import type { Expression } from "@tsonic/dotnet/System.Linq.Expressions.js";
|
|
13
17
|
import type { MethodInfo } from "@tsonic/dotnet/System.Reflection.js";
|
|
14
18
|
import type { StringBuilder } from "@tsonic/dotnet/System.Text.js";
|
|
@@ -17,32 +21,38 @@ import * as Microsoft_EntityFrameworkCore_Infrastructure_Internal from "@tsonic/
|
|
|
17
21
|
import type { IResettableService } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Infrastructure.js";
|
|
18
22
|
import type { DbLoggerCategory$Infrastructure } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.js";
|
|
19
23
|
import * as Microsoft_EntityFrameworkCore_Storage_Internal from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Storage.js";
|
|
20
|
-
import type { ByteArrayTypeMapping, DateOnlyTypeMapping, DateTimeOffsetTypeMapping, DateTimeTypeMapping, DecimalTypeMapping, GuidTypeMapping, IDatabaseCreator, IDbContextTransactionManager, IRawSqlCommandBuilder, IRelationalConnection, IRelationalDatabaseCreator, IRelationalTransactionManager, IRelationalTypeMappingSource, ISqlGenerationHelper, ITransactionEnlistmentManager, ITypeMappingSource, JsonTypeMapping, RelationalConnection, RelationalConnectionDependencies, RelationalDatabaseCreator, RelationalDatabaseCreatorDependencies, RelationalSqlGenerationHelper, RelationalSqlGenerationHelperDependencies, RelationalTypeMappingSource, RelationalTypeMappingSourceDependencies, StringTypeMapping, TimeOnlyTypeMapping, TypeMappingSourceDependencies, ULongTypeMapping } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Storage.js";
|
|
24
|
+
import type { ByteArrayTypeMapping, DateOnlyTypeMapping, DateTimeOffsetTypeMapping, DateTimeTypeMapping, DecimalTypeMapping, GuidTypeMapping, IDatabaseCreator, IDbContextTransactionManager, IRawSqlCommandBuilder, IRelationalConnection, IRelationalDatabaseCreator, IRelationalTransactionManager, IRelationalTypeMappingSource, ISqlGenerationHelper, ITransactionEnlistmentManager, ITypeMappingSource, JsonTypeMapping, RelationalConnection, RelationalConnectionDependencies, RelationalDatabaseCreator, RelationalDatabaseCreatorDependencies, RelationalSqlGenerationHelper, RelationalSqlGenerationHelperDependencies, RelationalTypeMapping, RelationalTypeMappingInfo, RelationalTypeMappingSource, RelationalTypeMappingSourceDependencies, StringTypeMapping, TimeOnlyTypeMapping, TypeMappingSourceDependencies, ULongTypeMapping } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Storage.js";
|
|
21
25
|
|
|
22
26
|
export interface ISqliteRelationalConnection$instance extends IRelationalConnection, IRelationalTransactionManager, IDbContextTransactionManager, IResettableService, IDisposable, IAsyncDisposable {
|
|
23
|
-
|
|
27
|
+
CreateReadOnlyConnection(): ISqliteRelationalConnection;
|
|
24
28
|
}
|
|
25
29
|
|
|
26
30
|
|
|
27
31
|
export type ISqliteRelationalConnection = ISqliteRelationalConnection$instance;
|
|
28
32
|
|
|
29
|
-
export
|
|
33
|
+
export abstract class SqliteByteArrayTypeMapping$protected {
|
|
34
|
+
protected Clone(parameters: RelationalTypeMapping_RelationalTypeMappingParameters): RelationalTypeMapping;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
export interface SqliteByteArrayTypeMapping$instance extends SqliteByteArrayTypeMapping$protected, ByteArrayTypeMapping {
|
|
30
39
|
}
|
|
31
40
|
|
|
32
41
|
|
|
33
42
|
export const SqliteByteArrayTypeMapping: {
|
|
34
43
|
new(storeType: string, dbType: Nullable<DbType>): SqliteByteArrayTypeMapping;
|
|
35
|
-
|
|
44
|
+
new(parameters: RelationalTypeMapping_RelationalTypeMappingParameters): SqliteByteArrayTypeMapping;
|
|
45
|
+
readonly Default: SqliteByteArrayTypeMapping;
|
|
36
46
|
};
|
|
37
47
|
|
|
38
48
|
|
|
39
49
|
export type SqliteByteArrayTypeMapping = SqliteByteArrayTypeMapping$instance;
|
|
40
50
|
|
|
41
51
|
export interface SqliteDatabaseCreator$instance extends RelationalDatabaseCreator {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
52
|
+
Create(): void;
|
|
53
|
+
Delete(): void;
|
|
54
|
+
Exists(): boolean;
|
|
55
|
+
HasTables(): boolean;
|
|
46
56
|
}
|
|
47
57
|
|
|
48
58
|
|
|
@@ -53,82 +63,130 @@ export const SqliteDatabaseCreator: {
|
|
|
53
63
|
|
|
54
64
|
export type SqliteDatabaseCreator = SqliteDatabaseCreator$instance;
|
|
55
65
|
|
|
56
|
-
export
|
|
66
|
+
export abstract class SqliteDateOnlyTypeMapping$protected {
|
|
67
|
+
protected readonly SqlLiteralFormatString: string;
|
|
68
|
+
protected Clone(parameters: RelationalTypeMapping_RelationalTypeMappingParameters): RelationalTypeMapping;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
export interface SqliteDateOnlyTypeMapping$instance extends SqliteDateOnlyTypeMapping$protected, DateOnlyTypeMapping {
|
|
57
73
|
}
|
|
58
74
|
|
|
59
75
|
|
|
60
76
|
export const SqliteDateOnlyTypeMapping: {
|
|
61
77
|
new(storeType: string, dbType: Nullable<DbType>): SqliteDateOnlyTypeMapping;
|
|
62
|
-
|
|
78
|
+
new(parameters: RelationalTypeMapping_RelationalTypeMappingParameters): SqliteDateOnlyTypeMapping;
|
|
79
|
+
readonly Default: SqliteDateOnlyTypeMapping;
|
|
63
80
|
};
|
|
64
81
|
|
|
65
82
|
|
|
66
83
|
export type SqliteDateOnlyTypeMapping = SqliteDateOnlyTypeMapping$instance;
|
|
67
84
|
|
|
68
|
-
export
|
|
85
|
+
export abstract class SqliteDateTimeOffsetTypeMapping$protected {
|
|
86
|
+
protected readonly SqlLiteralFormatString: string;
|
|
87
|
+
protected Clone(parameters: RelationalTypeMapping_RelationalTypeMappingParameters): RelationalTypeMapping;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
export interface SqliteDateTimeOffsetTypeMapping$instance extends SqliteDateTimeOffsetTypeMapping$protected, DateTimeOffsetTypeMapping {
|
|
69
92
|
}
|
|
70
93
|
|
|
71
94
|
|
|
72
95
|
export const SqliteDateTimeOffsetTypeMapping: {
|
|
73
96
|
new(storeType: string, dbType: Nullable<DbType>): SqliteDateTimeOffsetTypeMapping;
|
|
74
|
-
|
|
97
|
+
new(parameters: RelationalTypeMapping_RelationalTypeMappingParameters): SqliteDateTimeOffsetTypeMapping;
|
|
98
|
+
readonly Default: SqliteDateTimeOffsetTypeMapping;
|
|
75
99
|
};
|
|
76
100
|
|
|
77
101
|
|
|
78
102
|
export type SqliteDateTimeOffsetTypeMapping = SqliteDateTimeOffsetTypeMapping$instance;
|
|
79
103
|
|
|
80
|
-
export
|
|
104
|
+
export abstract class SqliteDateTimeTypeMapping$protected {
|
|
105
|
+
protected readonly SqlLiteralFormatString: string;
|
|
106
|
+
protected Clone(parameters: RelationalTypeMapping_RelationalTypeMappingParameters): RelationalTypeMapping;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
export interface SqliteDateTimeTypeMapping$instance extends SqliteDateTimeTypeMapping$protected, DateTimeTypeMapping {
|
|
81
111
|
}
|
|
82
112
|
|
|
83
113
|
|
|
84
114
|
export const SqliteDateTimeTypeMapping: {
|
|
85
115
|
new(storeType: string, dbType: Nullable<DbType>): SqliteDateTimeTypeMapping;
|
|
86
|
-
|
|
116
|
+
new(parameters: RelationalTypeMapping_RelationalTypeMappingParameters): SqliteDateTimeTypeMapping;
|
|
117
|
+
readonly Default: SqliteDateTimeTypeMapping;
|
|
87
118
|
};
|
|
88
119
|
|
|
89
120
|
|
|
90
121
|
export type SqliteDateTimeTypeMapping = SqliteDateTimeTypeMapping$instance;
|
|
91
122
|
|
|
92
|
-
export
|
|
123
|
+
export abstract class SqliteDecimalTypeMapping$protected {
|
|
124
|
+
protected readonly SqlLiteralFormatString: string;
|
|
125
|
+
protected Clone(parameters: RelationalTypeMapping_RelationalTypeMappingParameters): RelationalTypeMapping;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
export interface SqliteDecimalTypeMapping$instance extends SqliteDecimalTypeMapping$protected, DecimalTypeMapping {
|
|
93
130
|
}
|
|
94
131
|
|
|
95
132
|
|
|
96
133
|
export const SqliteDecimalTypeMapping: {
|
|
97
134
|
new(storeType: string, dbType: Nullable<DbType>): SqliteDecimalTypeMapping;
|
|
98
|
-
|
|
135
|
+
new(parameters: RelationalTypeMapping_RelationalTypeMappingParameters): SqliteDecimalTypeMapping;
|
|
136
|
+
readonly Default: SqliteDecimalTypeMapping;
|
|
99
137
|
};
|
|
100
138
|
|
|
101
139
|
|
|
102
140
|
export type SqliteDecimalTypeMapping = SqliteDecimalTypeMapping$instance;
|
|
103
141
|
|
|
104
|
-
export
|
|
142
|
+
export abstract class SqliteGuidTypeMapping$protected {
|
|
143
|
+
protected Clone(parameters: RelationalTypeMapping_RelationalTypeMappingParameters): RelationalTypeMapping;
|
|
144
|
+
protected GenerateNonNullSqlLiteral(value: unknown): string;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
export interface SqliteGuidTypeMapping$instance extends SqliteGuidTypeMapping$protected, GuidTypeMapping {
|
|
105
149
|
}
|
|
106
150
|
|
|
107
151
|
|
|
108
152
|
export const SqliteGuidTypeMapping: {
|
|
109
153
|
new(storeType: string, dbType: Nullable<DbType>): SqliteGuidTypeMapping;
|
|
110
|
-
|
|
154
|
+
new(parameters: RelationalTypeMapping_RelationalTypeMappingParameters): SqliteGuidTypeMapping;
|
|
155
|
+
readonly Default: SqliteGuidTypeMapping;
|
|
111
156
|
};
|
|
112
157
|
|
|
113
158
|
|
|
114
159
|
export type SqliteGuidTypeMapping = SqliteGuidTypeMapping$instance;
|
|
115
160
|
|
|
116
|
-
export
|
|
117
|
-
|
|
118
|
-
|
|
161
|
+
export abstract class SqliteJsonTypeMapping$protected {
|
|
162
|
+
protected Clone(parameters: RelationalTypeMapping_RelationalTypeMappingParameters): RelationalTypeMapping;
|
|
163
|
+
protected EscapeSqlLiteral(literal: string): string;
|
|
164
|
+
protected GenerateNonNullSqlLiteral(value: unknown): string;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
export interface SqliteJsonTypeMapping$instance extends SqliteJsonTypeMapping$protected, JsonTypeMapping {
|
|
169
|
+
CustomizeDataReaderExpression(expression: Expression): Expression;
|
|
170
|
+
GetDataReaderMethod(): MethodInfo;
|
|
119
171
|
}
|
|
120
172
|
|
|
121
173
|
|
|
122
174
|
export const SqliteJsonTypeMapping: {
|
|
123
175
|
new(storeType: string): SqliteJsonTypeMapping;
|
|
124
|
-
|
|
176
|
+
new(parameters: RelationalTypeMapping_RelationalTypeMappingParameters): SqliteJsonTypeMapping;
|
|
177
|
+
readonly Default: SqliteJsonTypeMapping;
|
|
125
178
|
};
|
|
126
179
|
|
|
127
180
|
|
|
128
181
|
export type SqliteJsonTypeMapping = SqliteJsonTypeMapping$instance;
|
|
129
182
|
|
|
130
|
-
export
|
|
131
|
-
|
|
183
|
+
export abstract class SqliteRelationalConnection$protected {
|
|
184
|
+
protected CreateDbConnection(): DbConnection;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
export interface SqliteRelationalConnection$instance extends SqliteRelationalConnection$protected, RelationalConnection {
|
|
189
|
+
CreateReadOnlyConnection(): ISqliteRelationalConnection;
|
|
132
190
|
}
|
|
133
191
|
|
|
134
192
|
|
|
@@ -147,9 +205,9 @@ export type SqliteRelationalConnection = SqliteRelationalConnection$instance & _
|
|
|
147
205
|
|
|
148
206
|
|
|
149
207
|
export interface SqliteSqlGenerationHelper$instance extends RelationalSqlGenerationHelper {
|
|
150
|
-
readonly
|
|
151
|
-
|
|
152
|
-
|
|
208
|
+
readonly StartTransactionStatement: string;
|
|
209
|
+
DelimitIdentifier(name: string, schema: string): string;
|
|
210
|
+
DelimitIdentifier(builder: StringBuilder, name: string, schema: string): void;
|
|
153
211
|
}
|
|
154
212
|
|
|
155
213
|
|
|
@@ -160,49 +218,75 @@ export const SqliteSqlGenerationHelper: {
|
|
|
160
218
|
|
|
161
219
|
export type SqliteSqlGenerationHelper = SqliteSqlGenerationHelper$instance;
|
|
162
220
|
|
|
163
|
-
export
|
|
221
|
+
export abstract class SqliteStringTypeMapping$protected {
|
|
222
|
+
protected Clone(parameters: RelationalTypeMapping_RelationalTypeMappingParameters): RelationalTypeMapping;
|
|
223
|
+
protected GenerateNonNullSqlLiteral(value: unknown): string;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
export interface SqliteStringTypeMapping$instance extends SqliteStringTypeMapping$protected, StringTypeMapping {
|
|
164
228
|
}
|
|
165
229
|
|
|
166
230
|
|
|
167
231
|
export const SqliteStringTypeMapping: {
|
|
168
232
|
new(storeType: string, dbType: Nullable<DbType>, unicode: boolean, size: Nullable<System_Internal.Int32>): SqliteStringTypeMapping;
|
|
169
|
-
|
|
233
|
+
new(parameters: RelationalTypeMapping_RelationalTypeMappingParameters): SqliteStringTypeMapping;
|
|
234
|
+
readonly Default: SqliteStringTypeMapping;
|
|
170
235
|
};
|
|
171
236
|
|
|
172
237
|
|
|
173
238
|
export type SqliteStringTypeMapping = SqliteStringTypeMapping$instance;
|
|
174
239
|
|
|
175
|
-
export
|
|
240
|
+
export abstract class SqliteTimeOnlyTypeMapping$protected {
|
|
241
|
+
protected Clone(parameters: RelationalTypeMapping_RelationalTypeMappingParameters): RelationalTypeMapping;
|
|
242
|
+
protected GenerateNonNullSqlLiteral(value: unknown): string;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
export interface SqliteTimeOnlyTypeMapping$instance extends SqliteTimeOnlyTypeMapping$protected, TimeOnlyTypeMapping {
|
|
176
247
|
}
|
|
177
248
|
|
|
178
249
|
|
|
179
250
|
export const SqliteTimeOnlyTypeMapping: {
|
|
180
251
|
new(storeType: string, dbType: Nullable<DbType>): SqliteTimeOnlyTypeMapping;
|
|
181
|
-
|
|
252
|
+
new(parameters: RelationalTypeMapping_RelationalTypeMappingParameters): SqliteTimeOnlyTypeMapping;
|
|
253
|
+
readonly Default: SqliteTimeOnlyTypeMapping;
|
|
182
254
|
};
|
|
183
255
|
|
|
184
256
|
|
|
185
257
|
export type SqliteTimeOnlyTypeMapping = SqliteTimeOnlyTypeMapping$instance;
|
|
186
258
|
|
|
187
|
-
export
|
|
259
|
+
export abstract class SqliteTypeMappingSource$protected {
|
|
260
|
+
protected FindMapping(mappingInfo: RelationalTypeMappingInfo): RelationalTypeMapping | undefined;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
export interface SqliteTypeMappingSource$instance extends SqliteTypeMappingSource$protected, RelationalTypeMappingSource {
|
|
188
265
|
}
|
|
189
266
|
|
|
190
267
|
|
|
191
268
|
export const SqliteTypeMappingSource: {
|
|
192
269
|
new(dependencies: TypeMappingSourceDependencies, relationalDependencies: RelationalTypeMappingSourceDependencies): SqliteTypeMappingSource;
|
|
193
|
-
|
|
270
|
+
IsSpatialiteType(columnType: string): boolean;
|
|
194
271
|
};
|
|
195
272
|
|
|
196
273
|
|
|
197
274
|
export type SqliteTypeMappingSource = SqliteTypeMappingSource$instance;
|
|
198
275
|
|
|
199
|
-
export
|
|
276
|
+
export abstract class SqliteULongTypeMapping$protected {
|
|
277
|
+
protected Clone(parameters: RelationalTypeMapping_RelationalTypeMappingParameters): RelationalTypeMapping;
|
|
278
|
+
protected GenerateNonNullSqlLiteral(value: unknown): string;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
export interface SqliteULongTypeMapping$instance extends SqliteULongTypeMapping$protected, ULongTypeMapping {
|
|
200
283
|
}
|
|
201
284
|
|
|
202
285
|
|
|
203
286
|
export const SqliteULongTypeMapping: {
|
|
204
287
|
new(storeType: string, dbType: Nullable<DbType>): SqliteULongTypeMapping;
|
|
205
|
-
|
|
288
|
+
new(parameters: RelationalTypeMapping_RelationalTypeMappingParameters): SqliteULongTypeMapping;
|
|
289
|
+
readonly Default: SqliteULongTypeMapping;
|
|
206
290
|
};
|
|
207
291
|
|
|
208
292
|
|
|
@@ -6,15 +6,16 @@
|
|
|
6
6
|
import * as Internal from './Microsoft.EntityFrameworkCore.Sqlite.Storage.Internal/internal/index.js';
|
|
7
7
|
|
|
8
8
|
// Cross-namespace type imports for constraints
|
|
9
|
+
import type { DbConnection } from '@tsonic/dotnet/System.Data.Common.js';
|
|
9
10
|
import type { DbType } from '@tsonic/dotnet/System.Data.js';
|
|
10
|
-
import type { Boolean as ClrBoolean, IAsyncDisposable, IDisposable, Int32, Nullable, String as ClrString, Void } from '@tsonic/dotnet/System.js';
|
|
11
|
+
import type { Boolean as ClrBoolean, IAsyncDisposable, IDisposable, Int32, Nullable, Object as ClrObject, String as ClrString, Void } from '@tsonic/dotnet/System.js';
|
|
11
12
|
import type { Expression } from '@tsonic/dotnet/System.Linq.Expressions.js';
|
|
12
13
|
import type { MethodInfo } from '@tsonic/dotnet/System.Reflection.js';
|
|
13
14
|
import type { StringBuilder } from '@tsonic/dotnet/System.Text.js';
|
|
14
15
|
import type { IDiagnosticsLogger } from '@tsonic/efcore/Microsoft.EntityFrameworkCore.Diagnostics.js';
|
|
15
16
|
import type { IResettableService } from '@tsonic/efcore/Microsoft.EntityFrameworkCore.Infrastructure.js';
|
|
16
17
|
import type { DbLoggerCategory$Infrastructure } from '@tsonic/efcore/Microsoft.EntityFrameworkCore.js';
|
|
17
|
-
import type { ByteArrayTypeMapping, DateOnlyTypeMapping, DateTimeOffsetTypeMapping, DateTimeTypeMapping, DecimalTypeMapping, GuidTypeMapping, IDatabaseCreator, IDbContextTransactionManager, IRawSqlCommandBuilder, IRelationalConnection, IRelationalDatabaseCreator, IRelationalTransactionManager, IRelationalTypeMappingSource, ISqlGenerationHelper, ITransactionEnlistmentManager, ITypeMappingSource, JsonTypeMapping, RelationalConnection, RelationalConnectionDependencies, RelationalDatabaseCreator, RelationalDatabaseCreatorDependencies, RelationalSqlGenerationHelper, RelationalSqlGenerationHelperDependencies, RelationalTypeMappingSource, RelationalTypeMappingSourceDependencies, StringTypeMapping, TimeOnlyTypeMapping, TypeMappingSourceDependencies, ULongTypeMapping } from '@tsonic/efcore/Microsoft.EntityFrameworkCore.Storage.js';
|
|
18
|
+
import type { ByteArrayTypeMapping, DateOnlyTypeMapping, DateTimeOffsetTypeMapping, DateTimeTypeMapping, DecimalTypeMapping, GuidTypeMapping, IDatabaseCreator, IDbContextTransactionManager, IRawSqlCommandBuilder, IRelationalConnection, IRelationalDatabaseCreator, IRelationalTransactionManager, IRelationalTypeMappingSource, ISqlGenerationHelper, ITransactionEnlistmentManager, ITypeMappingSource, JsonTypeMapping, RelationalConnection, RelationalConnectionDependencies, RelationalDatabaseCreator, RelationalDatabaseCreatorDependencies, RelationalSqlGenerationHelper, RelationalSqlGenerationHelperDependencies, RelationalTypeMapping, RelationalTypeMappingInfo, RelationalTypeMappingSource, RelationalTypeMappingSourceDependencies, StringTypeMapping, TimeOnlyTypeMapping, TypeMappingSourceDependencies, ULongTypeMapping } from '@tsonic/efcore/Microsoft.EntityFrameworkCore.Storage.js';
|
|
18
19
|
|
|
19
20
|
// Public API exports (curated - no internal $instance/$views leakage)
|
|
20
21
|
export type ISqliteRelationalConnection = Internal.ISqliteRelationalConnection;
|