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"));
        }
Ejemplo n.º 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();
        }
Ejemplo n.º 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();
        }
Ejemplo n.º 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)
 {
 }
Ejemplo n.º 8
0
 public MsSqlColumnDocumentationReader2016(SqlStatementExecuter executer, SchemaNamesToRead schemaNames = null)
     : base(executer, schemaNames)
 {
 }
Ejemplo n.º 9
0
 protected GenericDataDefinitionElementReader(SqlStatementExecuter executer, SchemaNamesToRead schemaNames)
 {
     Executer    = executer;
     SchemaNames = schemaNames;
 }
 public MsSqlForeignKeyReader2016(SqlStatementExecuter executer, SchemaNamesToRead schemaNames)
     : base(executer, schemaNames)
 {
 }