Пример #1
0
        public static void Initialize()
        {
            var oracleConnectionString    = "";
            var sqlServerConnectionString = "";

            AdoContextContainer.Initialize(oracleConnectionString, sqlServerConnectionString);
        }
Пример #2
0
 public static IUnitOfWork GetUow()
 {
     return(_databaseType == DatabaseType.SqlServer
        ? AdoContextContainer.GetSqlServer()
        : AdoContextContainer.GetOracle());
 }