public OracleIdentityReader12c(SqlStatementExecuter executer, SchemaNamesToRead schemaNames)
            : base(executer, schemaNames)
        {
            var sqlStatement = GetStatement();

            AddSchemaNamesFilter(ref sqlStatement, "owner");
            _queryResult = Executer.ExecuteQuery(sqlStatement).Rows.ToList();
        }
        public OracleTableReader12c(SqlStatementExecuter executer, SchemaNamesToRead schemaNames)
            : base(executer, schemaNames)
        {
            var sqlStatement = GetStatement();

            AddSchemaNamesFilter(ref sqlStatement, "all_tab_columns.owner");
            _queryResult = Executer.ExecuteQuery(sqlStatement).Rows.ToLookup(x => x.GetAs <string>("SCHEMAANDTABLENAME"));
        }
Пример #3
0
        public OraclePrimaryKeyReader12c(SqlStatementExecuter executer, SchemaNamesToRead schemaNames)
            : base(executer, schemaNames)
        {
            var sqlStatement = GetKeySql();

            AddSchemaNamesFilter(ref sqlStatement, "cons.owner");
            sqlStatement += "\r\nORDER BY cols.table_name, cols.POSITION";
            _queryResult  = Executer.ExecuteQuery(sqlStatement).Rows.ToList();
        }
Пример #4
0
        public OracleForeignKeyReader12c(SqlStatementExecuter executer, SchemaNamesToRead schemaNames)
            : base(executer, schemaNames)
        {
            var sqlStatement = GetStatement();

            AddSchemaNamesFilter(ref sqlStatement, "cons.owner");
            sqlStatement += "\r\nORDER BY owner, table_name, position";
            _queryResult  = Executer.ExecuteQuery(sqlStatement).Rows.ToList();
        }
Пример #5
0
 protected OracleDataDefinitionElementReader(SqlStatementExecuter executer, SchemaNamesToRead schemaNames)
     : base(executer, schemaNames)
 {
 }
 public MsSqlTableReader2016(SqlStatementExecuter executer, SchemaNamesToRead schemaNames)
     : base(executer, schemaNames)
 {
 }
 protected GenericDataDefinitionReader(SqlStatementExecuter executer, SchemaNamesToRead schemaNames)
     : base(executer, schemaNames)
 {
 }
Пример #8
0
 public MsSqlColumnDocumentationReader2016(SqlStatementExecuter executer, SchemaNamesToRead schemaNames = null)
     : base(executer, schemaNames)
 {
 }
Пример #9
0
 protected GenericDataDefinitionElementReader(SqlStatementExecuter executer, SchemaNamesToRead schemaNames)
 {
     Executer    = executer;
     SchemaNames = schemaNames;
 }
 public MsSqlForeignKeyReader2016(SqlStatementExecuter executer, SchemaNamesToRead schemaNames)
     : base(executer, schemaNames)
 {
 }