Ejemplo n.º 1
0
 public BuilderController()
 {
     chunkController = new ChunkController();
       dbBuilder = new DbBuilder(Settings.Current.Building.BuilderConnectionString);
       Builder = new Builder();
       RefreshState();
 }
Ejemplo n.º 2
0
        public void ResetSettings()
        {
            var setting = new DbBuildingSettings(Settings.Current.Building.BuilderConnectionString);
             setting.Reset();

             var builder = new DbBuilder(Settings.Current.Building.BuilderConnectionString);
             if (Settings.Current.Builder.Id.HasValue)
            builder.Reset(Settings.Current.Builder.Id.Value);
        }
Ejemplo n.º 3
0
 public BuilderSettings(string machineName)
 {
     MachineName = machineName;
      dbBuilder = new DbBuilder(Settings.Current.Building.BuilderConnectionString);
 }