Contains schema information for a single object property. More...
Public Member Functions | |
ObjectFieldInfo (PropertyDescriptor field) | |
Creates an instance of the object. More... | |
Properties | |
Type | DataType [get] |
Gets the data type of the property. More... | |
bool | Identity [get] |
Gets a value indicating whether this property is an identity key for the object. More... | |
bool | IsReadOnly [get] |
Gets a value indicating whether this property is readonly. More... | |
bool | IsUnique [get] |
Gets a value indicating whether this property must contain a unique value. More... | |
int | Length [get] |
Gets the length of the property value. More... | |
string | Name [get] |
Gets the property name. More... | |
bool | Nullable [get] |
Gets a value indicating whether the property is nullable More... | |
int | Precision [get] |
Gets the property's numeric precision. More... | |
bool | PrimaryKey [get] |
Gets a value indicating whether the property is a primary key value. More... | |
int | Scale [get] |
Gets the property's scale. More... | |
Contains schema information for a single object property.
Definition at line 19 of file ObjectFieldInfo.cs.
Csla.Web.Design.ObjectFieldInfo.ObjectFieldInfo | ( | PropertyDescriptor | field | ) |
Creates an instance of the object.
field | The PropertyInfo object describing the property. |
Definition at line 35 of file ObjectFieldInfo.cs.
|
get |
Gets the data type of the property.
Definition at line 68 of file ObjectFieldInfo.cs.
|
get |
Gets a value indicating whether this property is an identity key for the object.
Returns the optional value provided through the DataObjectField attribute on the property.
Definition at line 85 of file ObjectFieldInfo.cs.
|
get |
Gets a value indicating whether this property is readonly.
Definition at line 94 of file ObjectFieldInfo.cs.
|
get |
Gets a value indicating whether this property must contain a unique value.
Definition at line 108 of file ObjectFieldInfo.cs.
|
get |
Gets the length of the property value.
Returns the optional value provided through the DataObjectField attribute on the property.
Definition at line 121 of file ObjectFieldInfo.cs.
|
get |
Gets the property name.
Definition at line 129 of file ObjectFieldInfo.cs.
|
get |
Gets a value indicating whether the property is nullable
Returns True for reference types, and for value types wrapped in the Nullable generic. The result can also be set to True through the DataObjectField attribute on the property.
Definition at line 145 of file ObjectFieldInfo.cs.
|
get |
Gets the property's numeric precision.
Definition at line 155 of file ObjectFieldInfo.cs.
|
get |
Gets a value indicating whether the property is a primary key value.
Returns the optional value provided through the DataObjectField attribute on the property.
Definition at line 169 of file ObjectFieldInfo.cs.
|
get |
Gets the property's scale.
Definition at line 178 of file ObjectFieldInfo.cs.