public static SynchroEx ToSynchroEx(this Couchbase.Lite.IMutableDictionary dico) { SynchroEx synchroEx = new SynchroEx(); if (!string.IsNullOrEmpty(dico.GetString("dateException"))) { synchroEx.DateException = dico.GetDate("dateException").DateTime; } synchroEx.Id = dico.GetString("id"); synchroEx.Message = dico.GetString("message"); return(synchroEx); }
public void Save(SynchroEx synchroEx) { _dbConfigurationSaver.Save(synchroEx); }