Table of Contents

Method CreateCheckConstraint

Namespace
YndigoBlue.Velocity.Model
Assembly
YndigoBlue.Velocity.dll

CreateCheckConstraint(string, IEnumerable<ICheckItem>)

Creates a CHECK constraint defined by a collection of check items.

public Check CreateCheckConstraint(string name, IEnumerable<ICheckItem> checkItems)

Parameters

name string

The constraint name.

checkItems IEnumerable<ICheckItem>

The check expression items that define the constraint condition.

Returns

Check

The newly created Check.

CreateCheckConstraint(string, ICheckItem[])

Creates a CHECK constraint defined by an array of check items.

public Check CreateCheckConstraint(string name, ICheckItem[] checkItems)

Parameters

name string

The constraint name.

checkItems ICheckItem[]

The check expression items that define the constraint condition.

Returns

Check

The newly created Check.

CreateCheckConstraint(string, ICheckItem)

Creates a CHECK constraint defined by a single check item.

public Check CreateCheckConstraint(string name, ICheckItem checkItem)

Parameters

name string

The constraint name.

checkItem ICheckItem

The check expression item that defines the constraint condition.

Returns

Check

The newly created Check.