Table of Contents

Interface INeosCheckConstraint

Namespace
GroupeIsa.Neos.Migration.Schema
Assembly
GroupeIsa.Neos.Migration.Abstractions.dll

Provides the functionelities of a check constraint.

public interface INeosCheckConstraint : IEquatable<INeosCheckConstraint>
Inherited Members

Properties

ColumnName

Gets or sets the column name on which the constraint is applied.

string ColumnName { get; set; }

Property Value

string

Name

Gets or sets the name.

string Name { get; set; }

Property Value

string

OracleExpression

Gets or sets the Oracle expression of the constraint.

string? OracleExpression { get; set; }

Property Value

string

PostgreSqlExpression

Gets or sets the PostgreSQL expression of the constraint.

string? PostgreSqlExpression { get; set; }

Property Value

string

SqlServerExpression

Gets or sets the SQL Server expression of the constraint.

string? SqlServerExpression { get; set; }

Property Value

string

TableName

Gets or sets the name of the table.

string TableName { get; set; }

Property Value

string

Methods

GetExpression(DatabaseType)

Gets the expression for the targeted database type.

string GetExpression(DatabaseType databaseType)

Parameters

databaseType DatabaseType

Database type.

Returns

string

The targeted expression.