// Generated by tsbindgen - Architecture // Namespace: Microsoft.EntityFrameworkCore.Migrations.Internal // Assembly: Microsoft.EntityFrameworkCore.Relational // Core type aliases from @tsonic/core import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js'; // Import types from other namespaces import type { IDiagnosticsLogger_1, IRelationalCommandDiagnosticsLogger } from "../../Microsoft.EntityFrameworkCore.Diagnostics/internal/index.js"; import type { IAnnotation, ICurrentDbContext, IDbContextOptions, IModelRuntimeInitializer, ModelSnapshot } from "../../Microsoft.EntityFrameworkCore.Infrastructure/internal/index.js"; import type { ICheckConstraint, IColumn, IDesignTimeModel, IForeignKeyConstraint, IRelationalAnnotationProvider, IRelationalModel, ISequence, ITable, ITableIndex, ITypeBase, IUniqueConstraint } from "../../Microsoft.EntityFrameworkCore.Metadata/internal/index.js"; import type { CreateTableOperation, DropColumnOperation, DropTableOperation, MigrationOperation } from "../../Microsoft.EntityFrameworkCore.Migrations.Operations/internal/index.js"; import * as Microsoft_EntityFrameworkCore_Migrations_Internal from "../../Microsoft.EntityFrameworkCore.Migrations/internal/index.js"; import type { IHistoryRepository, IMigrationCommandExecutor, IMigrationsAnnotationProvider, IMigrationsAssembly, IMigrationsIdGenerator, IMigrationsModelDiffer, IMigrationsSqlGenerator, IMigrator, Migration, MigrationCommand, MigrationExecutionState, MigrationsSqlGenerationOptions } from "../../Microsoft.EntityFrameworkCore.Migrations/internal/index.js"; import type { IDatabaseCreator, IDatabaseProvider, IExecutionStrategy, IRawSqlCommandBuilder, IRelationalConnection, IRelationalTypeMappingSource, ISqlGenerationHelper } from "../../Microsoft.EntityFrameworkCore.Storage/internal/index.js"; import type { CommandBatchPreparerDependencies, IRowIdentityMapFactory } from "../../Microsoft.EntityFrameworkCore.Update.Internal/internal/index.js"; import type { DbLoggerCategory_Migrations } from "../../Microsoft.EntityFrameworkCore/internal/index.js"; import type { IEnumerable_1, IReadOnlyDictionary_2, IReadOnlyList_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js"; import type { IsolationLevel } from "@tsonic/dotnet/System.Data/internal/index.js"; import type { Assembly, TypeInfo } from "@tsonic/dotnet/System.Reflection/internal/index.js"; import type { Task, Task_1 } from "@tsonic/dotnet/System.Threading.Tasks/internal/index.js"; import type { CancellationToken } from "@tsonic/dotnet/System.Threading/internal/index.js"; import * as System_Internal from "@tsonic/dotnet/System/internal/index.js"; import type { Boolean as ClrBoolean, Func_3, Func_4, Int32, Nullable_1, Object as ClrObject, String as ClrString, Type, Void } from "@tsonic/dotnet/System/internal/index.js"; export interface MigrationCommandExecutor$instance extends Microsoft_EntityFrameworkCore_Migrations_Internal.IMigrationCommandExecutor$instance { readonly __tsonic_type_Microsoft_EntityFrameworkCore_Migrations_Internal_MigrationCommandExecutor: never; readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Migrations_IMigrationCommandExecutor: never; ExecuteNonQuery(migrationCommands: IEnumerable_1, connection: IRelationalConnection): void; ExecuteNonQuery(migrationCommands: IReadOnlyList_1, connection: IRelationalConnection, executionState: MigrationExecutionState, commitTransaction: boolean, isolationLevel?: Nullable_1): int; ExecuteNonQueryAsync(migrationCommands: IEnumerable_1, connection: IRelationalConnection, cancellationToken?: CancellationToken): Task; ExecuteNonQueryAsync(migrationCommands: IReadOnlyList_1, connection: IRelationalConnection, executionState: MigrationExecutionState, commitTransaction: boolean, isolationLevel?: Nullable_1, cancellationToken?: CancellationToken): Task_1; } export const MigrationCommandExecutor: { new(executionStrategy: IExecutionStrategy): MigrationCommandExecutor; }; export interface __MigrationCommandExecutor$views { As_IMigrationCommandExecutor(): Microsoft_EntityFrameworkCore_Migrations_Internal.IMigrationCommandExecutor$instance; } export type MigrationCommandExecutor = MigrationCommandExecutor$instance & __MigrationCommandExecutor$views; export interface MigrationsAssembly$instance extends Microsoft_EntityFrameworkCore_Migrations_Internal.IMigrationsAssembly$instance { readonly __tsonic_type_Microsoft_EntityFrameworkCore_Migrations_Internal_MigrationsAssembly: never; readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Migrations_IMigrationsAssembly: never; readonly Assembly: Assembly; readonly Migrations: IReadOnlyDictionary_2; readonly ModelSnapshot: ModelSnapshot | null; CreateMigration(migrationClass: TypeInfo, activeProvider: string): Migration; FindMigrationId(nameOrId: string): string | null; } export const MigrationsAssembly: { new(currentContext: ICurrentDbContext, options: IDbContextOptions, idGenerator: IMigrationsIdGenerator, logger: IDiagnosticsLogger_1): MigrationsAssembly; }; export interface __MigrationsAssembly$views { As_IMigrationsAssembly(): Microsoft_EntityFrameworkCore_Migrations_Internal.IMigrationsAssembly$instance; } export type MigrationsAssembly = MigrationsAssembly$instance & __MigrationsAssembly$views; export interface MigrationsIdGenerator$instance extends Microsoft_EntityFrameworkCore_Migrations_Internal.IMigrationsIdGenerator$instance { readonly __tsonic_type_Microsoft_EntityFrameworkCore_Migrations_Internal_MigrationsIdGenerator: never; readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Migrations_IMigrationsIdGenerator: never; GenerateId(name: string): string; GetName(id: string): string; IsValidId(value: string): boolean; } export const MigrationsIdGenerator: { new(): MigrationsIdGenerator; }; export interface __MigrationsIdGenerator$views { As_IMigrationsIdGenerator(): Microsoft_EntityFrameworkCore_Migrations_Internal.IMigrationsIdGenerator$instance; } export type MigrationsIdGenerator = MigrationsIdGenerator$instance & __MigrationsIdGenerator$views; export interface MigrationsModelDiffer$instance extends Microsoft_EntityFrameworkCore_Migrations_Internal.IMigrationsModelDiffer$instance { readonly __tsonic_type_Microsoft_EntityFrameworkCore_Migrations_Internal_MigrationsModelDiffer: never; readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Migrations_IMigrationsModelDiffer: never; readonly CommandBatchPreparerDependencies: CommandBatchPreparerDependencies; readonly MigrationsAnnotationProvider: IMigrationsAnnotationProvider; readonly RelationalAnnotationProvider: IRelationalAnnotationProvider; readonly RowIdentityMapFactory: IRowIdentityMapFactory; readonly TypeMappingSource: IRelationalTypeMappingSource; Add(target: IRelationalModel, diffContext: MigrationsModelDiffer_DiffContext): IEnumerable_1; Add(target: string, diffContext: MigrationsModelDiffer_DiffContext): IEnumerable_1; Add(target: ITable, diffContext: MigrationsModelDiffer_DiffContext): IEnumerable_1; Add(target: IColumn, diffContext: MigrationsModelDiffer_DiffContext, inline?: boolean): IEnumerable_1; Add(target: IUniqueConstraint, diffContext: MigrationsModelDiffer_DiffContext): IEnumerable_1; Add(target: IForeignKeyConstraint, diffContext: MigrationsModelDiffer_DiffContext): IEnumerable_1; Add(target: ITableIndex, diffContext: MigrationsModelDiffer_DiffContext): IEnumerable_1; Add(target: ICheckConstraint, diffContext: MigrationsModelDiffer_DiffContext): IEnumerable_1; Add(target: ISequence, diffContext: MigrationsModelDiffer_DiffContext): IEnumerable_1; Diff(source: IRelationalModel | null, target: IRelationalModel | null, diffContext: MigrationsModelDiffer_DiffContext): IEnumerable_1; Diff(source: IEnumerable_1, target: IEnumerable_1, diffContext: MigrationsModelDiffer_DiffContext): IEnumerable_1; Diff(source: string, target: string, diffContext: MigrationsModelDiffer_DiffContext): IEnumerable_1; Diff(source: IEnumerable_1, target: IEnumerable_1, diffContext: MigrationsModelDiffer_DiffContext): IEnumerable_1; Diff(source: ITable, target: ITable, diffContext: MigrationsModelDiffer_DiffContext): IEnumerable_1; Diff(source: IEnumerable_1, target: IEnumerable_1, diffContext: MigrationsModelDiffer_DiffContext): IEnumerable_1; Diff(source: IColumn, target: IColumn, diffContext: MigrationsModelDiffer_DiffContext): IEnumerable_1; Diff(source: IEnumerable_1, target: IEnumerable_1, diffContext: MigrationsModelDiffer_DiffContext): IEnumerable_1; Diff(source: IUniqueConstraint, target: IUniqueConstraint, diffContext: MigrationsModelDiffer_DiffContext): IEnumerable_1; Diff(source: IEnumerable_1, target: IEnumerable_1, diffContext: MigrationsModelDiffer_DiffContext): IEnumerable_1; Diff(source: IForeignKeyConstraint, target: IForeignKeyConstraint, diffContext: MigrationsModelDiffer_DiffContext): IEnumerable_1; Diff(source: IEnumerable_1, target: IEnumerable_1, diffContext: MigrationsModelDiffer_DiffContext): IEnumerable_1; Diff(source: ITableIndex, target: ITableIndex, diffContext: MigrationsModelDiffer_DiffContext): IEnumerable_1; Diff(source: IEnumerable_1, target: IEnumerable_1, diffContext: MigrationsModelDiffer_DiffContext): IEnumerable_1; Diff(source: ICheckConstraint, target: ICheckConstraint, diffContext: MigrationsModelDiffer_DiffContext): IEnumerable_1; Diff(source: IEnumerable_1, target: IEnumerable_1, diffContext: MigrationsModelDiffer_DiffContext): IEnumerable_1; Diff(source: ISequence, target: ISequence, diffContext: MigrationsModelDiffer_DiffContext): IEnumerable_1; DiffCollection(sources: IEnumerable_1, targets: IEnumerable_1, diffContext: MigrationsModelDiffer_DiffContext, diff: Func_4>, add: Func_3>, remove: Func_3>, ...predicates: Func_4[]): IEnumerable_1; DiffData(source: IRelationalModel | null, target: IRelationalModel | null, diffContext: MigrationsModelDiffer_DiffContext): void; GetDataOperations(source: IRelationalModel | null, target: IRelationalModel | null, diffContext: MigrationsModelDiffer_DiffContext): IEnumerable_1; GetDefaultValue(type: Type): unknown | null; GetDifferences(source: IRelationalModel | null, target: IRelationalModel | null): IReadOnlyList_1; GetSchemas(model: IRelationalModel): IEnumerable_1; HasDifferences(source: IRelationalModel | null, target: IRelationalModel | null): boolean; HasDifferences(source: IEnumerable_1, target: IEnumerable_1): boolean; Remove(source: IRelationalModel, diffContext: MigrationsModelDiffer_DiffContext): IEnumerable_1; Remove(source: string, diffContext: MigrationsModelDiffer_DiffContext): IEnumerable_1; Remove(source: ITable, diffContext: MigrationsModelDiffer_DiffContext): IEnumerable_1; Remove(source: IColumn, diffContext: MigrationsModelDiffer_DiffContext): IEnumerable_1; Remove(source: IUniqueConstraint, diffContext: MigrationsModelDiffer_DiffContext): IEnumerable_1; Remove(source: IForeignKeyConstraint, diffContext: MigrationsModelDiffer_DiffContext): IEnumerable_1; Remove(source: ITableIndex, diffContext: MigrationsModelDiffer_DiffContext): IEnumerable_1; Remove(source: ICheckConstraint, diffContext: MigrationsModelDiffer_DiffContext): IEnumerable_1; Remove(source: ISequence, diffContext: MigrationsModelDiffer_DiffContext): IEnumerable_1; Sort(operations: IEnumerable_1, diffContext: MigrationsModelDiffer_DiffContext): IReadOnlyList_1; TrackData(source: IRelationalModel | null, target: IRelationalModel | null, diffContext: MigrationsModelDiffer_DiffContext): void; } export const MigrationsModelDiffer: { new(typeMappingSource: IRelationalTypeMappingSource, migrationsAnnotationProvider: IMigrationsAnnotationProvider, relationalAnnotationProvider: IRelationalAnnotationProvider, rowIdentityMapFactory: IRowIdentityMapFactory, commandBatchPreparerDependencies: CommandBatchPreparerDependencies): MigrationsModelDiffer; }; export interface __MigrationsModelDiffer$views { As_IMigrationsModelDiffer(): Microsoft_EntityFrameworkCore_Migrations_Internal.IMigrationsModelDiffer$instance; } export type MigrationsModelDiffer = MigrationsModelDiffer$instance & __MigrationsModelDiffer$views; export interface MigrationsModelDiffer_DiffContext$instance { readonly __tsonic_type_Microsoft_EntityFrameworkCore_Migrations_Internal_MigrationsModelDiffer_DiffContext: never; AddCreate(target: ITable, operation: CreateTableOperation): void; AddDrop(source: ITable, operation: DropTableOperation): void; AddDrop(source: IColumn, operation: DropColumnOperation): void; AddMapping(source: T, target: T): void; FindColumn(operation: DropColumnOperation): IColumn | null; FindCreate(target: ITable): CreateTableOperation | null; FindDrop(source: ITable): DropTableOperation | null; FindDrop(source: IColumn): DropColumnOperation | null; FindSource(target: T | null): T | null; FindTable(typeBase: ITypeBase): ITable | null; FindTable(operation: DropTableOperation): ITable | null; FindTarget(source: T | null): T | null; } export const MigrationsModelDiffer_DiffContext: { new(): MigrationsModelDiffer_DiffContext; }; export type MigrationsModelDiffer_DiffContext = MigrationsModelDiffer_DiffContext$instance; export interface Migrator$instance { readonly __tsonic_type_Microsoft_EntityFrameworkCore_Migrations_Internal_Migrator: never; readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Migrations_IMigrator: never; readonly MigrationTransactionIsolationLevel: Nullable_1; GenerateDownSql(migration: Migration, previousMigration: Migration | null, options?: MigrationsSqlGenerationOptions): IReadOnlyList_1; GenerateScript(fromMigration?: string | null, toMigration?: string | null, options?: MigrationsSqlGenerationOptions): string; GenerateUpSql(migration: Migration, options?: MigrationsSqlGenerationOptions): IReadOnlyList_1; HasPendingModelChanges(): boolean; Migrate(targetMigration: string | null): void; MigrateAsync(targetMigration: string | null, cancellationToken?: CancellationToken): Task; PopulateMigrations(appliedMigrationEntries: IEnumerable_1, targetMigration: string | null, parameters: MigratorData): void; VerifyMigrationSucceeded(targetMigration: string | null, state: MigrationExecutionState): boolean; VerifyMigrationSucceededAsync(targetMigration: string | null, state: MigrationExecutionState, cancellationToken: CancellationToken): Task_1; } export const Migrator: { new(migrationsAssembly: IMigrationsAssembly, historyRepository: IHistoryRepository, databaseCreator: IDatabaseCreator, migrationsSqlGenerator: IMigrationsSqlGenerator, rawSqlCommandBuilder: IRawSqlCommandBuilder, migrationCommandExecutor: IMigrationCommandExecutor, connection: IRelationalConnection, sqlGenerationHelper: ISqlGenerationHelper, currentContext: ICurrentDbContext, modelRuntimeInitializer: IModelRuntimeInitializer, logger: IDiagnosticsLogger_1, commandLogger: IRelationalCommandDiagnosticsLogger, databaseProvider: IDatabaseProvider, migrationsModelDiffer: IMigrationsModelDiffer, designTimeModel: IDesignTimeModel, contextOptions: IDbContextOptions, executionStrategy: IExecutionStrategy): Migrator; }; export interface __Migrator$views { As_IMigrator(): Microsoft_EntityFrameworkCore_Migrations_Internal.IMigrator$instance; } export type Migrator = Migrator$instance & __Migrator$views; export interface MigratorData$instance { readonly __tsonic_type_Microsoft_EntityFrameworkCore_Migrations_Internal_MigratorData: never; readonly AppliedMigrations: IReadOnlyList_1; readonly RevertedMigrations: IReadOnlyList_1; readonly TargetMigration: Migration | null; } export const MigratorData: { new(appliedMigrations: IReadOnlyList_1, revertedMigrations: IReadOnlyList_1, targetMigration: Migration | null): MigratorData; }; export type MigratorData = MigratorData$instance; export abstract class MigrationExtensions$instance { static GetId(migration: Migration): string; } export type MigrationExtensions = MigrationExtensions$instance;