You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
708 B
27 lines
708 B
8 months ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Linq;
|
||
|
using System.Text;
|
||
|
|
||
|
//Ref:
|
||
|
using System.Configuration;
|
||
|
|
||
|
namespace WebAPI.App_Start
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 配置信息类
|
||
|
/// </summary>
|
||
|
public class Config
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 主数据库文件
|
||
|
/// </summary>
|
||
|
public static string maindbConnectionString = ConfigurationManager.ConnectionStrings["maindb"]?.ToString();
|
||
|
|
||
|
///// <summary>
|
||
|
///// FIS数据库文件(需要在QMAPP.WinForm的App.Config中配置)
|
||
|
///// </summary>
|
||
|
//public static string maindbMBConnectionString = ConfigurationManager.ConnectionStrings["maindbMB"].ToString();
|
||
|
}
|
||
|
}
|