Esempio n. 1
0
        private static IDbConnection GetMasterConnection()
        {
            string masterConnection = XmlConfig.GetConnectionString("SqlServerMaster");

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

            return(new SqlConnection(connectionStr));
        }