Entity Support for Rich Client Frameworks
LightSpeed support several features which make delivering rich client applications easy and fast. By using LightSpeed your entities automatically get:
· INotifyPropertyChanged support.
All LightSpeed entities implement the INotifyPropertyChanged interface and all properties will notify when changed. This means that when data binding to LightSpeed entities the UI will update automatically when changes are made.
· IDataErrorInfo support.
All entities implement the IDataErrorInfo interface. This is a core .NET Framework interface that provides the functionality to offer custom error information that a user interface can bind to. This means that by using the built in LightSpeed validation capabilities your UI can display validation error automatically if desired.
· IEditableObject support.
All entities implement the IEditableObject interface. This is a core .NET Framework interface that provides functionality to commit or rollback changes to an object that is being used as a data source. IEditableObject is also applied to the EntityCollection type which contains associated entities.
All of this support is built into LightSpeed and does not require the developer to do anything special to get these benefits.