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.
 
 
 
 

11 lines
328 B

using PetaPoco;
using System.Configuration;
namespace Pingchuan.BeijingSafeguard.DAL
{
public class BaseDAL
{
public static string dbConection = ConfigurationManager.ConnectionStrings["db"].ConnectionString;
protected static Database db => new Database(dbConection, "MySql.Data.MySqlClient");
}
}