コード例 #1
0
        public void CanGetCompiler()
        {
            var compiler = Compilers.Get(EngineCodes.SqlServer);

            Assert.NotNull(compiler);
            Assert.IsType <SqlServerCompiler>(compiler);
        }
コード例 #2
0
 public FirebirdLimitTests()
 {
     compiler = Compilers.Get <FirebirdCompiler>(EngineCodes.Firebird);
 }
コード例 #3
0
 public SqlServerLegacyLimitTests()
 {
     compiler = Compilers.Get <SqlServerCompiler>(EngineCodes.SqlServer);
     compiler.UseLegacyPagination = true;
 }
コード例 #4
0
 public SqlServerTests()
 {
     compiler = Compilers.Get <SqlServerCompiler>(EngineCodes.SqlServer);
 }
コード例 #5
0
 public SqliteLimitTests()
 {
     compiler = Compilers.Get <SqliteCompiler>(EngineCodes.Sqlite);
 }
コード例 #6
0
 public OracleLegacyLimitTests()
 {
     compiler = Compilers.Get <OracleCompiler>(EngineCodes.Oracle);
     compiler.UseLegacyPagination = true;
 }
コード例 #7
0
 public NestedSelectTests()
 {
     compiler = Compilers.Get <SqlServerCompiler>(EngineCodes.SqlServer);
 }
コード例 #8
0
 public OracleDateConditionTests()
 {
     compiler = Compilers.Get <OracleCompiler>(EngineCodes.Oracle);
 }
コード例 #9
0
 public PostgreSqlLimitTests()
 {
     compiler = Compilers.Get <PostgresCompiler>(EngineCodes.PostgreSql);
 }
コード例 #10
0
 public MySqlLimitTests()
 {
     compiler = Compilers.Get <MySqlCompiler>(EngineCodes.MySql);
 }
コード例 #11
0
 public OracleLimitTests()
 {
     compiler = Compilers.Get <OracleCompiler>(EngineCodes.Oracle);
 }