Contains a field value and related metadata. More...
Public Member Functions | |
| FieldData () | |
| Creates a new instance of the object. More... | |
| FieldData (string name) | |
| Creates a new instance of the object. More... | |
| virtual void | MarkClean () |
| Marks the field as unchanged. More... | |
Properties | |
| string | Name [get] |
| Gets the name of the field. More... | |
| virtual T | Value [getset] |
| Gets or sets the value of the field. More... | |
| virtual bool | IsSelfDirty [get] |
| Gets a value indicating whether the field has been changed. More... | |
| virtual bool | IsDirty [get] |
| Gets a value indicating whether the field has been changed. More... | |
| virtual bool | IsValid [get] |
| Gets a value indicating whether this field is considered valid. More... | |
| bool | IsBusy [get] |
| Gets a value indicating whether this object or any of its child objects are busy. More... | |
| EventHandler< ErrorEventArgs > | UnhandledAsyncException |
| Event indicating that an exception occurred on a background thread. More... | |
Properties inherited from Csla.Core.FieldManager.IFieldData< T > | |
| string | Name [get] |
| Gets the name of the field. More... | |
| object | Value [getset] |
| Gets or sets the field value. More... | |
| new T | Value [getset] |
| Gets or sets the field value. More... | |
Properties inherited from Csla.Core.ITrackStatus | |
| bool | IsValid [get] |
| Returns true if the object and its child objects are currently valid, false if the object or any of its child objects have broken rules or are otherwise invalid. More... | |
| bool | IsSelfValid [get] |
| Returns true if the object is currently valid, false if the object has broken rules or is otherwise invalid. More... | |
| bool | IsDirty [get] |
| Returns true if this object's data, or any of its fields or child objects data, has been changed. More... | |
| bool | IsSelfDirty [get] |
| Returns true if this object's data has been changed. More... | |
| bool | IsDeleted [get] |
| Returns true if this object is marked for deletion. More... | |
| bool | IsNew [get] |
| Returns true if this is a new object, false if it is a pre-existing object. More... | |
| bool | IsSavable [get] |
| Returns true if this object is both dirty and valid. More... | |
| bool | IsChild [get] |
| Returns true if this is a child object, false if it is a root object. More... | |
Properties inherited from Csla.Core.INotifyBusy | |
| bool | IsBusy [get] |
| Gets a value indicating whether the object, or any of the object's child objects, are busy running an asynchronous operation. More... | |
| bool | IsSelfBusy [get] |
| Gets a value indicating whether the object is busy running an asynchronous operation. More... | |
Additional Inherited Members | |
Events inherited from Csla.Core.INotifyBusy | |
| BusyChangedEventHandler | BusyChanged |
| Event raised when the object's busy status changes. More... | |
Events inherited from Csla.Core.INotifyUnhandledAsyncException | |
| EventHandler< ErrorEventArgs > | UnhandledAsyncException |
| Event indicating that an exception occurred during an asynchronous operation. More... | |
Contains a field value and related metadata.
| T | Type of field value contained. |
Definition at line 20 of file FieldData.cs.
Creates a new instance of the object.
Definition at line 31 of file FieldData.cs.
| Csla.Core.FieldManager.FieldData< T >.FieldData | ( | string | name | ) |
Creates a new instance of the object.
| name | Name of the field. |
Definition at line 39 of file FieldData.cs.
|
virtual |
Marks the field as unchanged.
Implements Csla.Core.FieldManager.IFieldData< T >.
Definition at line 134 of file FieldData.cs.
|
get |
Gets a value indicating whether this object or any of its child objects are busy.
Definition at line 188 of file FieldData.cs.
|
get |
Gets a value indicating whether the field has been changed.
Definition at line 120 of file FieldData.cs.
|
get |
Gets a value indicating whether the field has been changed.
Definition at line 111 of file FieldData.cs.
|
getprotected |
Gets a value indicating whether this field is considered valid.
Definition at line 164 of file FieldData.cs.
|
get |
Gets the name of the field.
Definition at line 47 of file FieldData.cs.
|
addremove |
Event indicating that an exception occurred on a background thread.
Definition at line 223 of file FieldData.cs.
|
getset |
Gets or sets the value of the field.
Definition at line 52 of file FieldData.cs.