Specifies that the object can save itself. More...
Public Member Functions | |
| object | Save () |
| Saves the object to the database. More... | |
| object | Save (bool forceUpdate) |
| Saves the object to the database. More... | |
| Task< object > | SaveAsync () |
| Saves the object to the database. More... | |
| Task< object > | SaveAsync (bool forceUpdate) |
| Saves the object to the database. More... | |
| Task | SaveAndMergeAsync () |
| Saves the object to the database, merging the result into the original object graph More... | |
| Task | SaveAndMergeAsync (bool forceUpdate) |
| Saves the object to the database, merging the result into the original object graph More... | |
| void | BeginSave () |
| Saves the object to the database asynchronously. More... | |
| void | BeginSave (object userState) |
| Saves the object to the database asynchronously. More... | |
| void | SaveComplete (object newObject) |
| INTERNAL CSLA .NET USE ONLY. More... | |
| T | Save () |
| Saves the object to the database. More... | |
| T | Save (bool forceUpdate) |
| Saves the object to the database. More... | |
| Task< T > | SaveAsync () |
| Saves the object to the database. More... | |
| Task< T > | SaveAsync (bool forceUpdate) |
| Saves the object to the database. More... | |
| Task | SaveAndMergeAsync () |
| Saves the object to the database, merging the result into the original object graph More... | |
| Task | SaveAndMergeAsync (bool forceUpdate) |
| Saves the object to the database, merging the result into the original object graph More... | |
| void | BeginSave () |
| Saves the object to the database asynchronously. More... | |
| void | BeginSave (object userState) |
| Saves the object to the database asynchronously. More... | |
| void | SaveComplete (T newObject) |
| INTERNAL CSLA .NET USE ONLY. More... | |
Events | |
| EventHandler< SavedEventArgs > | Saved |
| Event raised when an object has been saved. More... | |
Specifies that the object can save itself.
| T | : | class |
Definition at line 18 of file ISavableT.cs.
| void Csla.Core.ISavable< T >.BeginSave | ( | ) |
Saves the object to the database asynchronously.
The saved event will contain the new object when the save operation completes.
Implemented in Csla.BusinessBase< T >, Csla.BusinessBindingListBase< T, C >, and Csla.BusinessListBase< T, C >.
| void Csla.Core.ISavable< T >.BeginSave | ( | ) |
Saves the object to the database asynchronously.
The saved event will contain the new object when the save operation completes.
Implemented in Csla.BusinessBase< T >, Csla.BusinessBindingListBase< T, C >, and Csla.BusinessListBase< T, C >.
| void Csla.Core.ISavable< T >.BeginSave | ( | object | userState | ) |
Saves the object to the database asynchronously.
The saved event will contain the new object when the save operation completes.
| userState | User state object. |
Implemented in Csla.BusinessBase< T >, Csla.BusinessBindingListBase< T, C >, and Csla.BusinessListBase< T, C >.
| void Csla.Core.ISavable< T >.BeginSave | ( | object | userState | ) |
Saves the object to the database asynchronously.
The saved event will contain the new object when the save operation completes.
| userState | User state object. |
Implemented in Csla.BusinessBase< T >, Csla.BusinessBindingListBase< T, C >, and Csla.BusinessListBase< T, C >.
| object Csla.Core.ISavable< T >.Save | ( | ) |
Saves the object to the database.
Implemented in Csla.BusinessBase< T >, Csla.BusinessBindingListBase< T, C >, and Csla.BusinessListBase< T, C >.
| T Csla.Core.ISavable< T >.Save | ( | ) |
Saves the object to the database.
Implemented in Csla.BusinessBase< T >, Csla.BusinessBindingListBase< T, C >, and Csla.BusinessListBase< T, C >.
| object Csla.Core.ISavable< T >.Save | ( | bool | forceUpdate | ) |
Saves the object to the database.
| forceUpdate | true to force the save to be an update. |
Implemented in Csla.BusinessBase< T >.
| T Csla.Core.ISavable< T >.Save | ( | bool | forceUpdate | ) |
Saves the object to the database.
| forceUpdate | true to force the save to be an update. |
Implemented in Csla.BusinessBase< T >.
| Task Csla.Core.ISavable< T >.SaveAndMergeAsync | ( | ) |
Saves the object to the database, merging the result into the original object graph
Implemented in Csla.BusinessBase< T >, Csla.BusinessBindingListBase< T, C >, and Csla.BusinessListBase< T, C >.
| Task Csla.Core.ISavable< T >.SaveAndMergeAsync | ( | ) |
Saves the object to the database, merging the result into the original object graph
Implemented in Csla.BusinessBase< T >, Csla.BusinessBindingListBase< T, C >, and Csla.BusinessListBase< T, C >.
| Task Csla.Core.ISavable< T >.SaveAndMergeAsync | ( | bool | forceUpdate | ) |
Saves the object to the database, merging the result into the original object graph
| forceUpdate | true to force the save to be an update. |
Implemented in Csla.BusinessBase< T >.
| Task Csla.Core.ISavable< T >.SaveAndMergeAsync | ( | bool | forceUpdate | ) |
Saves the object to the database, merging the result into the original object graph
| forceUpdate | true to force the save to be an update. |
Implemented in Csla.BusinessBase< T >.
| Task< object > Csla.Core.ISavable< T >.SaveAsync | ( | ) |
Saves the object to the database.
Implemented in Csla.BusinessBase< T >, Csla.BusinessBindingListBase< T, C >, and Csla.BusinessListBase< T, C >.
| Task< T > Csla.Core.ISavable< T >.SaveAsync | ( | ) |
Saves the object to the database.
Implemented in Csla.BusinessBase< T >, Csla.BusinessBindingListBase< T, C >, and Csla.BusinessListBase< T, C >.
| Task< object > Csla.Core.ISavable< T >.SaveAsync | ( | bool | forceUpdate | ) |
Saves the object to the database.
| forceUpdate | true to force the save to be an update. |
Implemented in Csla.BusinessBase< T >.
| Task< T > Csla.Core.ISavable< T >.SaveAsync | ( | bool | forceUpdate | ) |
Saves the object to the database.
| forceUpdate | true to force the save to be an update. |
Implemented in Csla.BusinessBase< T >.
| void Csla.Core.ISavable< T >.SaveComplete | ( | object | newObject | ) |
INTERNAL CSLA .NET USE ONLY.
| newObject | The new object returned as a result of the save. |
| void Csla.Core.ISavable< T >.SaveComplete | ( | T | newObject | ) |
INTERNAL CSLA .NET USE ONLY.
| newObject | The new object returned as a result of the save. |
| EventHandler< SavedEventArgs > Csla.Core.ISavable< T >.Saved |
Event raised when an object has been saved.
Definition at line 81 of file ISavable.cs.