代码
namespace BizService.Inc.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default {
get {
return defaultInstance;
}
}
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.ConnectionString)]
[global::System.Configuration.DefaultSettingValueAttribute("Data Source=localhost;Initial Catalog=BizPlatform;Persist Security Info=True;User ID=sa")]
public string BizPlatformConnectionString {
get {//下面几行
var connstr="BizService.Inc.Properties.Settings.BizPlatformConnectionString";
return System.Configuration.ConfigurationManager.ConnectionStrings[connstr].ConnectionString ??
((string)(this["BizPlatformConnectionString"]));
}
}
}
}