Skip to content

PostgreSqlGeneratorOptions Constructors ​

Definition ​

  • Namespace: JASE.Database
  • Assembly: JASE.Database.dll

Overloads ​

NameDescription
PostgreSqlGeneratorOptions()Initializes a new instance of the PostgreSqlGeneratorOptions class using the default maximum VARCHAR length.
PostgreSqlGeneratorOptions(int maxVarchar)Initializes a new instance of the PostgreSqlGeneratorOptions class with a custom maximum VARCHAR length.

PostgreSqlGeneratorOptions() ​

csharp
PostgreSqlGeneratorOptions()

Initializes a new instance of the PostgreSqlGeneratorOptions class using the default maximum VARCHAR length.

Remarks ​

The default maximum length is set to PostgreSQL’s practical VARCHAR limit.

PostgreSqlGeneratorOptions(int maxVarchar) ​

csharp
PostgreSqlGeneratorOptions(int maxVarchar)

Initializes a new instance of the PostgreSqlGeneratorOptions class with a custom maximum VARCHAR length.

Parameters ​

NameDescription
maxVarcharThe maximum length to use for generated VARCHAR columns.