9using System.Threading.Tasks;
17 public interface ISavable
19#if !(ANDROID || IOS) && !NETFX_CORE
30 object Save(
bool forceUpdate);
81 event EventHandler<SavedEventArgs>
Saved;
void SaveComplete(object newObject)
INTERNAL CSLA .NET USE ONLY.
EventHandler< SavedEventArgs > Saved
Event raised when an object has been saved.
Task SaveAndMergeAsync()
Saves the object to the database, merging the result into the original object graph
void BeginSave(object userState)
Saves the object to the database asynchronously.
Task< object > SaveAsync(bool forceUpdate)
Saves the object to the database.
object Save(bool forceUpdate)
Saves the object to the database.
object Save()
Saves the object to the database.
void BeginSave()
Saves the object to the database asynchronously.
Task< object > SaveAsync()
Saves the object to the database.
Task SaveAndMergeAsync(bool forceUpdate)
Saves the object to the database, merging the result into the original object graph