public void Oracle_PrepareCommand_SetsBindByName()
 {
     _dbConfigurationBuilder.FromProviderName("Oracle.DataAccess.Client");
     var oracleCommand = new FakeOracleDbCommand();
     _config.PrepareCommand(oracleCommand);
     Assert.IsTrue(oracleCommand.BindByName);
 }
 public void OracleManaged_PrepareCommand_SetsBindByName()
 {
     var config = new Db(string.Empty, "Oracle.ManagedDataAccess.Client").Config;
     var oracleCommand = new FakeOracleDbCommand();
     config.PrepareCommand(oracleCommand);
     Assert.IsTrue(oracleCommand.BindByName);
 }
Exemple #3
0
        public void OracleManaged_PrepareCommand_SetsBindByName()
        {
            var config        = DbConfig.FromProviderName("Oracle.ManagedDataAccess.Client");
            var oracleCommand = new FakeOracleDbCommand();

            config.PrepareCommand(oracleCommand);
            Assert.True(oracleCommand.BindByName);
        }
        public void OracleManaged_PrepareCommand_SetsBindByName()
        {
            var config        = new Db(string.Empty, "Oracle.ManagedDataAccess.Client").Config;
            var oracleCommand = new FakeOracleDbCommand();

            config.PrepareCommand(oracleCommand);
            Assert.IsTrue(oracleCommand.BindByName);
        }