@tsonic/efcore 10.0.1 → 10.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Microsoft.EntityFrameworkCore/bindings.json +2247 -5
- package/Microsoft.EntityFrameworkCore/internal/index.d.ts +30 -5
- package/Microsoft.EntityFrameworkCore.ChangeTracking/bindings.json +1707 -6
- package/Microsoft.EntityFrameworkCore.ChangeTracking/internal/index.d.ts +74 -14
- package/Microsoft.EntityFrameworkCore.ChangeTracking.Internal/bindings.json +4784 -172
- package/Microsoft.EntityFrameworkCore.ChangeTracking.Internal/internal/index.d.ts +210 -25
- package/Microsoft.EntityFrameworkCore.ChangeTracking.Internal.d.ts +1 -1
- package/Microsoft.EntityFrameworkCore.ChangeTracking.d.ts +3 -3
- package/Microsoft.EntityFrameworkCore.Design/bindings.json +1175 -171
- package/Microsoft.EntityFrameworkCore.Design/internal/index.d.ts +52 -3
- package/Microsoft.EntityFrameworkCore.Design.Internal/bindings.json +306 -2
- package/Microsoft.EntityFrameworkCore.Design.Internal/internal/index.d.ts +15 -2
- package/Microsoft.EntityFrameworkCore.Diagnostics/bindings.json +2919 -10
- package/Microsoft.EntityFrameworkCore.Diagnostics/internal/index.d.ts +28 -3
- package/Microsoft.EntityFrameworkCore.Diagnostics.Internal/bindings.json +1027 -77
- package/Microsoft.EntityFrameworkCore.Diagnostics.Internal/internal/index.d.ts +53 -17
- package/Microsoft.EntityFrameworkCore.Infrastructure/bindings.json +4386 -655
- package/Microsoft.EntityFrameworkCore.Infrastructure/internal/index.d.ts +229 -23
- package/Microsoft.EntityFrameworkCore.Infrastructure.Internal/bindings.json +251 -7
- package/Microsoft.EntityFrameworkCore.Infrastructure.Internal/internal/index.d.ts +11 -4
- package/Microsoft.EntityFrameworkCore.Infrastructure.d.ts +3 -2
- package/Microsoft.EntityFrameworkCore.Internal/bindings.json +754 -2
- package/Microsoft.EntityFrameworkCore.Internal/internal/index.d.ts +1 -1
- package/Microsoft.EntityFrameworkCore.Metadata/bindings.json +8776 -125
- package/Microsoft.EntityFrameworkCore.Metadata/internal/index.d.ts +174 -27
- package/Microsoft.EntityFrameworkCore.Metadata.Builders/bindings.json +5621 -147
- package/Microsoft.EntityFrameworkCore.Metadata.Builders/internal/index.d.ts +255 -33
- package/Microsoft.EntityFrameworkCore.Metadata.Builders.d.ts +1 -1
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions/bindings.json +8740 -1109
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions/internal/index.d.ts +604 -79
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure/bindings.json +152 -3
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure/internal/index.d.ts +15 -2
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.d.ts +1 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal/bindings.json +144 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions.d.ts +7 -5
- package/Microsoft.EntityFrameworkCore.Metadata.Internal/bindings.json +16619 -30
- package/Microsoft.EntityFrameworkCore.Metadata.Internal/internal/index.d.ts +673 -91
- package/Microsoft.EntityFrameworkCore.Migrations/bindings.json +2197 -67
- package/Microsoft.EntityFrameworkCore.Migrations/internal/index.d.ts +119 -11
- package/Microsoft.EntityFrameworkCore.Migrations.Internal/bindings.json +1304 -119
- package/Microsoft.EntityFrameworkCore.Migrations.Internal/internal/index.d.ts +70 -5
- package/Microsoft.EntityFrameworkCore.Migrations.Internal.d.ts +3 -3
- package/Microsoft.EntityFrameworkCore.Migrations.Operations/bindings.json +4318 -46
- package/Microsoft.EntityFrameworkCore.Migrations.Operations/internal/index.d.ts +293 -36
- package/Microsoft.EntityFrameworkCore.Migrations.Operations.Builders/bindings.json +102 -0
- package/Microsoft.EntityFrameworkCore.Migrations.Operations.Builders/internal/index.d.ts +6 -1
- package/Microsoft.EntityFrameworkCore.Migrations.d.ts +5 -4
- package/Microsoft.EntityFrameworkCore.Query/bindings.json +17431 -7313
- package/Microsoft.EntityFrameworkCore.Query/internal/index.d.ts +721 -85
- package/Microsoft.EntityFrameworkCore.Query.Internal/bindings.json +3807 -228
- package/Microsoft.EntityFrameworkCore.Query.Internal/internal/index.d.ts +299 -49
- package/Microsoft.EntityFrameworkCore.Query.Internal.d.ts +3 -3
- package/Microsoft.EntityFrameworkCore.Query.SqlExpressions/bindings.json +3589 -953
- package/Microsoft.EntityFrameworkCore.Query.SqlExpressions/internal/index.d.ts +327 -127
- package/Microsoft.EntityFrameworkCore.Query.d.ts +6 -5
- package/Microsoft.EntityFrameworkCore.Scaffolding/bindings.json +125 -3
- package/Microsoft.EntityFrameworkCore.Scaffolding/internal/index.d.ts +8 -1
- package/Microsoft.EntityFrameworkCore.Scaffolding.Metadata/bindings.json +1160 -9
- package/Microsoft.EntityFrameworkCore.Scaffolding.Metadata/internal/index.d.ts +80 -10
- package/Microsoft.EntityFrameworkCore.Storage/bindings.json +5813 -272
- package/Microsoft.EntityFrameworkCore.Storage/internal/index.d.ts +432 -55
- package/Microsoft.EntityFrameworkCore.Storage.Internal/bindings.json +534 -6
- package/Microsoft.EntityFrameworkCore.Storage.Internal/internal/index.d.ts +50 -7
- package/Microsoft.EntityFrameworkCore.Storage.Internal.d.ts +2 -1
- package/Microsoft.EntityFrameworkCore.Storage.Json/bindings.json +570 -2
- package/Microsoft.EntityFrameworkCore.Storage.Json/internal/index.d.ts +7 -1
- package/Microsoft.EntityFrameworkCore.Storage.ValueConversion/bindings.json +652 -2
- package/Microsoft.EntityFrameworkCore.Storage.ValueConversion/internal/index.d.ts +9 -1
- package/Microsoft.EntityFrameworkCore.Storage.ValueConversion.Internal/bindings.json +663 -16
- package/Microsoft.EntityFrameworkCore.Storage.ValueConversion.Internal/internal/index.d.ts +28 -1
- package/Microsoft.EntityFrameworkCore.Storage.ValueConversion.Internal.d.ts +1 -1
- package/Microsoft.EntityFrameworkCore.Storage.d.ts +4 -4
- package/Microsoft.EntityFrameworkCore.Update/bindings.json +2027 -340
- package/Microsoft.EntityFrameworkCore.Update/internal/index.d.ts +89 -8
- package/Microsoft.EntityFrameworkCore.Update.Internal/bindings.json +1074 -6
- package/Microsoft.EntityFrameworkCore.Update.Internal/internal/index.d.ts +44 -8
- package/Microsoft.EntityFrameworkCore.Update.Internal.d.ts +1 -1
- package/Microsoft.EntityFrameworkCore.Update.d.ts +2 -2
- package/Microsoft.EntityFrameworkCore.ValueGeneration/bindings.json +479 -5
- package/Microsoft.EntityFrameworkCore.ValueGeneration/internal/index.d.ts +46 -7
- package/Microsoft.EntityFrameworkCore.ValueGeneration.Internal/bindings.json +262 -2
- package/Microsoft.EntityFrameworkCore.ValueGeneration.Internal/internal/index.d.ts +13 -2
- package/Microsoft.EntityFrameworkCore.ValueGeneration.d.ts +1 -1
- package/Microsoft.EntityFrameworkCore.d.ts +2 -1
- package/Microsoft.Extensions.DependencyInjection/bindings.json +15 -0
- package/System.Transactions/bindings.json +6 -0
- package/package.json +1 -1
|
@@ -5,17 +5,21 @@
|
|
|
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
|
|
9
12
|
import type { IDiagnosticsLogger_1, ILoggingOptions, IRelationalCommandDiagnosticsLogger } from "../../Microsoft.EntityFrameworkCore.Diagnostics/internal/index.js";
|
|
10
13
|
import type { IAnnotation, ICurrentDbContext, IDbContextOptions, IModelRuntimeInitializer, ModelDependencies, ModelSnapshot } from "../../Microsoft.EntityFrameworkCore.Infrastructure/internal/index.js";
|
|
14
|
+
import type { EntityTypeBuilder_1 } from "../../Microsoft.EntityFrameworkCore.Metadata.Builders/internal/index.js";
|
|
11
15
|
import type { IConventionSetBuilder } from "../../Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure/internal/index.js";
|
|
12
16
|
import type { ICheckConstraint, IColumn, IForeignKeyConstraint, IModel, IRelationalModel, ISequence, ITable, ITableIndex, IUniqueConstraint, IView, IViewColumn } from "../../Microsoft.EntityFrameworkCore.Metadata/internal/index.js";
|
|
13
17
|
import type { AlterOperationBuilder_1, ColumnsBuilder, CreateTableBuilder_1, OperationBuilder_1 } from "../../Microsoft.EntityFrameworkCore.Migrations.Operations.Builders/internal/index.js";
|
|
14
|
-
import type { AddCheckConstraintOperation, AddColumnOperation, AddForeignKeyOperation, AddPrimaryKeyOperation, AddUniqueConstraintOperation, AlterColumnOperation, AlterDatabaseOperation, AlterSequenceOperation, AlterTableOperation, CreateIndexOperation, CreateSequenceOperation, DeleteDataOperation, DropCheckConstraintOperation, DropColumnOperation, DropForeignKeyOperation, DropIndexOperation, DropPrimaryKeyOperation, DropSchemaOperation, DropSequenceOperation, DropTableOperation, DropUniqueConstraintOperation, EnsureSchemaOperation, InsertDataOperation, MigrationOperation, RenameColumnOperation, RenameIndexOperation, RenameSequenceOperation, RenameTableOperation, RestartSequenceOperation, SqlOperation, UpdateDataOperation } from "../../Microsoft.EntityFrameworkCore.Migrations.Operations/internal/index.js";
|
|
18
|
+
import type { AddCheckConstraintOperation, AddColumnOperation, AddForeignKeyOperation, AddPrimaryKeyOperation, AddUniqueConstraintOperation, AlterColumnOperation, AlterDatabaseOperation, AlterSequenceOperation, AlterTableOperation, ColumnOperation, CreateIndexOperation, CreateSequenceOperation, CreateTableOperation, DeleteDataOperation, DropCheckConstraintOperation, DropColumnOperation, DropForeignKeyOperation, DropIndexOperation, DropPrimaryKeyOperation, DropSchemaOperation, DropSequenceOperation, DropTableOperation, DropUniqueConstraintOperation, EnsureSchemaOperation, InsertDataOperation, MigrationOperation, RenameColumnOperation, RenameIndexOperation, RenameSequenceOperation, RenameTableOperation, RestartSequenceOperation, SequenceOperation, SqlOperation, UpdateDataOperation } from "../../Microsoft.EntityFrameworkCore.Migrations.Operations/internal/index.js";
|
|
15
19
|
import type { IDbContextTransaction, IRawSqlCommandBuilder, IRelationalCommand, IRelationalCommandBuilderFactory, IRelationalConnection, IRelationalDatabaseCreator, IRelationalTypeMappingSource, ISqlGenerationHelper } from "../../Microsoft.EntityFrameworkCore.Storage/internal/index.js";
|
|
16
|
-
import type { IModificationCommandFactory, IUpdateSqlGenerator } from "../../Microsoft.EntityFrameworkCore.Update/internal/index.js";
|
|
17
|
-
import type { DbContext, DbLoggerCategory_Migrations } from "../../Microsoft.EntityFrameworkCore/internal/index.js";
|
|
18
|
-
import type { IEnumerable, IReadOnlyDictionary, IReadOnlyList, List } from "@tsonic/dotnet/System.Collections.Generic.js";
|
|
20
|
+
import type { IModificationCommandFactory, IReadOnlyModificationCommand, IUpdateSqlGenerator } from "../../Microsoft.EntityFrameworkCore.Update/internal/index.js";
|
|
21
|
+
import type { DbContext, DbLoggerCategory_Migrations, ModelBuilder } from "../../Microsoft.EntityFrameworkCore/internal/index.js";
|
|
22
|
+
import type { IComparer, IEnumerable, IReadOnlyDictionary, IReadOnlyList, List } from "@tsonic/dotnet/System.Collections.Generic.js";
|
|
19
23
|
import type { IsolationLevel } from "@tsonic/dotnet/System.Data.js";
|
|
20
24
|
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
21
25
|
import type { Action, Attribute, Boolean as ClrBoolean, Enum, FormattableString, Func, IAsyncDisposable, IComparable, IConvertible, IDisposable, IEquatable, IFormattable, Int32, Int64, ISpanFormattable, Nullable, Object as ClrObject, String as ClrString, Type, Void } from "@tsonic/dotnet/System.js";
|
|
@@ -101,6 +105,7 @@ export interface IMigrationsAssembly$instance {
|
|
|
101
105
|
export type IMigrationsAssembly = IMigrationsAssembly$instance;
|
|
102
106
|
|
|
103
107
|
export interface IMigrationsDatabaseLock$instance extends IDisposable, IAsyncDisposable {
|
|
108
|
+
readonly HistoryRepository: IHistoryRepository;
|
|
104
109
|
ReacquireIfNeeded(connectionReopened: boolean, transactionRestarted: Nullable<System_Internal.Boolean>): IMigrationsDatabaseLock;
|
|
105
110
|
ReacquireIfNeededAsync(connectionReopened: boolean, transactionRestarted: Nullable<System_Internal.Boolean>, cancellationToken?: CancellationToken): Task<IMigrationsDatabaseLock>;
|
|
106
111
|
}
|
|
@@ -141,7 +146,22 @@ export interface IMigrator$instance {
|
|
|
141
146
|
|
|
142
147
|
export type IMigrator = IMigrator$instance;
|
|
143
148
|
|
|
144
|
-
export
|
|
149
|
+
export abstract class HistoryRepository$protected {
|
|
150
|
+
protected readonly Dependencies: HistoryRepositoryDependencies;
|
|
151
|
+
protected readonly ExistsSql: string;
|
|
152
|
+
protected readonly GetAppliedMigrationsSql: string;
|
|
153
|
+
protected readonly MigrationIdColumnName: string;
|
|
154
|
+
protected readonly ProductVersionColumnName: string;
|
|
155
|
+
protected readonly SqlGenerationHelper: ISqlGenerationHelper;
|
|
156
|
+
protected readonly TableName: string;
|
|
157
|
+
protected readonly TableSchema: string | undefined;
|
|
158
|
+
protected ConfigureTable(history: EntityTypeBuilder_1<HistoryRow>): void;
|
|
159
|
+
protected GetCreateCommands(): IReadOnlyList<MigrationCommand>;
|
|
160
|
+
protected abstract InterpretExistsResult(value: unknown): boolean;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
export interface HistoryRepository$instance extends HistoryRepository$protected {
|
|
145
165
|
readonly LockReleaseBehavior: LockReleaseBehavior;
|
|
146
166
|
AcquireDatabaseLock(): IMigrationsDatabaseLock;
|
|
147
167
|
AcquireDatabaseLockAsync(cancellationToken?: CancellationToken): Task<IMigrationsDatabaseLock>;
|
|
@@ -162,6 +182,7 @@ export interface HistoryRepository$instance {
|
|
|
162
182
|
|
|
163
183
|
|
|
164
184
|
export const HistoryRepository: {
|
|
185
|
+
new(dependencies: HistoryRepositoryDependencies): HistoryRepository;
|
|
165
186
|
readonly DefaultTableName: string;
|
|
166
187
|
};
|
|
167
188
|
|
|
@@ -219,7 +240,14 @@ export const HistoryRow: {
|
|
|
219
240
|
|
|
220
241
|
export type HistoryRow = HistoryRow$instance;
|
|
221
242
|
|
|
222
|
-
export
|
|
243
|
+
export abstract class Migration$protected {
|
|
244
|
+
protected BuildTargetModel(modelBuilder: ModelBuilder): void;
|
|
245
|
+
protected Down(migrationBuilder: MigrationBuilder): void;
|
|
246
|
+
protected abstract Up(migrationBuilder: MigrationBuilder): void;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
export interface Migration$instance extends Migration$protected {
|
|
223
251
|
get ActiveProvider(): string | undefined;
|
|
224
252
|
set ActiveProvider(value: string);
|
|
225
253
|
readonly DownOperations: IReadOnlyList<MigrationOperation>;
|
|
@@ -229,6 +257,7 @@ export interface Migration$instance {
|
|
|
229
257
|
|
|
230
258
|
|
|
231
259
|
export const Migration: {
|
|
260
|
+
new(): Migration;
|
|
232
261
|
readonly InitialDatabase: string;
|
|
233
262
|
};
|
|
234
263
|
|
|
@@ -338,7 +367,12 @@ export const MigrationCommand: {
|
|
|
338
367
|
|
|
339
368
|
export type MigrationCommand = MigrationCommand$instance;
|
|
340
369
|
|
|
341
|
-
export
|
|
370
|
+
export abstract class MigrationCommandListBuilder$protected {
|
|
371
|
+
protected readonly Dependencies: MigrationsSqlGeneratorDependencies;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
export interface MigrationCommandListBuilder$instance extends MigrationCommandListBuilder$protected {
|
|
342
376
|
Append(o: string): MigrationCommandListBuilder;
|
|
343
377
|
AppendLine(): MigrationCommandListBuilder;
|
|
344
378
|
AppendLine(value: string): MigrationCommandListBuilder;
|
|
@@ -377,7 +411,12 @@ export const MigrationExecutionState: {
|
|
|
377
411
|
|
|
378
412
|
export type MigrationExecutionState = MigrationExecutionState$instance;
|
|
379
413
|
|
|
380
|
-
export
|
|
414
|
+
export abstract class MigrationsAnnotationProvider$protected {
|
|
415
|
+
protected readonly Dependencies: MigrationsAnnotationProviderDependencies;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
export interface MigrationsAnnotationProvider$instance extends MigrationsAnnotationProvider$protected {
|
|
381
420
|
ForRemove(model: IRelationalModel): IEnumerable<IAnnotation>;
|
|
382
421
|
ForRemove(table: ITable): IEnumerable<IAnnotation>;
|
|
383
422
|
ForRemove(column: IColumn): IEnumerable<IAnnotation>;
|
|
@@ -423,7 +462,78 @@ export const MigrationsAnnotationProviderDependencies: {
|
|
|
423
462
|
|
|
424
463
|
export type MigrationsAnnotationProviderDependencies = MigrationsAnnotationProviderDependencies$instance;
|
|
425
464
|
|
|
426
|
-
export
|
|
465
|
+
export abstract class MigrationsSqlGenerator$protected {
|
|
466
|
+
protected readonly Dependencies: MigrationsSqlGeneratorDependencies;
|
|
467
|
+
protected Options: MigrationsSqlGenerationOptions;
|
|
468
|
+
protected readonly SqlGenerator: IUpdateSqlGenerator;
|
|
469
|
+
protected readonly VersionComparer: IComparer<System_Internal.String>;
|
|
470
|
+
protected CheckConstraint(operation: AddCheckConstraintOperation, model: IModel, builder: MigrationCommandListBuilder): void;
|
|
471
|
+
protected ColumnDefinition(operation: AddColumnOperation, model: IModel, builder: MigrationCommandListBuilder): void;
|
|
472
|
+
protected ColumnDefinition(schema: string, table: string, name: string, operation: ColumnOperation, model: IModel, builder: MigrationCommandListBuilder): void;
|
|
473
|
+
protected ColumnList(columns: string[]): string;
|
|
474
|
+
protected ComputedColumnDefinition(schema: string, table: string, name: string, operation: ColumnOperation, model: IModel, builder: MigrationCommandListBuilder): void;
|
|
475
|
+
protected CreateTableCheckConstraints(operation: CreateTableOperation, model: IModel, builder: MigrationCommandListBuilder): void;
|
|
476
|
+
protected CreateTableColumns(operation: CreateTableOperation, model: IModel, builder: MigrationCommandListBuilder): void;
|
|
477
|
+
protected CreateTableConstraints(operation: CreateTableOperation, model: IModel, builder: MigrationCommandListBuilder): void;
|
|
478
|
+
protected CreateTableForeignKeys(operation: CreateTableOperation, model: IModel, builder: MigrationCommandListBuilder): void;
|
|
479
|
+
protected CreateTablePrimaryKeyConstraint(operation: CreateTableOperation, model: IModel, builder: MigrationCommandListBuilder): void;
|
|
480
|
+
protected CreateTableUniqueConstraints(operation: CreateTableOperation, model: IModel, builder: MigrationCommandListBuilder): void;
|
|
481
|
+
protected DefaultValue(defaultValue: unknown, defaultValueSql: string, columnType: string, builder: MigrationCommandListBuilder): void;
|
|
482
|
+
protected EndStatement(builder: MigrationCommandListBuilder, suppressTransaction?: boolean): void;
|
|
483
|
+
protected ForeignKeyAction(referentialAction: ReferentialAction, builder: MigrationCommandListBuilder): void;
|
|
484
|
+
protected ForeignKeyConstraint(operation: AddForeignKeyOperation, model: IModel, builder: MigrationCommandListBuilder): void;
|
|
485
|
+
protected Generate(operation: MigrationOperation, model: IModel, builder: MigrationCommandListBuilder): void;
|
|
486
|
+
protected Generate(operation: AddUniqueConstraintOperation, model: IModel, builder: MigrationCommandListBuilder): void;
|
|
487
|
+
protected Generate(operation: AddCheckConstraintOperation, model: IModel, builder: MigrationCommandListBuilder): void;
|
|
488
|
+
protected Generate(operation: AlterColumnOperation, model: IModel, builder: MigrationCommandListBuilder): void;
|
|
489
|
+
protected Generate(operation: AlterDatabaseOperation, model: IModel, builder: MigrationCommandListBuilder): void;
|
|
490
|
+
protected Generate(operation: RenameIndexOperation, model: IModel, builder: MigrationCommandListBuilder): void;
|
|
491
|
+
protected Generate(operation: AlterSequenceOperation, model: IModel, builder: MigrationCommandListBuilder): void;
|
|
492
|
+
protected Generate(operation: AlterTableOperation, model: IModel, builder: MigrationCommandListBuilder): void;
|
|
493
|
+
protected Generate(operation: RenameTableOperation, model: IModel, builder: MigrationCommandListBuilder): void;
|
|
494
|
+
protected Generate(operation: EnsureSchemaOperation, model: IModel, builder: MigrationCommandListBuilder): void;
|
|
495
|
+
protected Generate(operation: CreateSequenceOperation, model: IModel, builder: MigrationCommandListBuilder): void;
|
|
496
|
+
protected Generate(operation: DropSchemaOperation, model: IModel, builder: MigrationCommandListBuilder): void;
|
|
497
|
+
protected Generate(operation: DropSequenceOperation, model: IModel, builder: MigrationCommandListBuilder): void;
|
|
498
|
+
protected Generate(operation: DropUniqueConstraintOperation, model: IModel, builder: MigrationCommandListBuilder): void;
|
|
499
|
+
protected Generate(operation: DropCheckConstraintOperation, model: IModel, builder: MigrationCommandListBuilder): void;
|
|
500
|
+
protected Generate(operation: RenameColumnOperation, model: IModel, builder: MigrationCommandListBuilder): void;
|
|
501
|
+
protected Generate(operation: RenameSequenceOperation, model: IModel, builder: MigrationCommandListBuilder): void;
|
|
502
|
+
protected Generate(operation: RestartSequenceOperation, model: IModel, builder: MigrationCommandListBuilder): void;
|
|
503
|
+
protected Generate(operation: SqlOperation, model: IModel, builder: MigrationCommandListBuilder): void;
|
|
504
|
+
protected Generate(operation: DeleteDataOperation, model: IModel, builder: MigrationCommandListBuilder): void;
|
|
505
|
+
protected Generate(operation: UpdateDataOperation, model: IModel, builder: MigrationCommandListBuilder): void;
|
|
506
|
+
protected Generate(operation: AddColumnOperation, model: IModel, builder: MigrationCommandListBuilder, terminate?: boolean): void;
|
|
507
|
+
protected Generate(operation: AddForeignKeyOperation, model: IModel, builder: MigrationCommandListBuilder, terminate?: boolean): void;
|
|
508
|
+
protected Generate(operation: AddPrimaryKeyOperation, model: IModel, builder: MigrationCommandListBuilder, terminate?: boolean): void;
|
|
509
|
+
protected Generate(operation: CreateIndexOperation, model: IModel, builder: MigrationCommandListBuilder, terminate?: boolean): void;
|
|
510
|
+
protected Generate(operation: CreateTableOperation, model: IModel, builder: MigrationCommandListBuilder, terminate?: boolean): void;
|
|
511
|
+
protected Generate(operation: DropColumnOperation, model: IModel, builder: MigrationCommandListBuilder, terminate?: boolean): void;
|
|
512
|
+
protected Generate(operation: DropForeignKeyOperation, model: IModel, builder: MigrationCommandListBuilder, terminate?: boolean): void;
|
|
513
|
+
protected Generate(operation: DropIndexOperation, model: IModel, builder: MigrationCommandListBuilder, terminate?: boolean): void;
|
|
514
|
+
protected Generate(operation: DropPrimaryKeyOperation, model: IModel, builder: MigrationCommandListBuilder, terminate?: boolean): void;
|
|
515
|
+
protected Generate(operation: DropTableOperation, model: IModel, builder: MigrationCommandListBuilder, terminate?: boolean): void;
|
|
516
|
+
protected Generate(operation: InsertDataOperation, model: IModel, builder: MigrationCommandListBuilder, terminate?: boolean): void;
|
|
517
|
+
protected GenerateIndexColumnList(operation: CreateIndexOperation, model: IModel, builder: MigrationCommandListBuilder): void;
|
|
518
|
+
protected GenerateModificationCommands(operation: InsertDataOperation, model: IModel): IEnumerable<IReadOnlyModificationCommand>;
|
|
519
|
+
protected GenerateModificationCommands(operation: DeleteDataOperation, model: IModel): IEnumerable<IReadOnlyModificationCommand>;
|
|
520
|
+
protected GenerateModificationCommands(operation: UpdateDataOperation, model: IModel): IEnumerable<IReadOnlyModificationCommand>;
|
|
521
|
+
protected GetColumnType(schema: string, tableName: string, name: string, operation: ColumnOperation, model: IModel): string;
|
|
522
|
+
protected HasLegacyRenameOperations(model: IModel): boolean;
|
|
523
|
+
protected IndexOptions(operation: MigrationOperation, model: IModel, builder: MigrationCommandListBuilder): void;
|
|
524
|
+
protected IndexTraits(operation: MigrationOperation, model: IModel, builder: MigrationCommandListBuilder): void;
|
|
525
|
+
protected IsOldColumnSupported(model: IModel): boolean;
|
|
526
|
+
protected PrimaryKeyConstraint(operation: AddPrimaryKeyOperation, model: IModel, builder: MigrationCommandListBuilder): void;
|
|
527
|
+
protected SequenceOptions(operation: AlterSequenceOperation, model: IModel, builder: MigrationCommandListBuilder): void;
|
|
528
|
+
protected SequenceOptions(operation: CreateSequenceOperation, model: IModel, builder: MigrationCommandListBuilder): void;
|
|
529
|
+
protected SequenceOptions(schema: string, name: string, operation: SequenceOperation, model: IModel, builder: MigrationCommandListBuilder): void;
|
|
530
|
+
protected SequenceOptions(schema: string, name: string, operation: SequenceOperation, model: IModel, builder: MigrationCommandListBuilder, forAlter: boolean): void;
|
|
531
|
+
protected TryGetVersion(model: IModel, version: string): boolean;
|
|
532
|
+
protected UniqueConstraint(operation: AddUniqueConstraintOperation, model: IModel, builder: MigrationCommandListBuilder): void;
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
|
|
536
|
+
export interface MigrationsSqlGenerator$instance extends MigrationsSqlGenerator$protected {
|
|
427
537
|
Generate(operations: IReadOnlyList<MigrationOperation>, model?: IModel, options?: MigrationsSqlGenerationOptions): IReadOnlyList<MigrationCommand>;
|
|
428
538
|
}
|
|
429
539
|
|
|
@@ -437,8 +547,6 @@ export interface __MigrationsSqlGenerator$views {
|
|
|
437
547
|
As_IMigrationsSqlGenerator(): IMigrationsSqlGenerator$instance;
|
|
438
548
|
}
|
|
439
549
|
|
|
440
|
-
export interface MigrationsSqlGenerator$instance extends IMigrationsSqlGenerator$instance {}
|
|
441
|
-
|
|
442
550
|
export type MigrationsSqlGenerator = MigrationsSqlGenerator$instance & __MigrationsSqlGenerator$views;
|
|
443
551
|
|
|
444
552
|
|