示例#1
0
 public void EventSourcingStorage(DatabaseType dbType, string connection)
 {
     if (String.IsNullOrEmpty(connection))
     {
         throw new ArgumentNullException(nameof(connection));
     }
     eventStorage = new Dairy(dbType, connection, persona);
     salida.SinSalida();
     eventStorage.RecuperarEstado(this);
     salida.ConSalida();
 }