public override void Initialize(IDictionary<String, Object> connectionSettings)
 {
     this.ConnectionString = (String) connectionSettings["ConnectionString"];
     using (StorageObjectContext context = new StorageObjectContext(this.ConnectionString))
     {
         if (!context.DatabaseExists())
         {
             context.CreateDatabase();
         }
     }
 }
 public Worker(StorageObjectContext entities)
 {
     this.AddingObjects = new AddingObjectPool();
     this.Entities = entities;
 }