ClassDbSchemaReader
Definition
Namespace:Telerik.OpenAccess.Runtime.Schema
Assembly:Telerik.OpenAccess.Runtime.dll
Syntax:
public abstract class DbSchemaReader
Inheritance: objectDbSchemaReader
Derived Classes:
Constructors
DbSchemaReader()
Declaration
protected DbSchemaReader()
Properties
ADODriver
Declaration
public abstract AssemblyName ADODriver { get; }
Property Value
AssemblyName
Backend
Declaration
public abstract DbSchemaReader.ISchemaReaderInformation Backend { get; }
Property Value
LoggingProvider
Declaration
public ILogEventFactory LoggingProvider { protected get; set; }
Property Value
MetadataContainer
Declaration
public MetadataContainer MetadataContainer { get; }
Property Value
ReadColumns
Declaration
public bool ReadColumns { get; set; }
Property Value
bool
ReadConstraints
Declaration
public bool ReadConstraints { get; set; }
Property Value
bool
ReadFunctions
Declaration
public bool ReadFunctions { get; set; }
Property Value
bool
ReadIndexes
Declaration
public bool ReadIndexes { get; set; }
Property Value
bool
ReadPrimaryKeys
Declaration
public bool ReadPrimaryKeys { get; set; }
Property Value
bool
ReadProcedures
Declaration
public bool ReadProcedures { get; set; }
Property Value
bool
ReadTables
Declaration
public bool ReadTables { get; set; }
Property Value
bool
ReadViews
Declaration
public bool ReadViews { get; set; }
Property Value
bool
RelationalProcedures
Declaration
public abstract List<RelationalProcedure> RelationalProcedures { get; }
Property Value
List<RelationalProcedure>
RelationalTables
Declaration
public abstract Dictionary<string, RelationalTable> RelationalTables { get; }
Property Value
Dictionary<string, RelationalTable>
RelationalUDTs
Declaration
public abstract Dictionary<string, RelationalUDT> RelationalUDTs { get; }
Property Value
Dictionary<string, RelationalUDT>
SchemaFilter
Declaration
public List<string> SchemaFilter { get; }
Property Value
List<string>
Methods
BeginExecute(Action<DbSchemaReader>)
Declaration
public abstract void BeginExecute(Action<DbSchemaReader> action)
Parameters
action
Action<DbSchemaReader>
Create(DbConnection)
Declaration
public static DbSchemaReader Create(DbConnection connection)
Parameters
connection
DbConnection
Returns
Create(DbConnection, Backend)
Declaration
public static DbSchemaReader Create(DbConnection connection, Backend backendType)
Parameters
connection
DbConnection
backendType
Returns
Execute()
Declaration
public abstract void Execute()
GetAllSchemaNames()
Declaration
public abstract List<string> GetAllSchemaNames()
Returns
List<string>
GetContainer()
Declaration
protected abstract MetadataContainer GetContainer()
Returns
GetDatabases()
Declaration
public abstract List<string> GetDatabases()
Returns
List<string>
GetDefaultSchema()
Declaration
public abstract string GetDefaultSchema()
Returns
string
GetObjectNames(string)
Declaration
public abstract List<string> GetObjectNames(string filter)
Parameters
filter
string
Returns
List<string>
GetProcedureResultShape(MetaStoredProcedure)
Declaration
public abstract MetaStoredProcedure GetProcedureResultShape(MetaStoredProcedure procedure)
Parameters
procedure
Returns
OnProgress(SchemaReadPhase, int, int)
Declaration
protected virtual void OnProgress(DbSchemaReader.SchemaReadEventArgs.SchemaReadPhase phase, int counter, int max)
Parameters
phase
DbSchemaReader.SchemaReadEventArgs.SchemaReadPhase
counter
int
max
int
ReadAdditionalDatabase(string)
Declaration
public abstract AdditionalDatabase ReadAdditionalDatabase(string databaseName)
Parameters
databaseName
string
Returns
Events
Progress
Declaration
public event EventHandler<DbSchemaReader.SchemaReadEventArgs> Progress
Event Value
EventHandler<DbSchemaReader.SchemaReadEventArgs>