Type constraint facets that may be applied to a structural property or type definition to further restrict the value space of its type.
Not all facets are valid for every primitive type. The spec defines applicability per type; enforcement is the responsibility of the implementing layer, not this interface.
All facets are optional in CSDL. Methods return null when the facet is absent, meaning the type's own default applies.
| Methods | ||
|---|---|---|
public
|
isNullable(): bool
|
# |
public
|
getMaxLength(): ?int
|
# |
public
|
getPrecision(): ?int
|
# |
public
|
getScale(): ?int
|
# |
public
|
isUnicode(): ?bool
|
# |
public
|
getSrid(): ?int
|
# |