Esempio n. 1
0
 public override void OnConfiguring(SqlHelperBuilder sqlHelperBuilder)
 {
     if (!sqlHelperBuilder.IsConfiged)
     {
         var conStr = SqlConnectionStringHelper.GetSectionValue("ConStrWrite");
         sqlHelperBuilder.UseSqlServer(conStr);
     }
 }
Esempio n. 2
0
        public override void OnConfiguring(SqlHelperBuilder sqlHelperBuilder)
        {
            var conStr = SqlConnectionStringHelper.GetSectionValue("ConStrRead");

            sqlHelperBuilder.UseSqlServer(conStr);
        }