C# Class MySql.Data.VisualStudio.MySqlDataObjectEnumerator

Implements custom database objects enumerator for MySQL databases. Uses information_schema database to enumerate objects.
Inheritance: AdoDotNetObjectEnumerator
Mostra file Open project: Top-Cat/SteamBot

Public Methods

Method Description
EnumerateObjects ( string typeName, object items, object restrictions, string sort, object parameters ) : System.Data.DataReader

Enumerates items for a set of data objects of the specified type with the specified restrictions and sort string, if supported.

Private Methods

Method Description
EnumerateRoot ( ) : System.Data.DataReader
EnumerateSchemaObjects ( string typeName, object restrictions ) : System.Data.DataReader

Method Details

EnumerateObjects() public method

Enumerates items for a set of data objects of the specified type with the specified restrictions and sort string, if supported.
public EnumerateObjects ( string typeName, object items, object restrictions, string sort, object parameters ) : System.Data.DataReader
typeName string Name of the type of the object to enumerate.
items object /// The set of items to enumerate, specified as strings where named items are available, /// otherwise as indexes. In cases in which a data provider does not support items /// filtering, this parameter is ignored. /// NOT SUPPORTED. ///
restrictions object /// A set of filtering restrictions to apply to the set of returned objects. ///
sort string /// A sort string, which follows syntax for the SQL Server ORDER BY clause. /// The actual sort order should be source-based; that is, if the client is /// English and the source is Chinese, the sort should be applied in Chinese. /// NOT SUPPORTED. ///
parameters object /// An array whose contents are defined by the given implementation of /// EnumerateObjects, and which is specified by the Data Object Support /// XML file. Information supplied in this parameter can be used to provide /// extra data indicating how to perform the enumeration, allowing /// implementations of this method to be more data driven. /// NOT USED. ///
return System.Data.DataReader