Add LastDatabase property

This eliminates the need to look at all of the databases on the server, and thus speeds-up startup
Get and Save DefaultDB Setting
Added DefaultDB Setting
This commit is contained in:
Rich
2012-03-07 15:58:34 +00:00
parent 6c125d8997
commit af59ad1538
4 changed files with 47 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.4211
// Runtime Version:2.0.50727.4216
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -243,5 +243,17 @@ namespace VEPROMS.Properties {
this["QATItems"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("")]
public string DefaultDB {
get {
return ((string)(this["DefaultDB"]));
}
set {
this["DefaultDB"] = value;
}
}
}
}

View File

@@ -59,5 +59,8 @@
<Setting Name="QATItems" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
<Setting Name="DefaultDB" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
</Settings>
</SettingsFile>