Table of Contents

Interface INullable

Namespace
TimeCockpit.Data.DataModel
Assembly
TimeCockpit.Data.dll

The INullable interface is used to determine whether or not an instance of an EntityObject allows having a NULL value.

public interface INullable

Remarks

Some ModelElements (e.g. ModelProperty or Relation) can be marked as nullable. The metainformation about if a Relation or a ModelProperty can be null determines if a relation or property on an EntityObject can be null or not. The information if a property or relation can be null is also persisted in the metainformation of the underlying database.

Properties

IsNullable

Gets or sets a value indicating whether either Relation or ModelProperty can be null or not.

bool IsNullable { get; set; }

Property Value

Boolean

true if a Relation or ModelProperty can be null; otherwise, false.