Skip to main content
Version: 0.3.x (0.3.0)

Enum ValueObjectPatternDialect

Namespace: AdCodicem.ValueObjects.EntityFrameworkCore
Assembly: AdCodicem.ValueObjects.EntityFrameworkCore.dll

The regular expressions of the database a pattern is written for as a CHECK constraint, which the model cannot tell.

public enum ValueObjectPatternDialect

Fields​

None = 0

No pattern is written.

SqlServer2025 = 1

SQL Server 2025, which checks a pattern with REGEXP_LIKE in a database at compatibility level 170: an earlier server, or a database at an earlier level, refuses the constraint.

PostgreSql = 2

PostgreSQL, which checks a pattern with its ~ operator, under the C collation.