예제 #1
0
        private static IDbConnection GetMasterConnection()
        {
            string masterConnection = XmlConfig.GetConnectionString("SqlServerMaster");

            return(new SqlConnection(masterConnection));
        }
예제 #2
0
        protected override IDbConnection GetConnection()
        {
            string connectionStr = XmlConfig.GetConnectionString("SqlServer");

            return(new SqlConnection(connectionStr));
        }