@tsonic/efcore-npgsql 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.
- package/Microsoft.EntityFrameworkCore/internal/index.d.ts +284 -280
- package/Microsoft.EntityFrameworkCore.Diagnostics/internal/index.d.ts +3 -3
- package/Microsoft.EntityFrameworkCore.Metadata.Internal/internal/index.d.ts +3 -3
- package/Microsoft.EntityFrameworkCore.Metadata.Internal.d.ts +3 -0
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +5 -5
- package/Microsoft.Extensions.DependencyInjection.d.ts +3 -0
- package/Npgsql/internal/index.d.ts +402 -290
- package/Npgsql.BackendMessages/internal/index.d.ts +4 -3
- package/Npgsql.EntityFrameworkCore.PostgreSQL/internal/index.d.ts +13 -13
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Design.Internal/internal/index.d.ts +33 -31
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Diagnostics.Internal/internal/index.d.ts +4 -2
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Extensions.Internal/internal/index.d.ts +4 -4
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Extensions.Internal.d.ts +3 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure/internal/index.d.ts +20 -16
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.Internal/internal/index.d.ts +51 -39
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Internal/internal/index.d.ts +38 -33
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Internal.d.ts +3 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata/internal/index.d.ts +32 -25
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Conventions/internal/index.d.ts +73 -54
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Internal/internal/index.d.ts +21 -13
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations/internal/index.d.ts +47 -47
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Internal/internal/index.d.ts +29 -25
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Operations/internal/index.d.ts +21 -9
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query/internal/index.d.ts +16 -12
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.ExpressionTranslators.Internal/internal/index.d.ts +179 -46
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions/internal/index.d.ts +2 -2
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions.Internal/internal/index.d.ts +149 -117
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Internal/internal/index.d.ts +155 -148
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Scaffolding.Internal/internal/index.d.ts +17 -9
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal/internal/index.d.ts +79 -51
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Json/internal/index.d.ts +16 -13
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Mapping/internal/index.d.ts +342 -465
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.ValueConversion/internal/index.d.ts +6 -3
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal/internal/index.d.ts +40 -32
- package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration/internal/index.d.ts +11 -7
- package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration.Internal/internal/index.d.ts +39 -26
- package/Npgsql.Internal/internal/index.d.ts +141 -104
- package/Npgsql.Internal.Postgres/internal/index.d.ts +16 -2
- package/Npgsql.NameTranslation/internal/index.d.ts +13 -9
- package/Npgsql.PostgresTypes/internal/index.d.ts +34 -23
- package/Npgsql.Replication/internal/index.d.ts +49 -25
- package/Npgsql.Replication.Internal/internal/index.d.ts +10 -9
- package/Npgsql.Replication.PgOutput/internal/index.d.ts +31 -22
- package/Npgsql.Replication.PgOutput.Messages/internal/index.d.ts +74 -36
- package/Npgsql.Replication.TestDecoding/internal/index.d.ts +18 -10
- package/Npgsql.Schema/internal/index.d.ts +26 -24
- package/Npgsql.TypeMapping/internal/index.d.ts +7 -3
- package/Npgsql.Util/internal/index.d.ts +4 -2
- package/NpgsqlTypes/internal/index.d.ts +145 -33
- package/__internal/extensions/index.d.ts +867 -89
- package/package.json +5 -5
|
@@ -6,10 +6,12 @@
|
|
|
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
8
|
// Import types from other namespaces
|
|
9
|
-
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
10
|
-
import type { Int16, Int32, Object as ClrObject, String as ClrString } from "@tsonic/dotnet/System.js";
|
|
9
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
10
|
+
import type { Int16, Int32, Object as ClrObject, String as ClrString } from "@tsonic/dotnet/System/internal/index.js";
|
|
11
11
|
|
|
12
12
|
export interface FieldDescription$instance {
|
|
13
|
+
readonly __tsonic_type_Npgsql_BackendMessages_FieldDescription: never;
|
|
14
|
+
|
|
13
15
|
TypeModifier: int;
|
|
14
16
|
TypeSize: short;
|
|
15
17
|
ToString(): string;
|
|
@@ -17,7 +19,6 @@ export interface FieldDescription$instance {
|
|
|
17
19
|
|
|
18
20
|
|
|
19
21
|
export const FieldDescription: {
|
|
20
|
-
new(): FieldDescription;
|
|
21
22
|
};
|
|
22
23
|
|
|
23
24
|
|
|
@@ -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 * as System_Internal from "@tsonic/dotnet/System.js";
|
|
10
|
-
import type {
|
|
11
|
-
import type { Boolean as ClrBoolean, Exception, Int32, String as ClrString, TimeSpan } from "@tsonic/dotnet/System.js";
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import type {
|
|
15
|
-
|
|
16
|
-
export
|
|
17
|
-
|
|
18
|
-
}
|
|
10
|
+
import type { ICollection_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
11
|
+
import type { Boolean as ClrBoolean, Exception, Int32, String as ClrString, TimeSpan } from "@tsonic/dotnet/System/internal/index.js";
|
|
12
|
+
import * as Microsoft_EntityFrameworkCore_Storage_Internal from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Storage/internal/index.js";
|
|
13
|
+
import type { ExecutionStrategy, ExecutionStrategyDependencies, IExecutionStrategy } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Storage/internal/index.js";
|
|
14
|
+
import type { DbContext } from "@tsonic/efcore/Microsoft.EntityFrameworkCore/internal/index.js";
|
|
15
|
+
|
|
16
|
+
export interface NpgsqlRetryingExecutionStrategy$instance extends ExecutionStrategy {
|
|
17
|
+
readonly __tsonic_type_Npgsql_EntityFrameworkCore_PostgreSQL_NpgsqlRetryingExecutionStrategy: never;
|
|
19
18
|
|
|
19
|
+
readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Storage_IExecutionStrategy: never;
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
ShouldRetryOn(exception: Exception): boolean;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
|
|
@@ -27,9 +27,9 @@ export const NpgsqlRetryingExecutionStrategy: {
|
|
|
27
27
|
new(dependencies: ExecutionStrategyDependencies): NpgsqlRetryingExecutionStrategy;
|
|
28
28
|
new(context: DbContext, maxRetryCount: int): NpgsqlRetryingExecutionStrategy;
|
|
29
29
|
new(dependencies: ExecutionStrategyDependencies, maxRetryCount: int): NpgsqlRetryingExecutionStrategy;
|
|
30
|
-
new(dependencies: ExecutionStrategyDependencies, errorCodesToAdd:
|
|
31
|
-
new(context: DbContext, maxRetryCount: int, maxRetryDelay: TimeSpan, errorCodesToAdd:
|
|
32
|
-
new(dependencies: ExecutionStrategyDependencies, maxRetryCount: int, maxRetryDelay: TimeSpan, errorCodesToAdd:
|
|
30
|
+
new(dependencies: ExecutionStrategyDependencies, errorCodesToAdd: ICollection_1<System_Internal.String>): NpgsqlRetryingExecutionStrategy;
|
|
31
|
+
new(context: DbContext, maxRetryCount: int, maxRetryDelay: TimeSpan, errorCodesToAdd: ICollection_1<System_Internal.String>): NpgsqlRetryingExecutionStrategy;
|
|
32
|
+
new(dependencies: ExecutionStrategyDependencies, maxRetryCount: int, maxRetryDelay: TimeSpan, errorCodesToAdd: ICollection_1<System_Internal.String>): NpgsqlRetryingExecutionStrategy;
|
|
33
33
|
};
|
|
34
34
|
|
|
35
35
|
|
|
@@ -6,32 +6,32 @@
|
|
|
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
8
|
// Import types from other namespaces
|
|
9
|
-
import type {
|
|
10
|
-
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
11
|
-
import type { Boolean as ClrBoolean, Object as ClrObject, String as ClrString, Void } from "@tsonic/dotnet/System.js";
|
|
12
|
-
import type { ValueComparer } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.ChangeTracking.js";
|
|
13
|
-
import * as Microsoft_EntityFrameworkCore_Design_Internal_Internal from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Design.Internal.js";
|
|
14
|
-
import type { CSharpRuntimeAnnotationCodeGeneratorDependencies, CSharpRuntimeAnnotationCodeGeneratorParameters, RelationalCSharpRuntimeAnnotationCodeGenerator, RelationalCSharpRuntimeAnnotationCodeGeneratorDependencies } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Design.Internal.js";
|
|
15
|
-
import * as Microsoft_EntityFrameworkCore_Design_Internal from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Design.js";
|
|
16
|
-
import type { AnnotationCodeGenerator, AnnotationCodeGeneratorDependencies, IAnnotationCodeGenerator, IDesignTimeServices, MethodCallCodeFragment } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Design.js";
|
|
17
|
-
import type { IAnnotation } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Infrastructure.js";
|
|
18
|
-
import type { IColumn, IEntityType, IIndex, IModel, IProperty, IRelationalModel, ITable, ITableIndex } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Metadata.js";
|
|
19
|
-
import type { CoreTypeMapping } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Storage.js";
|
|
20
|
-
import type { IServiceCollection } from "@tsonic/microsoft-extensions/Microsoft.Extensions.DependencyInjection.js";
|
|
21
|
-
|
|
22
|
-
export
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
9
|
+
import type { IDictionary_2, IReadOnlyList_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
10
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
11
|
+
import type { Boolean as ClrBoolean, Object as ClrObject, String as ClrString, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
12
|
+
import type { ValueComparer } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.ChangeTracking/internal/index.js";
|
|
13
|
+
import * as Microsoft_EntityFrameworkCore_Design_Internal_Internal from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Design.Internal/internal/index.js";
|
|
14
|
+
import type { CSharpRuntimeAnnotationCodeGeneratorDependencies, CSharpRuntimeAnnotationCodeGeneratorParameters, RelationalCSharpRuntimeAnnotationCodeGenerator, RelationalCSharpRuntimeAnnotationCodeGeneratorDependencies } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Design.Internal/internal/index.js";
|
|
15
|
+
import * as Microsoft_EntityFrameworkCore_Design_Internal from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Design/internal/index.js";
|
|
16
|
+
import type { AnnotationCodeGenerator, AnnotationCodeGeneratorDependencies, IAnnotationCodeGenerator, IDesignTimeServices, MethodCallCodeFragment } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Design/internal/index.js";
|
|
17
|
+
import type { IAnnotation } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Infrastructure/internal/index.js";
|
|
18
|
+
import type { IColumn, IEntityType, IIndex, IModel, IProperty, IRelationalModel, ITable, ITableIndex } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Metadata/internal/index.js";
|
|
19
|
+
import type { CoreTypeMapping } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Storage/internal/index.js";
|
|
20
|
+
import type { IServiceCollection } from "@tsonic/microsoft-extensions/Microsoft.Extensions.DependencyInjection/internal/index.js";
|
|
21
|
+
|
|
22
|
+
export interface NpgsqlAnnotationCodeGenerator$instance extends AnnotationCodeGenerator {
|
|
23
|
+
readonly __tsonic_type_Npgsql_EntityFrameworkCore_PostgreSQL_Design_Internal_NpgsqlAnnotationCodeGenerator: never;
|
|
24
|
+
|
|
25
|
+
readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Design_IAnnotationCodeGenerator: never;
|
|
26
|
+
|
|
27
|
+
GenerateFluentApi(model: IModel, annotation: IAnnotation): MethodCallCodeFragment | undefined;
|
|
28
|
+
GenerateFluentApi(entityType: IEntityType, annotation: IAnnotation): MethodCallCodeFragment | undefined;
|
|
29
|
+
GenerateFluentApi(index: IIndex, annotation: IAnnotation): MethodCallCodeFragment | undefined;
|
|
30
|
+
GenerateFluentApiCalls(model: IModel, annotations: IDictionary_2<System_Internal.String, IAnnotation>): IReadOnlyList_1<MethodCallCodeFragment>;
|
|
31
|
+
GenerateFluentApiCalls(property: IProperty, annotations: IDictionary_2<System_Internal.String, IAnnotation>): IReadOnlyList_1<MethodCallCodeFragment>;
|
|
32
|
+
IsHandledByConvention(model: IModel, annotation: IAnnotation): boolean;
|
|
33
|
+
IsHandledByConvention(index: IIndex, annotation: IAnnotation): boolean;
|
|
34
|
+
IsHandledByConvention(property: IProperty, annotation: IAnnotation): boolean;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
|
|
@@ -42,12 +42,10 @@ export const NpgsqlAnnotationCodeGenerator: {
|
|
|
42
42
|
|
|
43
43
|
export type NpgsqlAnnotationCodeGenerator = NpgsqlAnnotationCodeGenerator$instance;
|
|
44
44
|
|
|
45
|
-
export
|
|
46
|
-
|
|
47
|
-
}
|
|
45
|
+
export interface NpgsqlCSharpRuntimeAnnotationCodeGenerator$instance extends RelationalCSharpRuntimeAnnotationCodeGenerator {
|
|
46
|
+
readonly __tsonic_type_Npgsql_EntityFrameworkCore_PostgreSQL_Design_Internal_NpgsqlCSharpRuntimeAnnotationCodeGenerator: never;
|
|
48
47
|
|
|
49
|
-
|
|
50
|
-
export interface NpgsqlCSharpRuntimeAnnotationCodeGenerator$instance extends NpgsqlCSharpRuntimeAnnotationCodeGenerator$protected, RelationalCSharpRuntimeAnnotationCodeGenerator {
|
|
48
|
+
AddNpgsqlTypeMappingTweaks(typeMapping: CoreTypeMapping, parameters: CSharpRuntimeAnnotationCodeGeneratorParameters): void;
|
|
51
49
|
Create(typeMapping: CoreTypeMapping, parameters: CSharpRuntimeAnnotationCodeGeneratorParameters, valueComparer?: ValueComparer, keyValueComparer?: ValueComparer, providerValueComparer?: ValueComparer): boolean;
|
|
52
50
|
Generate(model: IModel, parameters: CSharpRuntimeAnnotationCodeGeneratorParameters): void;
|
|
53
51
|
Generate(model: IRelationalModel, parameters: CSharpRuntimeAnnotationCodeGeneratorParameters): void;
|
|
@@ -68,6 +66,10 @@ export const NpgsqlCSharpRuntimeAnnotationCodeGenerator: {
|
|
|
68
66
|
export type NpgsqlCSharpRuntimeAnnotationCodeGenerator = NpgsqlCSharpRuntimeAnnotationCodeGenerator$instance;
|
|
69
67
|
|
|
70
68
|
export interface NpgsqlDesignTimeServices$instance {
|
|
69
|
+
readonly __tsonic_type_Npgsql_EntityFrameworkCore_PostgreSQL_Design_Internal_NpgsqlDesignTimeServices: never;
|
|
70
|
+
|
|
71
|
+
readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Design_IDesignTimeServices: never;
|
|
72
|
+
|
|
71
73
|
ConfigureDesignTimeServices(serviceCollection: IServiceCollection): void;
|
|
72
74
|
}
|
|
73
75
|
|
|
@@ -7,10 +7,12 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
|
|
|
7
7
|
|
|
8
8
|
// Import types from other namespaces
|
|
9
9
|
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
10
|
-
import * as Microsoft_EntityFrameworkCore_Diagnostics_Internal from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Diagnostics.js";
|
|
11
|
-
import type { EventDefinitionBase, RelationalLoggingDefinitions } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Diagnostics.js";
|
|
10
|
+
import * as Microsoft_EntityFrameworkCore_Diagnostics_Internal from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Diagnostics/internal/index.js";
|
|
11
|
+
import type { EventDefinitionBase, RelationalLoggingDefinitions } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Diagnostics/internal/index.js";
|
|
12
12
|
|
|
13
13
|
export interface NpgsqlLoggingDefinitions$instance extends RelationalLoggingDefinitions {
|
|
14
|
+
readonly __tsonic_type_Npgsql_EntityFrameworkCore_PostgreSQL_Diagnostics_Internal_NpgsqlLoggingDefinitions: never;
|
|
15
|
+
|
|
14
16
|
LogFoundDefaultSchema: EventDefinitionBase | undefined;
|
|
15
17
|
LogFoundColumn: EventDefinitionBase | undefined;
|
|
16
18
|
LogFoundForeignKey: EventDefinitionBase | undefined;
|
|
@@ -9,10 +9,10 @@ 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 * as System_Internal from "@tsonic/dotnet/System.js";
|
|
13
|
-
import type { Boolean as ClrBoolean, Object as ClrObject } from "@tsonic/dotnet/System.js";
|
|
14
|
-
import type {
|
|
15
|
-
import type {
|
|
12
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
13
|
+
import type { Boolean as ClrBoolean, Object as ClrObject } from "@tsonic/dotnet/System/internal/index.js";
|
|
14
|
+
import type { ColumnExpression, SqlExpression } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Query.SqlExpressions/internal/index.js";
|
|
15
|
+
import type { ShapedQueryExpression } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Query/internal/index.js";
|
|
16
16
|
|
|
17
17
|
export abstract class NpgsqlShapedQueryExpressionExtensions$instance {
|
|
18
18
|
static TryConvertToArray(source: ShapedQueryExpression, array: SqlExpression, ignoreOrderings?: boolean, ignorePredicate?: boolean): boolean;
|
|
@@ -12,3 +12,6 @@ import type { ColumnExpression, SqlExpression } from '@tsonic/efcore/Microsoft.E
|
|
|
12
12
|
|
|
13
13
|
// Public API exports (curated - no internal $instance/$views leakage)
|
|
14
14
|
export { NpgsqlShapedQueryExpressionExtensions$instance as NpgsqlShapedQueryExpressionExtensions } from './Npgsql.EntityFrameworkCore.PostgreSQL.Extensions.Internal/internal/index.js';
|
|
15
|
+
// Extension methods (C# using semantics)
|
|
16
|
+
export type { ExtensionMethods_Npgsql_EntityFrameworkCore_PostgreSQL_Extensions_Internal as ExtensionMethods } from './__internal/extensions/index.js';
|
|
17
|
+
|
|
@@ -10,27 +10,27 @@ import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
|
10
10
|
import * as Npgsql_EntityFrameworkCore_PostgreSQL_Infrastructure_Internal_Internal from "../../Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.Internal/internal/index.js";
|
|
11
11
|
import type { NpgsqlOptionsExtension } from "../../Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.Internal/internal/index.js";
|
|
12
12
|
import type { INpgsqlNameTranslator, NpgsqlDataSourceBuilder, ProvideClientCertificatesCallback, ProvidePasswordCallback } from "../../Npgsql/internal/index.js";
|
|
13
|
-
import type {
|
|
14
|
-
import type {
|
|
15
|
-
import type {
|
|
16
|
-
import * as Microsoft_EntityFrameworkCore_Infrastructure_Internal from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Infrastructure.js";
|
|
17
|
-
import type { EntityFrameworkRelationalServicesBuilder, IRelationalDbContextOptionsBuilderInfrastructure,
|
|
18
|
-
import type { DbContextOptionsBuilder } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.js";
|
|
19
|
-
import type { IServiceCollection } from "@tsonic/microsoft-extensions/Microsoft.Extensions.DependencyInjection.js";
|
|
13
|
+
import type { ICollection_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
14
|
+
import type { RemoteCertificateValidationCallback } from "@tsonic/dotnet/System.Net.Security/internal/index.js";
|
|
15
|
+
import type { Action_1, Boolean as ClrBoolean, Enum, Int32, Nullable_1, String as ClrString, TimeSpan, Type, ValueType, Version, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
16
|
+
import * as Microsoft_EntityFrameworkCore_Infrastructure_Internal from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Infrastructure/internal/index.js";
|
|
17
|
+
import type { EntityFrameworkRelationalServicesBuilder, IRelationalDbContextOptionsBuilderInfrastructure, RelationalDbContextOptionsBuilder_2, ServiceCharacteristics } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Infrastructure/internal/index.js";
|
|
18
|
+
import type { DbContextOptionsBuilder } from "@tsonic/efcore/Microsoft.EntityFrameworkCore/internal/index.js";
|
|
19
|
+
import type { IServiceCollection } from "@tsonic/microsoft-extensions/Microsoft.Extensions.DependencyInjection/internal/index.js";
|
|
20
20
|
|
|
21
21
|
export interface INpgsqlDataSourceConfigurationPlugin$instance {
|
|
22
|
+
readonly __tsonic_iface_Npgsql_EntityFrameworkCore_PostgreSQL_Infrastructure_INpgsqlDataSourceConfigurationPlugin: never;
|
|
23
|
+
|
|
22
24
|
Configure(npgsqlDataSourceBuilder: NpgsqlDataSourceBuilder): void;
|
|
23
25
|
}
|
|
24
26
|
|
|
25
27
|
|
|
26
28
|
export type INpgsqlDataSourceConfigurationPlugin = INpgsqlDataSourceConfigurationPlugin$instance;
|
|
27
29
|
|
|
28
|
-
export
|
|
29
|
-
|
|
30
|
-
}
|
|
31
|
-
|
|
30
|
+
export interface EntityFrameworkNpgsqlServicesBuilder$instance extends EntityFrameworkRelationalServicesBuilder {
|
|
31
|
+
readonly __tsonic_type_Npgsql_EntityFrameworkCore_PostgreSQL_Infrastructure_EntityFrameworkNpgsqlServicesBuilder: never;
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
TryGetServiceCharacteristics(serviceType: Type): Nullable_1<ServiceCharacteristics>;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
|
|
@@ -41,12 +41,16 @@ export const EntityFrameworkNpgsqlServicesBuilder: {
|
|
|
41
41
|
|
|
42
42
|
export type EntityFrameworkNpgsqlServicesBuilder = EntityFrameworkNpgsqlServicesBuilder$instance;
|
|
43
43
|
|
|
44
|
-
export interface NpgsqlDbContextOptionsBuilder$instance extends
|
|
45
|
-
|
|
44
|
+
export interface NpgsqlDbContextOptionsBuilder$instance extends RelationalDbContextOptionsBuilder_2<NpgsqlDbContextOptionsBuilder, NpgsqlOptionsExtension> {
|
|
45
|
+
readonly __tsonic_type_Npgsql_EntityFrameworkCore_PostgreSQL_Infrastructure_NpgsqlDbContextOptionsBuilder: never;
|
|
46
|
+
|
|
47
|
+
readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Infrastructure_IRelationalDbContextOptionsBuilderInfrastructure: never;
|
|
48
|
+
|
|
49
|
+
ConfigureDataSource(dataSourceBuilderAction: Action_1<NpgsqlDataSourceBuilder>): NpgsqlDbContextOptionsBuilder;
|
|
46
50
|
EnableRetryOnFailure(): NpgsqlDbContextOptionsBuilder;
|
|
47
51
|
EnableRetryOnFailure(maxRetryCount: int): NpgsqlDbContextOptionsBuilder;
|
|
48
|
-
EnableRetryOnFailure(errorCodesToAdd:
|
|
49
|
-
EnableRetryOnFailure(maxRetryCount: int, maxRetryDelay: TimeSpan, errorCodesToAdd:
|
|
52
|
+
EnableRetryOnFailure(errorCodesToAdd: ICollection_1<System_Internal.String>): NpgsqlDbContextOptionsBuilder;
|
|
53
|
+
EnableRetryOnFailure(maxRetryCount: int, maxRetryDelay: TimeSpan, errorCodesToAdd: ICollection_1<System_Internal.String>): NpgsqlDbContextOptionsBuilder;
|
|
50
54
|
MapEnum<T extends number>(enumName?: string, schemaName?: string, nameTranslator?: INpgsqlNameTranslator): NpgsqlDbContextOptionsBuilder;
|
|
51
55
|
MapEnum(clrType: Type, enumName?: string, schemaName?: string, nameTranslator?: INpgsqlNameTranslator): NpgsqlDbContextOptionsBuilder;
|
|
52
56
|
MapRange<TSubtype>(rangeName: string, schemaName?: string, subtypeName?: string): NpgsqlDbContextOptionsBuilder;
|
|
@@ -10,33 +10,41 @@ import type { ptr } from "@tsonic/core/types.js";
|
|
|
10
10
|
|
|
11
11
|
// Import types from other namespaces
|
|
12
12
|
import type { INpgsqlNameTranslator, NpgsqlDataSourceBuilder, ProvideClientCertificatesCallback, ProvidePasswordCallback } from "../../Npgsql/internal/index.js";
|
|
13
|
-
import type {
|
|
14
|
-
import type { DbConnection, DbDataSource } from "@tsonic/dotnet/System.Data.Common.js";
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import type {
|
|
18
|
-
import type {
|
|
19
|
-
import * as Microsoft_EntityFrameworkCore_Infrastructure_Internal from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Infrastructure.js";
|
|
20
|
-
import type { DbContextOptionsExtensionInfo, IDbContextOptions, IDbContextOptionsExtension, IModelValidator, ISingletonOptions, ModelValidatorDependencies, RelationalModelValidator, RelationalModelValidatorDependencies, RelationalOptionsExtension } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Infrastructure.js";
|
|
21
|
-
import type {
|
|
22
|
-
import type {
|
|
23
|
-
import type { IServiceCollection } from "@tsonic/microsoft-extensions/Microsoft.Extensions.DependencyInjection.js";
|
|
13
|
+
import type { IReadOnlyDictionary_2, IReadOnlyList_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
14
|
+
import type { DbConnection, DbDataSource } from "@tsonic/dotnet/System.Data.Common/internal/index.js";
|
|
15
|
+
import type { RemoteCertificateValidationCallback } from "@tsonic/dotnet/System.Net.Security/internal/index.js";
|
|
16
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
17
|
+
import type { Action_1, Boolean as ClrBoolean, IEquatable_1, Int32, Nullable_1, Object as ClrObject, String as ClrString, Type, Version, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
18
|
+
import type { IDiagnosticsLogger_1 } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Diagnostics/internal/index.js";
|
|
19
|
+
import * as Microsoft_EntityFrameworkCore_Infrastructure_Internal from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Infrastructure/internal/index.js";
|
|
20
|
+
import type { DbContextOptionsExtensionInfo, IDbContextOptions, IDbContextOptionsExtension, IModelValidator, ISingletonOptions, ModelValidatorDependencies, RelationalModelValidator, RelationalModelValidatorDependencies, RelationalOptionsExtension } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Infrastructure/internal/index.js";
|
|
21
|
+
import type { IEntityType, IKey, IModel, IProperty, StoreObjectIdentifier } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Metadata/internal/index.js";
|
|
22
|
+
import type { DbLoggerCategory$Model$Validation, ParameterTranslationMode } from "@tsonic/efcore/Microsoft.EntityFrameworkCore/internal/index.js";
|
|
23
|
+
import type { IServiceCollection } from "@tsonic/microsoft-extensions/Microsoft.Extensions.DependencyInjection/internal/index.js";
|
|
24
24
|
|
|
25
25
|
export interface INpgsqlSingletonOptions$instance extends ISingletonOptions {
|
|
26
|
+
readonly __tsonic_iface_Npgsql_EntityFrameworkCore_PostgreSQL_Infrastructure_Internal_INpgsqlSingletonOptions: never;
|
|
27
|
+
|
|
26
28
|
readonly PostgresVersion: Version;
|
|
27
29
|
readonly IsPostgresVersionSet: boolean;
|
|
28
30
|
readonly UseRedshift: boolean;
|
|
29
31
|
readonly ReverseNullOrderingEnabled: boolean;
|
|
30
|
-
readonly EnumDefinitions:
|
|
31
|
-
readonly UserRangeDefinitions:
|
|
32
|
+
readonly EnumDefinitions: IReadOnlyList_1<EnumDefinition>;
|
|
33
|
+
readonly UserRangeDefinitions: IReadOnlyList_1<UserRangeDefinition>;
|
|
32
34
|
}
|
|
33
35
|
|
|
34
36
|
|
|
37
|
+
export interface INpgsqlSingletonOptions$instance extends Microsoft_EntityFrameworkCore_Infrastructure_Internal.ISingletonOptions {}
|
|
38
|
+
|
|
35
39
|
export type INpgsqlSingletonOptions = INpgsqlSingletonOptions$instance;
|
|
36
40
|
|
|
37
41
|
export interface EnumDefinition$instance {
|
|
42
|
+
readonly __tsonic_type_Npgsql_EntityFrameworkCore_PostgreSQL_Infrastructure_Internal_EnumDefinition: never;
|
|
43
|
+
|
|
44
|
+
readonly __tsonic_iface_System_IEquatable_1: never;
|
|
45
|
+
|
|
38
46
|
readonly ClrType: Type;
|
|
39
|
-
readonly Labels:
|
|
47
|
+
readonly Labels: IReadOnlyDictionary_2<unknown, System_Internal.String>;
|
|
40
48
|
readonly NameTranslator: INpgsqlNameTranslator;
|
|
41
49
|
readonly StoreTypeName: string;
|
|
42
50
|
readonly StoreTypeSchema: string | undefined;
|
|
@@ -53,18 +61,18 @@ export const EnumDefinition: {
|
|
|
53
61
|
|
|
54
62
|
export type EnumDefinition = EnumDefinition$instance;
|
|
55
63
|
|
|
56
|
-
export
|
|
57
|
-
|
|
58
|
-
protected ValidateIdentityVersionCompatibility(model: IModel): void;
|
|
59
|
-
protected ValidateIndexIncludeProperties(model: IModel): void;
|
|
60
|
-
protected ValidateStoredProcedures(model: IModel, logger: IDiagnosticsLogger<DbLoggerCategory$Model$Validation>): void;
|
|
61
|
-
protected ValidateTypeMappings(model: IModel, logger: IDiagnosticsLogger<DbLoggerCategory$Model$Validation>): void;
|
|
62
|
-
protected ValidateValueGeneration(entityType: IEntityType, key: IKey, logger: IDiagnosticsLogger<DbLoggerCategory$Model$Validation>): void;
|
|
63
|
-
}
|
|
64
|
+
export interface NpgsqlModelValidator$instance extends RelationalModelValidator {
|
|
65
|
+
readonly __tsonic_type_Npgsql_EntityFrameworkCore_PostgreSQL_Infrastructure_Internal_NpgsqlModelValidator: never;
|
|
64
66
|
|
|
67
|
+
readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Infrastructure_IModelValidator: never;
|
|
65
68
|
|
|
66
|
-
|
|
67
|
-
|
|
69
|
+
Validate(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory$Model$Validation>): void;
|
|
70
|
+
ValidateCompatible(property: IProperty, duplicateProperty: IProperty, columnName: string, storeObject: StoreObjectIdentifier, logger: IDiagnosticsLogger_1<DbLoggerCategory$Model$Validation>): void;
|
|
71
|
+
ValidateIdentityVersionCompatibility(model: IModel): void;
|
|
72
|
+
ValidateIndexIncludeProperties(model: IModel): void;
|
|
73
|
+
ValidateStoredProcedures(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory$Model$Validation>): void;
|
|
74
|
+
ValidateTypeMappings(model: IModel, logger: IDiagnosticsLogger_1<DbLoggerCategory$Model$Validation>): void;
|
|
75
|
+
ValidateValueGeneration(entityType: IEntityType, key: IKey, logger: IDiagnosticsLogger_1<DbLoggerCategory$Model$Validation>): void;
|
|
68
76
|
}
|
|
69
77
|
|
|
70
78
|
|
|
@@ -75,40 +83,40 @@ export const NpgsqlModelValidator: {
|
|
|
75
83
|
|
|
76
84
|
export type NpgsqlModelValidator = NpgsqlModelValidator$instance;
|
|
77
85
|
|
|
78
|
-
export
|
|
79
|
-
|
|
80
|
-
}
|
|
86
|
+
export interface NpgsqlOptionsExtension$instance extends RelationalOptionsExtension {
|
|
87
|
+
readonly __tsonic_type_Npgsql_EntityFrameworkCore_PostgreSQL_Infrastructure_Internal_NpgsqlOptionsExtension: never;
|
|
81
88
|
|
|
89
|
+
readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Infrastructure_IDbContextOptionsExtension: never;
|
|
82
90
|
|
|
83
|
-
export interface NpgsqlOptionsExtension$instance extends NpgsqlOptionsExtension$protected, RelationalOptionsExtension {
|
|
84
91
|
get AdminDatabase(): string | undefined;
|
|
85
|
-
set AdminDatabase(value: string);
|
|
92
|
+
set AdminDatabase(value: string | undefined);
|
|
86
93
|
get DataSource(): DbDataSource | undefined;
|
|
87
|
-
set DataSource(value: DbDataSource);
|
|
88
|
-
get DataSourceBuilderAction():
|
|
89
|
-
set DataSourceBuilderAction(value:
|
|
90
|
-
readonly EnumDefinitions:
|
|
94
|
+
set DataSource(value: DbDataSource | undefined);
|
|
95
|
+
get DataSourceBuilderAction(): Action_1<NpgsqlDataSourceBuilder> | undefined;
|
|
96
|
+
set DataSourceBuilderAction(value: Action_1<NpgsqlDataSourceBuilder> | undefined);
|
|
97
|
+
readonly EnumDefinitions: IReadOnlyList_1<EnumDefinition>;
|
|
91
98
|
readonly Info: DbContextOptionsExtensionInfo;
|
|
92
99
|
readonly IsPostgresVersionSet: boolean;
|
|
93
|
-
readonly MinBatchSize:
|
|
100
|
+
readonly MinBatchSize: Nullable_1<System_Internal.Int32>;
|
|
94
101
|
readonly ParameterizedCollectionMode: ParameterTranslationMode;
|
|
95
102
|
readonly PostgresVersion: Version;
|
|
96
103
|
get ProvideClientCertificatesCallback(): ProvideClientCertificatesCallback | undefined;
|
|
97
|
-
set ProvideClientCertificatesCallback(value: ProvideClientCertificatesCallback);
|
|
104
|
+
set ProvideClientCertificatesCallback(value: ProvideClientCertificatesCallback | undefined);
|
|
98
105
|
get ProvidePasswordCallback(): ProvidePasswordCallback | undefined;
|
|
99
|
-
set ProvidePasswordCallback(value: ProvidePasswordCallback);
|
|
106
|
+
set ProvidePasswordCallback(value: ProvidePasswordCallback | undefined);
|
|
100
107
|
get RemoteCertificateValidationCallback(): RemoteCertificateValidationCallback | undefined;
|
|
101
|
-
set RemoteCertificateValidationCallback(value: RemoteCertificateValidationCallback);
|
|
108
|
+
set RemoteCertificateValidationCallback(value: RemoteCertificateValidationCallback | undefined);
|
|
102
109
|
ReverseNullOrdering: boolean;
|
|
103
110
|
UseRedshift: boolean;
|
|
104
|
-
readonly UserRangeDefinitions:
|
|
111
|
+
readonly UserRangeDefinitions: IReadOnlyList_1<UserRangeDefinition>;
|
|
105
112
|
ApplyServices(services: IServiceCollection): void;
|
|
113
|
+
Clone(): RelationalOptionsExtension;
|
|
106
114
|
Validate(options: IDbContextOptions): void;
|
|
107
115
|
WithAdminDatabase(adminDatabase: string): NpgsqlOptionsExtension;
|
|
108
116
|
WithConnection(connection: DbConnection): RelationalOptionsExtension;
|
|
109
117
|
WithConnectionString(connectionString: string): RelationalOptionsExtension;
|
|
110
118
|
WithDataSource(dataSource: DbDataSource): RelationalOptionsExtension;
|
|
111
|
-
WithDataSourceConfiguration(dataSourceBuilderAction:
|
|
119
|
+
WithDataSourceConfiguration(dataSourceBuilderAction: Action_1<NpgsqlDataSourceBuilder>): NpgsqlOptionsExtension;
|
|
112
120
|
WithEnumMapping(clrType: Type, enumName: string, schemaName: string, nameTranslator: INpgsqlNameTranslator): NpgsqlOptionsExtension;
|
|
113
121
|
WithPostgresVersion(postgresVersion: Version): NpgsqlOptionsExtension;
|
|
114
122
|
WithProvideClientCertificatesCallback(callback: ProvideClientCertificatesCallback): NpgsqlOptionsExtension;
|
|
@@ -131,6 +139,10 @@ export const NpgsqlOptionsExtension: {
|
|
|
131
139
|
export type NpgsqlOptionsExtension = NpgsqlOptionsExtension$instance;
|
|
132
140
|
|
|
133
141
|
export interface UserRangeDefinition$instance {
|
|
142
|
+
readonly __tsonic_type_Npgsql_EntityFrameworkCore_PostgreSQL_Infrastructure_Internal_UserRangeDefinition: never;
|
|
143
|
+
|
|
144
|
+
readonly __tsonic_iface_System_IEquatable_1: never;
|
|
145
|
+
|
|
134
146
|
readonly StoreTypeName: string;
|
|
135
147
|
readonly StoreTypeSchema: string | undefined;
|
|
136
148
|
readonly SubtypeClrType: Type;
|
|
@@ -8,21 +8,26 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
|
|
|
8
8
|
// Import types from other namespaces
|
|
9
9
|
import * as Npgsql_EntityFrameworkCore_PostgreSQL_Infrastructure_Internal_Internal from "../../Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.Internal/internal/index.js";
|
|
10
10
|
import type { EnumDefinition, INpgsqlSingletonOptions, UserRangeDefinition } from "../../Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.Internal/internal/index.js";
|
|
11
|
-
import type {
|
|
12
|
-
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
13
|
-
import type { Boolean as ClrBoolean, Object as ClrObject, String as ClrString, Version, Void } from "@tsonic/dotnet/System.js";
|
|
14
|
-
import type {
|
|
15
|
-
import * as Microsoft_EntityFrameworkCore_Infrastructure_Internal from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Infrastructure.js";
|
|
16
|
-
import type { IDbContextOptions, ISingletonOptions } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Infrastructure.js";
|
|
17
|
-
import type { DbLoggerCategory$Scaffolding } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.js";
|
|
11
|
+
import type { IReadOnlyList_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
12
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
13
|
+
import type { Boolean as ClrBoolean, Object as ClrObject, String as ClrString, Version, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
14
|
+
import type { EventDefinition_1, EventDefinition_2, EventDefinition_3, EventDefinition_4, EventDefinition_6, FallbackEventDefinition, IDiagnosticsLogger, IDiagnosticsLogger_1 } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Diagnostics/internal/index.js";
|
|
15
|
+
import * as Microsoft_EntityFrameworkCore_Infrastructure_Internal from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Infrastructure/internal/index.js";
|
|
16
|
+
import type { IDbContextOptions, ISingletonOptions } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Infrastructure/internal/index.js";
|
|
17
|
+
import type { DbLoggerCategory$Scaffolding } from "@tsonic/efcore/Microsoft.EntityFrameworkCore/internal/index.js";
|
|
18
18
|
|
|
19
19
|
export interface NpgsqlSingletonOptions$instance {
|
|
20
|
-
|
|
20
|
+
readonly __tsonic_type_Npgsql_EntityFrameworkCore_PostgreSQL_Internal_NpgsqlSingletonOptions: never;
|
|
21
|
+
|
|
22
|
+
readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Infrastructure_ISingletonOptions: never;
|
|
23
|
+
readonly __tsonic_iface_Npgsql_EntityFrameworkCore_PostgreSQL_Infrastructure_Internal_INpgsqlSingletonOptions: never;
|
|
24
|
+
|
|
25
|
+
EnumDefinitions: IReadOnlyList_1<EnumDefinition>;
|
|
21
26
|
IsPostgresVersionSet: boolean;
|
|
22
27
|
PostgresVersion: Version;
|
|
23
28
|
ReverseNullOrderingEnabled: boolean;
|
|
24
29
|
UseRedshift: boolean;
|
|
25
|
-
UserRangeDefinitions:
|
|
30
|
+
UserRangeDefinitions: IReadOnlyList_1<UserRangeDefinition>;
|
|
26
31
|
Initialize(options: IDbContextOptions): void;
|
|
27
32
|
Validate(options: IDbContextOptions): void;
|
|
28
33
|
}
|
|
@@ -41,38 +46,38 @@ export type NpgsqlSingletonOptions = NpgsqlSingletonOptions$instance & __NpgsqlS
|
|
|
41
46
|
|
|
42
47
|
|
|
43
48
|
export abstract class NpgsqlLoggerExtensions$instance {
|
|
44
|
-
static CollationFound(diagnostics:
|
|
45
|
-
static ColumnFound(diagnostics:
|
|
46
|
-
static EnumColumnSkippedWarning(diagnostics:
|
|
47
|
-
static ExpressionIndexSkippedWarning(diagnostics:
|
|
48
|
-
static ForeignKeyReferencesMissingPrincipalTableWarning(diagnostics:
|
|
49
|
-
static MissingSchemaWarning(diagnostics:
|
|
50
|
-
static MissingTableWarning(diagnostics:
|
|
51
|
-
static UniqueConstraintFound(diagnostics:
|
|
52
|
-
static UnsupportedColumnConstraintSkippedWarning(diagnostics:
|
|
53
|
-
static UnsupportedColumnIndexSkippedWarning(diagnostics:
|
|
49
|
+
static CollationFound(diagnostics: IDiagnosticsLogger_1<DbLoggerCategory$Scaffolding>, schema: string, collationName: string, lcCollate: string, lcCtype: string, provider: string, deterministic: boolean): void;
|
|
50
|
+
static ColumnFound(diagnostics: IDiagnosticsLogger_1<DbLoggerCategory$Scaffolding>, tableName: string, columnName: string, dataTypeName: string, nullable: boolean, identity: boolean, defaultValue: string, computedValue: string): void;
|
|
51
|
+
static EnumColumnSkippedWarning(diagnostics: IDiagnosticsLogger_1<DbLoggerCategory$Scaffolding>, columnName: string): void;
|
|
52
|
+
static ExpressionIndexSkippedWarning(diagnostics: IDiagnosticsLogger_1<DbLoggerCategory$Scaffolding>, indexName: string, tableName: string): void;
|
|
53
|
+
static ForeignKeyReferencesMissingPrincipalTableWarning(diagnostics: IDiagnosticsLogger_1<DbLoggerCategory$Scaffolding>, foreignKeyName: string, tableName: string, principalTableName: string): void;
|
|
54
|
+
static MissingSchemaWarning(diagnostics: IDiagnosticsLogger_1<DbLoggerCategory$Scaffolding>, schemaName: string): void;
|
|
55
|
+
static MissingTableWarning(diagnostics: IDiagnosticsLogger_1<DbLoggerCategory$Scaffolding>, tableName: string): void;
|
|
56
|
+
static UniqueConstraintFound(diagnostics: IDiagnosticsLogger_1<DbLoggerCategory$Scaffolding>, uniqueConstraintName: string, tableName: string): void;
|
|
57
|
+
static UnsupportedColumnConstraintSkippedWarning(diagnostics: IDiagnosticsLogger_1<DbLoggerCategory$Scaffolding>, indexName: string, tableName: string): void;
|
|
58
|
+
static UnsupportedColumnIndexSkippedWarning(diagnostics: IDiagnosticsLogger_1<DbLoggerCategory$Scaffolding>, indexName: string, tableName: string): void;
|
|
54
59
|
}
|
|
55
60
|
|
|
56
61
|
|
|
57
62
|
export type NpgsqlLoggerExtensions = NpgsqlLoggerExtensions$instance;
|
|
58
63
|
|
|
59
64
|
export abstract class NpgsqlResources$instance {
|
|
60
|
-
static LogEnumColumnSkipped(logger: IDiagnosticsLogger):
|
|
61
|
-
static LogExpressionIndexSkipped(logger: IDiagnosticsLogger):
|
|
62
|
-
static LogFoundCollation(logger: IDiagnosticsLogger):
|
|
65
|
+
static LogEnumColumnSkipped(logger: IDiagnosticsLogger): EventDefinition_1<System_Internal.String>;
|
|
66
|
+
static LogExpressionIndexSkipped(logger: IDiagnosticsLogger): EventDefinition_2<System_Internal.String, System_Internal.String>;
|
|
67
|
+
static LogFoundCollation(logger: IDiagnosticsLogger): EventDefinition_6<System_Internal.String, System_Internal.String, System_Internal.String, System_Internal.String, string | undefined, System_Internal.Boolean>;
|
|
63
68
|
static LogFoundColumn(logger: IDiagnosticsLogger): FallbackEventDefinition;
|
|
64
|
-
static LogFoundForeignKey(logger: IDiagnosticsLogger):
|
|
65
|
-
static LogFoundIndex(logger: IDiagnosticsLogger):
|
|
66
|
-
static LogFoundPrimaryKey(logger: IDiagnosticsLogger):
|
|
69
|
+
static LogFoundForeignKey(logger: IDiagnosticsLogger): EventDefinition_4<System_Internal.String, System_Internal.String, System_Internal.String, System_Internal.String>;
|
|
70
|
+
static LogFoundIndex(logger: IDiagnosticsLogger): EventDefinition_3<System_Internal.String, System_Internal.String, System_Internal.Boolean>;
|
|
71
|
+
static LogFoundPrimaryKey(logger: IDiagnosticsLogger): EventDefinition_2<System_Internal.String, System_Internal.String>;
|
|
67
72
|
static LogFoundSequence(logger: IDiagnosticsLogger): FallbackEventDefinition;
|
|
68
|
-
static LogFoundTable(logger: IDiagnosticsLogger):
|
|
69
|
-
static LogFoundUniqueConstraint(logger: IDiagnosticsLogger):
|
|
70
|
-
static LogMissingSchema(logger: IDiagnosticsLogger):
|
|
71
|
-
static LogMissingTable(logger: IDiagnosticsLogger):
|
|
72
|
-
static LogPrincipalColumnNotFound(logger: IDiagnosticsLogger):
|
|
73
|
-
static LogPrincipalTableNotInSelectionSet(logger: IDiagnosticsLogger):
|
|
74
|
-
static LogUnsupportedColumnConstraintSkipped(logger: IDiagnosticsLogger):
|
|
75
|
-
static LogUnsupportedColumnIndexSkipped(logger: IDiagnosticsLogger):
|
|
73
|
+
static LogFoundTable(logger: IDiagnosticsLogger): EventDefinition_1<System_Internal.String>;
|
|
74
|
+
static LogFoundUniqueConstraint(logger: IDiagnosticsLogger): EventDefinition_2<string | undefined, System_Internal.String>;
|
|
75
|
+
static LogMissingSchema(logger: IDiagnosticsLogger): EventDefinition_1<string | undefined>;
|
|
76
|
+
static LogMissingTable(logger: IDiagnosticsLogger): EventDefinition_1<string | undefined>;
|
|
77
|
+
static LogPrincipalColumnNotFound(logger: IDiagnosticsLogger): EventDefinition_4<System_Internal.String, System_Internal.String, System_Internal.String, System_Internal.String>;
|
|
78
|
+
static LogPrincipalTableNotInSelectionSet(logger: IDiagnosticsLogger): EventDefinition_3<string | undefined, string | undefined, string | undefined>;
|
|
79
|
+
static LogUnsupportedColumnConstraintSkipped(logger: IDiagnosticsLogger): EventDefinition_2<string | undefined, System_Internal.String>;
|
|
80
|
+
static LogUnsupportedColumnIndexSkipped(logger: IDiagnosticsLogger): EventDefinition_2<System_Internal.String, System_Internal.String>;
|
|
76
81
|
}
|
|
77
82
|
|
|
78
83
|
|
|
@@ -18,3 +18,6 @@ export { NpgsqlLoggerExtensions$instance as NpgsqlLoggerExtensions } from './Npg
|
|
|
18
18
|
export { NpgsqlSingletonOptions as NpgsqlSingletonOptions } from './Npgsql.EntityFrameworkCore.PostgreSQL.Internal/internal/index.js';
|
|
19
19
|
export { NpgsqlStrings$instance as NpgsqlStrings } from './Npgsql.EntityFrameworkCore.PostgreSQL.Internal/internal/index.js';
|
|
20
20
|
export { NpgsqlResources$instance as NpgsqlResources } from './Npgsql.EntityFrameworkCore.PostgreSQL.Internal/internal/index.js';
|
|
21
|
+
// Extension methods (C# using semantics)
|
|
22
|
+
export type { ExtensionMethods_Npgsql_EntityFrameworkCore_PostgreSQL_Internal as ExtensionMethods } from './__internal/extensions/index.js';
|
|
23
|
+
|