@tsonic/efcore-npgsql 10.0.5 → 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 +282 -280
- package/Microsoft.EntityFrameworkCore.Diagnostics/internal/index.d.ts +3 -3
- package/Microsoft.EntityFrameworkCore.Metadata.Internal/internal/index.d.ts +3 -3
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +5 -5
- package/Npgsql/internal/index.d.ts +197 -121
- package/Npgsql.BackendMessages/internal/index.d.ts +4 -2
- package/Npgsql.EntityFrameworkCore.PostgreSQL/internal/index.d.ts +10 -8
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Design.Internal/internal/index.d.ts +20 -14
- 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.Infrastructure/internal/index.d.ts +16 -12
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.Internal/internal/index.d.ts +33 -25
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Internal/internal/index.d.ts +35 -33
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata/internal/index.d.ts +24 -14
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Conventions/internal/index.d.ts +37 -23
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Internal/internal/index.d.ts +17 -13
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations/internal/index.d.ts +9 -7
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Internal/internal/index.d.ts +23 -19
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Operations/internal/index.d.ts +11 -7
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query/internal/index.d.ts +14 -12
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.ExpressionTranslators.Internal/internal/index.d.ts +110 -46
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions/internal/index.d.ts +2 -2
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions.Internal/internal/index.d.ts +73 -41
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Internal/internal/index.d.ts +52 -12
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Scaffolding.Internal/internal/index.d.ts +13 -9
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal/internal/index.d.ts +42 -28
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Json/internal/index.d.ts +16 -12
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Mapping/internal/index.d.ts +214 -157
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.ValueConversion/internal/index.d.ts +6 -3
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal/internal/index.d.ts +21 -11
- package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration/internal/index.d.ts +11 -7
- package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration.Internal/internal/index.d.ts +24 -18
- package/Npgsql.Internal/internal/index.d.ts +113 -65
- package/Npgsql.Internal.Postgres/internal/index.d.ts +10 -2
- package/Npgsql.NameTranslation/internal/index.d.ts +9 -9
- package/Npgsql.PostgresTypes/internal/index.d.ts +25 -5
- package/Npgsql.Replication/internal/index.d.ts +42 -22
- package/Npgsql.Replication.Internal/internal/index.d.ts +9 -7
- package/Npgsql.Replication.PgOutput/internal/index.d.ts +27 -19
- package/Npgsql.Replication.PgOutput.Messages/internal/index.d.ts +71 -7
- package/Npgsql.Replication.TestDecoding/internal/index.d.ts +16 -10
- package/Npgsql.Schema/internal/index.d.ts +19 -17
- package/Npgsql.TypeMapping/internal/index.d.ts +5 -3
- package/Npgsql.Util/internal/index.d.ts +4 -2
- package/NpgsqlTypes/internal/index.d.ts +78 -24
- package/__internal/extensions/index.d.ts +696 -658
- 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;
|
|
@@ -7,13 +7,15 @@ 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 {
|
|
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
15
|
|
|
16
16
|
export interface NpgsqlRetryingExecutionStrategy$instance extends ExecutionStrategy {
|
|
17
|
+
readonly __tsonic_type_Npgsql_EntityFrameworkCore_PostgreSQL_NpgsqlRetryingExecutionStrategy: never;
|
|
18
|
+
|
|
17
19
|
readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Storage_IExecutionStrategy: never;
|
|
18
20
|
|
|
19
21
|
ShouldRetryOn(exception: Exception): boolean;
|
|
@@ -25,9 +27,9 @@ export const NpgsqlRetryingExecutionStrategy: {
|
|
|
25
27
|
new(dependencies: ExecutionStrategyDependencies): NpgsqlRetryingExecutionStrategy;
|
|
26
28
|
new(context: DbContext, maxRetryCount: int): NpgsqlRetryingExecutionStrategy;
|
|
27
29
|
new(dependencies: ExecutionStrategyDependencies, maxRetryCount: int): NpgsqlRetryingExecutionStrategy;
|
|
28
|
-
new(dependencies: ExecutionStrategyDependencies, errorCodesToAdd:
|
|
29
|
-
new(context: DbContext, maxRetryCount: int, maxRetryDelay: TimeSpan, errorCodesToAdd:
|
|
30
|
-
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;
|
|
31
33
|
};
|
|
32
34
|
|
|
33
35
|
|
|
@@ -6,27 +6,29 @@
|
|
|
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";
|
|
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
21
|
|
|
22
22
|
export interface NpgsqlAnnotationCodeGenerator$instance extends AnnotationCodeGenerator {
|
|
23
|
+
readonly __tsonic_type_Npgsql_EntityFrameworkCore_PostgreSQL_Design_Internal_NpgsqlAnnotationCodeGenerator: never;
|
|
24
|
+
|
|
23
25
|
readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Design_IAnnotationCodeGenerator: never;
|
|
24
26
|
|
|
25
27
|
GenerateFluentApi(model: IModel, annotation: IAnnotation): MethodCallCodeFragment | undefined;
|
|
26
28
|
GenerateFluentApi(entityType: IEntityType, annotation: IAnnotation): MethodCallCodeFragment | undefined;
|
|
27
29
|
GenerateFluentApi(index: IIndex, annotation: IAnnotation): MethodCallCodeFragment | undefined;
|
|
28
|
-
GenerateFluentApiCalls(model: IModel, annotations:
|
|
29
|
-
GenerateFluentApiCalls(property: IProperty, annotations:
|
|
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>;
|
|
30
32
|
IsHandledByConvention(model: IModel, annotation: IAnnotation): boolean;
|
|
31
33
|
IsHandledByConvention(index: IIndex, annotation: IAnnotation): boolean;
|
|
32
34
|
IsHandledByConvention(property: IProperty, annotation: IAnnotation): boolean;
|
|
@@ -41,6 +43,8 @@ export const NpgsqlAnnotationCodeGenerator: {
|
|
|
41
43
|
export type NpgsqlAnnotationCodeGenerator = NpgsqlAnnotationCodeGenerator$instance;
|
|
42
44
|
|
|
43
45
|
export interface NpgsqlCSharpRuntimeAnnotationCodeGenerator$instance extends RelationalCSharpRuntimeAnnotationCodeGenerator {
|
|
46
|
+
readonly __tsonic_type_Npgsql_EntityFrameworkCore_PostgreSQL_Design_Internal_NpgsqlCSharpRuntimeAnnotationCodeGenerator: never;
|
|
47
|
+
|
|
44
48
|
AddNpgsqlTypeMappingTweaks(typeMapping: CoreTypeMapping, parameters: CSharpRuntimeAnnotationCodeGeneratorParameters): void;
|
|
45
49
|
Create(typeMapping: CoreTypeMapping, parameters: CSharpRuntimeAnnotationCodeGeneratorParameters, valueComparer?: ValueComparer, keyValueComparer?: ValueComparer, providerValueComparer?: ValueComparer): boolean;
|
|
46
50
|
Generate(model: IModel, parameters: CSharpRuntimeAnnotationCodeGeneratorParameters): void;
|
|
@@ -62,6 +66,8 @@ export const NpgsqlCSharpRuntimeAnnotationCodeGenerator: {
|
|
|
62
66
|
export type NpgsqlCSharpRuntimeAnnotationCodeGenerator = NpgsqlCSharpRuntimeAnnotationCodeGenerator$instance;
|
|
63
67
|
|
|
64
68
|
export interface NpgsqlDesignTimeServices$instance {
|
|
69
|
+
readonly __tsonic_type_Npgsql_EntityFrameworkCore_PostgreSQL_Design_Internal_NpgsqlDesignTimeServices: never;
|
|
70
|
+
|
|
65
71
|
readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Design_IDesignTimeServices: never;
|
|
66
72
|
|
|
67
73
|
ConfigureDesignTimeServices(serviceCollection: IServiceCollection): void;
|
|
@@ -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;
|
|
@@ -10,13 +10,13 @@ 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
22
|
readonly __tsonic_iface_Npgsql_EntityFrameworkCore_PostgreSQL_Infrastructure_INpgsqlDataSourceConfigurationPlugin: never;
|
|
@@ -28,7 +28,9 @@ export interface INpgsqlDataSourceConfigurationPlugin$instance {
|
|
|
28
28
|
export type INpgsqlDataSourceConfigurationPlugin = INpgsqlDataSourceConfigurationPlugin$instance;
|
|
29
29
|
|
|
30
30
|
export interface EntityFrameworkNpgsqlServicesBuilder$instance extends EntityFrameworkRelationalServicesBuilder {
|
|
31
|
-
|
|
31
|
+
readonly __tsonic_type_Npgsql_EntityFrameworkCore_PostgreSQL_Infrastructure_EntityFrameworkNpgsqlServicesBuilder: never;
|
|
32
|
+
|
|
33
|
+
TryGetServiceCharacteristics(serviceType: Type): Nullable_1<ServiceCharacteristics>;
|
|
32
34
|
}
|
|
33
35
|
|
|
34
36
|
|
|
@@ -39,14 +41,16 @@ export const EntityFrameworkNpgsqlServicesBuilder: {
|
|
|
39
41
|
|
|
40
42
|
export type EntityFrameworkNpgsqlServicesBuilder = EntityFrameworkNpgsqlServicesBuilder$instance;
|
|
41
43
|
|
|
42
|
-
export interface NpgsqlDbContextOptionsBuilder$instance extends
|
|
44
|
+
export interface NpgsqlDbContextOptionsBuilder$instance extends RelationalDbContextOptionsBuilder_2<NpgsqlDbContextOptionsBuilder, NpgsqlOptionsExtension> {
|
|
45
|
+
readonly __tsonic_type_Npgsql_EntityFrameworkCore_PostgreSQL_Infrastructure_NpgsqlDbContextOptionsBuilder: never;
|
|
46
|
+
|
|
43
47
|
readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Infrastructure_IRelationalDbContextOptionsBuilderInfrastructure: never;
|
|
44
48
|
|
|
45
|
-
ConfigureDataSource(dataSourceBuilderAction:
|
|
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,17 +10,17 @@ 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
26
|
readonly __tsonic_iface_Npgsql_EntityFrameworkCore_PostgreSQL_Infrastructure_Internal_INpgsqlSingletonOptions: never;
|
|
@@ -29,8 +29,8 @@ export interface INpgsqlSingletonOptions$instance extends ISingletonOptions {
|
|
|
29
29
|
readonly IsPostgresVersionSet: boolean;
|
|
30
30
|
readonly UseRedshift: boolean;
|
|
31
31
|
readonly ReverseNullOrderingEnabled: boolean;
|
|
32
|
-
readonly EnumDefinitions:
|
|
33
|
-
readonly UserRangeDefinitions:
|
|
32
|
+
readonly EnumDefinitions: IReadOnlyList_1<EnumDefinition>;
|
|
33
|
+
readonly UserRangeDefinitions: IReadOnlyList_1<UserRangeDefinition>;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
|
|
@@ -39,10 +39,12 @@ export interface INpgsqlSingletonOptions$instance extends Microsoft_EntityFramew
|
|
|
39
39
|
export type INpgsqlSingletonOptions = INpgsqlSingletonOptions$instance;
|
|
40
40
|
|
|
41
41
|
export interface EnumDefinition$instance {
|
|
42
|
+
readonly __tsonic_type_Npgsql_EntityFrameworkCore_PostgreSQL_Infrastructure_Internal_EnumDefinition: never;
|
|
43
|
+
|
|
42
44
|
readonly __tsonic_iface_System_IEquatable_1: never;
|
|
43
45
|
|
|
44
46
|
readonly ClrType: Type;
|
|
45
|
-
readonly Labels:
|
|
47
|
+
readonly Labels: IReadOnlyDictionary_2<unknown, System_Internal.String>;
|
|
46
48
|
readonly NameTranslator: INpgsqlNameTranslator;
|
|
47
49
|
readonly StoreTypeName: string;
|
|
48
50
|
readonly StoreTypeSchema: string | undefined;
|
|
@@ -60,15 +62,17 @@ export const EnumDefinition: {
|
|
|
60
62
|
export type EnumDefinition = EnumDefinition$instance;
|
|
61
63
|
|
|
62
64
|
export interface NpgsqlModelValidator$instance extends RelationalModelValidator {
|
|
65
|
+
readonly __tsonic_type_Npgsql_EntityFrameworkCore_PostgreSQL_Infrastructure_Internal_NpgsqlModelValidator: never;
|
|
66
|
+
|
|
63
67
|
readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Infrastructure_IModelValidator: never;
|
|
64
68
|
|
|
65
|
-
Validate(model: IModel, logger:
|
|
66
|
-
ValidateCompatible(property: IProperty, duplicateProperty: IProperty, columnName: string, storeObject: StoreObjectIdentifier, logger:
|
|
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;
|
|
67
71
|
ValidateIdentityVersionCompatibility(model: IModel): void;
|
|
68
72
|
ValidateIndexIncludeProperties(model: IModel): void;
|
|
69
|
-
ValidateStoredProcedures(model: IModel, logger:
|
|
70
|
-
ValidateTypeMappings(model: IModel, logger:
|
|
71
|
-
ValidateValueGeneration(entityType: IEntityType, key: IKey, logger:
|
|
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;
|
|
72
76
|
}
|
|
73
77
|
|
|
74
78
|
|
|
@@ -80,18 +84,20 @@ export const NpgsqlModelValidator: {
|
|
|
80
84
|
export type NpgsqlModelValidator = NpgsqlModelValidator$instance;
|
|
81
85
|
|
|
82
86
|
export interface NpgsqlOptionsExtension$instance extends RelationalOptionsExtension {
|
|
87
|
+
readonly __tsonic_type_Npgsql_EntityFrameworkCore_PostgreSQL_Infrastructure_Internal_NpgsqlOptionsExtension: never;
|
|
88
|
+
|
|
83
89
|
readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Infrastructure_IDbContextOptionsExtension: never;
|
|
84
90
|
|
|
85
91
|
get AdminDatabase(): string | undefined;
|
|
86
92
|
set AdminDatabase(value: string | undefined);
|
|
87
93
|
get DataSource(): DbDataSource | undefined;
|
|
88
94
|
set DataSource(value: DbDataSource | undefined);
|
|
89
|
-
get DataSourceBuilderAction():
|
|
90
|
-
set DataSourceBuilderAction(value:
|
|
91
|
-
readonly EnumDefinitions:
|
|
95
|
+
get DataSourceBuilderAction(): Action_1<NpgsqlDataSourceBuilder> | undefined;
|
|
96
|
+
set DataSourceBuilderAction(value: Action_1<NpgsqlDataSourceBuilder> | undefined);
|
|
97
|
+
readonly EnumDefinitions: IReadOnlyList_1<EnumDefinition>;
|
|
92
98
|
readonly Info: DbContextOptionsExtensionInfo;
|
|
93
99
|
readonly IsPostgresVersionSet: boolean;
|
|
94
|
-
readonly MinBatchSize:
|
|
100
|
+
readonly MinBatchSize: Nullable_1<System_Internal.Int32>;
|
|
95
101
|
readonly ParameterizedCollectionMode: ParameterTranslationMode;
|
|
96
102
|
readonly PostgresVersion: Version;
|
|
97
103
|
get ProvideClientCertificatesCallback(): ProvideClientCertificatesCallback | undefined;
|
|
@@ -102,7 +108,7 @@ export interface NpgsqlOptionsExtension$instance extends RelationalOptionsExtens
|
|
|
102
108
|
set RemoteCertificateValidationCallback(value: RemoteCertificateValidationCallback | undefined);
|
|
103
109
|
ReverseNullOrdering: boolean;
|
|
104
110
|
UseRedshift: boolean;
|
|
105
|
-
readonly UserRangeDefinitions:
|
|
111
|
+
readonly UserRangeDefinitions: IReadOnlyList_1<UserRangeDefinition>;
|
|
106
112
|
ApplyServices(services: IServiceCollection): void;
|
|
107
113
|
Clone(): RelationalOptionsExtension;
|
|
108
114
|
Validate(options: IDbContextOptions): void;
|
|
@@ -110,7 +116,7 @@ export interface NpgsqlOptionsExtension$instance extends RelationalOptionsExtens
|
|
|
110
116
|
WithConnection(connection: DbConnection): RelationalOptionsExtension;
|
|
111
117
|
WithConnectionString(connectionString: string): RelationalOptionsExtension;
|
|
112
118
|
WithDataSource(dataSource: DbDataSource): RelationalOptionsExtension;
|
|
113
|
-
WithDataSourceConfiguration(dataSourceBuilderAction:
|
|
119
|
+
WithDataSourceConfiguration(dataSourceBuilderAction: Action_1<NpgsqlDataSourceBuilder>): NpgsqlOptionsExtension;
|
|
114
120
|
WithEnumMapping(clrType: Type, enumName: string, schemaName: string, nameTranslator: INpgsqlNameTranslator): NpgsqlOptionsExtension;
|
|
115
121
|
WithPostgresVersion(postgresVersion: Version): NpgsqlOptionsExtension;
|
|
116
122
|
WithProvideClientCertificatesCallback(callback: ProvideClientCertificatesCallback): NpgsqlOptionsExtension;
|
|
@@ -133,6 +139,8 @@ export const NpgsqlOptionsExtension: {
|
|
|
133
139
|
export type NpgsqlOptionsExtension = NpgsqlOptionsExtension$instance;
|
|
134
140
|
|
|
135
141
|
export interface UserRangeDefinition$instance {
|
|
142
|
+
readonly __tsonic_type_Npgsql_EntityFrameworkCore_PostgreSQL_Infrastructure_Internal_UserRangeDefinition: never;
|
|
143
|
+
|
|
136
144
|
readonly __tsonic_iface_System_IEquatable_1: never;
|
|
137
145
|
|
|
138
146
|
readonly StoreTypeName: string;
|
|
@@ -8,24 +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
|
+
readonly __tsonic_type_Npgsql_EntityFrameworkCore_PostgreSQL_Internal_NpgsqlSingletonOptions: never;
|
|
21
|
+
|
|
20
22
|
readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Infrastructure_ISingletonOptions: never;
|
|
21
23
|
readonly __tsonic_iface_Npgsql_EntityFrameworkCore_PostgreSQL_Infrastructure_Internal_INpgsqlSingletonOptions: never;
|
|
22
24
|
|
|
23
|
-
EnumDefinitions:
|
|
25
|
+
EnumDefinitions: IReadOnlyList_1<EnumDefinition>;
|
|
24
26
|
IsPostgresVersionSet: boolean;
|
|
25
27
|
PostgresVersion: Version;
|
|
26
28
|
ReverseNullOrderingEnabled: boolean;
|
|
27
29
|
UseRedshift: boolean;
|
|
28
|
-
UserRangeDefinitions:
|
|
30
|
+
UserRangeDefinitions: IReadOnlyList_1<UserRangeDefinition>;
|
|
29
31
|
Initialize(options: IDbContextOptions): void;
|
|
30
32
|
Validate(options: IDbContextOptions): void;
|
|
31
33
|
}
|
|
@@ -44,38 +46,38 @@ export type NpgsqlSingletonOptions = NpgsqlSingletonOptions$instance & __NpgsqlS
|
|
|
44
46
|
|
|
45
47
|
|
|
46
48
|
export abstract class NpgsqlLoggerExtensions$instance {
|
|
47
|
-
static CollationFound(diagnostics:
|
|
48
|
-
static ColumnFound(diagnostics:
|
|
49
|
-
static EnumColumnSkippedWarning(diagnostics:
|
|
50
|
-
static ExpressionIndexSkippedWarning(diagnostics:
|
|
51
|
-
static ForeignKeyReferencesMissingPrincipalTableWarning(diagnostics:
|
|
52
|
-
static MissingSchemaWarning(diagnostics:
|
|
53
|
-
static MissingTableWarning(diagnostics:
|
|
54
|
-
static UniqueConstraintFound(diagnostics:
|
|
55
|
-
static UnsupportedColumnConstraintSkippedWarning(diagnostics:
|
|
56
|
-
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;
|
|
57
59
|
}
|
|
58
60
|
|
|
59
61
|
|
|
60
62
|
export type NpgsqlLoggerExtensions = NpgsqlLoggerExtensions$instance;
|
|
61
63
|
|
|
62
64
|
export abstract class NpgsqlResources$instance {
|
|
63
|
-
static LogEnumColumnSkipped(logger: IDiagnosticsLogger):
|
|
64
|
-
static LogExpressionIndexSkipped(logger: IDiagnosticsLogger):
|
|
65
|
-
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>;
|
|
66
68
|
static LogFoundColumn(logger: IDiagnosticsLogger): FallbackEventDefinition;
|
|
67
|
-
static LogFoundForeignKey(logger: IDiagnosticsLogger):
|
|
68
|
-
static LogFoundIndex(logger: IDiagnosticsLogger):
|
|
69
|
-
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>;
|
|
70
72
|
static LogFoundSequence(logger: IDiagnosticsLogger): FallbackEventDefinition;
|
|
71
|
-
static LogFoundTable(logger: IDiagnosticsLogger):
|
|
72
|
-
static LogFoundUniqueConstraint(logger: IDiagnosticsLogger):
|
|
73
|
-
static LogMissingSchema(logger: IDiagnosticsLogger):
|
|
74
|
-
static LogMissingTable(logger: IDiagnosticsLogger):
|
|
75
|
-
static LogPrincipalColumnNotFound(logger: IDiagnosticsLogger):
|
|
76
|
-
static LogPrincipalTableNotInSelectionSet(logger: IDiagnosticsLogger):
|
|
77
|
-
static LogUnsupportedColumnConstraintSkipped(logger: IDiagnosticsLogger):
|
|
78
|
-
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>;
|
|
79
81
|
}
|
|
80
82
|
|
|
81
83
|
|
|
@@ -6,11 +6,11 @@
|
|
|
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, Enum, IComparable, IConvertible, IFormattable, Int32, ISpanFormattable,
|
|
12
|
-
import type { Annotatable, IReadOnlyAnnotatable } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Infrastructure.js";
|
|
13
|
-
import type { IConventionAnnotatable, IMutableAnnotatable } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Metadata.js";
|
|
9
|
+
import type { IEnumerable_1, IReadOnlyList_1, List_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, Enum, IComparable, IConvertible, IFormattable, Int32, ISpanFormattable, Nullable_1, Object as ClrObject, String as ClrString } from "@tsonic/dotnet/System/internal/index.js";
|
|
12
|
+
import type { Annotatable, IReadOnlyAnnotatable } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Infrastructure/internal/index.js";
|
|
13
|
+
import type { IConventionAnnotatable, IMutableAnnotatable } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Metadata/internal/index.js";
|
|
14
14
|
|
|
15
15
|
export enum NpgsqlValueGenerationStrategy {
|
|
16
16
|
None = 0,
|
|
@@ -36,8 +36,10 @@ export enum SortOrder {
|
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
export interface CockroachDbInterleaveInParent$instance {
|
|
39
|
+
readonly __tsonic_type_Npgsql_EntityFrameworkCore_PostgreSQL_Metadata_CockroachDbInterleaveInParent: never;
|
|
40
|
+
|
|
39
41
|
readonly Annotatable: Annotatable;
|
|
40
|
-
InterleavePrefix:
|
|
42
|
+
InterleavePrefix: List_1<System_Internal.String>;
|
|
41
43
|
ParentTableName: string;
|
|
42
44
|
get ParentTableSchema(): string | undefined;
|
|
43
45
|
set ParentTableSchema(value: string | undefined);
|
|
@@ -52,8 +54,10 @@ export const CockroachDbInterleaveInParent: {
|
|
|
52
54
|
export type CockroachDbInterleaveInParent = CockroachDbInterleaveInParent$instance;
|
|
53
55
|
|
|
54
56
|
export interface PostgresCollation$instance {
|
|
57
|
+
readonly __tsonic_type_Npgsql_EntityFrameworkCore_PostgreSQL_Metadata_PostgresCollation: never;
|
|
58
|
+
|
|
55
59
|
readonly Annotatable: Annotatable;
|
|
56
|
-
IsDeterministic:
|
|
60
|
+
IsDeterministic: Nullable_1<System_Internal.Boolean>;
|
|
57
61
|
LcCollate: string;
|
|
58
62
|
LcCtype: string;
|
|
59
63
|
readonly Name: string;
|
|
@@ -65,16 +69,18 @@ export interface PostgresCollation$instance {
|
|
|
65
69
|
|
|
66
70
|
export const PostgresCollation: {
|
|
67
71
|
FindCollation(annotatable: IReadOnlyAnnotatable, schema: string, name: string): PostgresCollation | undefined;
|
|
68
|
-
GetCollations(annotatable: IReadOnlyAnnotatable):
|
|
69
|
-
GetOrAddCollation(annotatable: IMutableAnnotatable, schema: string, name: string, lcCollate: string, lcCtype: string, provider?: string, deterministic?:
|
|
72
|
+
GetCollations(annotatable: IReadOnlyAnnotatable): IEnumerable_1<PostgresCollation>;
|
|
73
|
+
GetOrAddCollation(annotatable: IMutableAnnotatable, schema: string, name: string, lcCollate: string, lcCtype: string, provider?: string, deterministic?: Nullable_1<System_Internal.Boolean>): PostgresCollation;
|
|
70
74
|
};
|
|
71
75
|
|
|
72
76
|
|
|
73
77
|
export type PostgresCollation = PostgresCollation$instance;
|
|
74
78
|
|
|
75
79
|
export interface PostgresEnum$instance {
|
|
80
|
+
readonly __tsonic_type_Npgsql_EntityFrameworkCore_PostgreSQL_Metadata_PostgresEnum: never;
|
|
81
|
+
|
|
76
82
|
readonly Annotatable: Annotatable;
|
|
77
|
-
Labels:
|
|
83
|
+
Labels: IReadOnlyList_1<System_Internal.String>;
|
|
78
84
|
readonly Name: string;
|
|
79
85
|
readonly Schema: string | undefined;
|
|
80
86
|
}
|
|
@@ -85,13 +91,15 @@ export const PostgresEnum: {
|
|
|
85
91
|
GetOrAddPostgresEnum(annotatable: IConventionAnnotatable, schema: string, name: string, labels: string[]): PostgresEnum;
|
|
86
92
|
GetOrAddPostgresEnum(annotatable: IMutableAnnotatable, schema: string, name: string, labels: string[]): PostgresEnum;
|
|
87
93
|
GetOrAddPostgresEnum(annotatable: IMutableAnnotatable, name: string, labels: string[]): PostgresEnum;
|
|
88
|
-
GetPostgresEnums(annotatable: IReadOnlyAnnotatable):
|
|
94
|
+
GetPostgresEnums(annotatable: IReadOnlyAnnotatable): IEnumerable_1<PostgresEnum>;
|
|
89
95
|
};
|
|
90
96
|
|
|
91
97
|
|
|
92
98
|
export type PostgresEnum = PostgresEnum$instance;
|
|
93
99
|
|
|
94
100
|
export interface PostgresExtension$instance {
|
|
101
|
+
readonly __tsonic_type_Npgsql_EntityFrameworkCore_PostgreSQL_Metadata_PostgresExtension: never;
|
|
102
|
+
|
|
95
103
|
readonly Annotatable: Annotatable;
|
|
96
104
|
readonly Name: string;
|
|
97
105
|
readonly Schema: string | undefined;
|
|
@@ -105,13 +113,15 @@ export const PostgresExtension: {
|
|
|
105
113
|
GetOrAddPostgresExtension(annotatable: IConventionAnnotatable, schema: string, name: string, version: string): PostgresExtension;
|
|
106
114
|
GetOrAddPostgresExtension(annotatable: IMutableAnnotatable, schema: string, name: string, version: string): PostgresExtension;
|
|
107
115
|
GetOrAddPostgresExtension(annotatable: IMutableAnnotatable, name: string, version: string): PostgresExtension;
|
|
108
|
-
GetPostgresExtensions(annotatable: IReadOnlyAnnotatable):
|
|
116
|
+
GetPostgresExtensions(annotatable: IReadOnlyAnnotatable): IEnumerable_1<PostgresExtension>;
|
|
109
117
|
};
|
|
110
118
|
|
|
111
119
|
|
|
112
120
|
export type PostgresExtension = PostgresExtension$instance;
|
|
113
121
|
|
|
114
122
|
export interface PostgresRange$instance {
|
|
123
|
+
readonly __tsonic_type_Npgsql_EntityFrameworkCore_PostgreSQL_Metadata_PostgresRange: never;
|
|
124
|
+
|
|
115
125
|
readonly Annotatable: Annotatable;
|
|
116
126
|
get CanonicalFunction(): string | undefined;
|
|
117
127
|
set CanonicalFunction(value: string | undefined);
|
|
@@ -130,7 +140,7 @@ export interface PostgresRange$instance {
|
|
|
130
140
|
export const PostgresRange: {
|
|
131
141
|
FindPostgresRange(annotatable: IReadOnlyAnnotatable, schema: string, name: string): PostgresRange | undefined;
|
|
132
142
|
GetOrAddPostgresRange(annotatable: IMutableAnnotatable, schema: string, name: string, subtype: string, canonicalFunction?: string, subtypeOpClass?: string, collation?: string, subtypeDiff?: string): PostgresRange;
|
|
133
|
-
GetPostgresRanges(annotatable: IReadOnlyAnnotatable):
|
|
143
|
+
GetPostgresRanges(annotatable: IReadOnlyAnnotatable): IEnumerable_1<PostgresRange>;
|
|
134
144
|
};
|
|
135
145
|
|
|
136
146
|
|
|
@@ -138,7 +148,7 @@ export type PostgresRange = PostgresRange$instance;
|
|
|
138
148
|
|
|
139
149
|
export abstract class NpgsqlValueGenerationStrategyExtensions$instance {
|
|
140
150
|
static IsIdentity(strategy: NpgsqlValueGenerationStrategy): boolean;
|
|
141
|
-
static IsIdentity(strategy:
|
|
151
|
+
static IsIdentity(strategy: Nullable_1<NpgsqlValueGenerationStrategy>): boolean;
|
|
142
152
|
}
|
|
143
153
|
|
|
144
154
|
|