Interface INeosCheckConstraint
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
Name
Gets or sets the name.
string Name { get; set; }
Property Value
OracleExpression
Gets or sets the Oracle expression of the constraint.
string? OracleExpression { get; set; }
Property Value
PostgreSqlExpression
Gets or sets the PostgreSQL expression of the constraint.
string? PostgreSqlExpression { get; set; }
Property Value
SqlServerExpression
Gets or sets the SQL Server expression of the constraint.
string? SqlServerExpression { get; set; }
Property Value
TableName
Gets or sets the name of the table.
string TableName { get; set; }
Property Value
Methods
GetExpression(DatabaseType)
Gets the expression for the targeted database type.
string GetExpression(DatabaseType databaseType)
Parameters
databaseTypeDatabaseTypeDatabase type.
Returns
- string
The targeted expression.