From 95b4e14bc4e06ffb94199f5ec4e0d2d9bebceeff Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Sun, 18 Feb 2018 18:48:16 +0200 Subject: Working on new developer module. --- .../Tango.Integration/Observables/IObservableEntity.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'Software/Visual_Studio/Tango.Integration/Observables/IObservableEntity.cs') diff --git a/Software/Visual_Studio/Tango.Integration/Observables/IObservableEntity.cs b/Software/Visual_Studio/Tango.Integration/Observables/IObservableEntity.cs index 0439d57b0..eb16d150d 100644 --- a/Software/Visual_Studio/Tango.Integration/Observables/IObservableEntity.cs +++ b/Software/Visual_Studio/Tango.Integration/Observables/IObservableEntity.cs @@ -45,6 +45,12 @@ namespace Tango.Integration.Observables /// void Save(); + /// + /// Saves the changes on this entity to database using the specified context. + /// + /// The context. + void Save(DbContext context); + /// /// Attaches this observable to the proper DbSet. /// @@ -61,6 +67,12 @@ namespace Tango.Integration.Observables /// Task SaveAsync(); + /// + /// Saves the changes on this entity to database asynchronously. + /// + /// + Task SaveAsync(DbContext context); + /// /// Deletes this entity from the database. /// -- cgit v1.3.1