Product Documentation

c-treeDB API for C# - Developers Guide

Previous Topic

Next Topic

CTField.GetNullFlag

Syntax

bool GetNullFlag( )

Parameters

This method has no parameters.

Description

Retrieves the field null flag.

The c-treeDB null flag controls the NOT NULL property of a column. Setting this column has no effect on individual record null values: it is NOT enforced at the c-treeDB layer. This attribute only applies to the FairCom DB SQL layer for constraint on values. It is useful to set this flag in c-tree data files before SQL import such that the property is maintained.

Return

GetNullFlag() returns the field null flag setting.

See Also

SetNullFlag()

TOCIndex