Class DataSourceCollection

A collection of data sources for the application.

System.Object
  System.Collections.Generic.List<IDataSource>
    Stonefield.Query.ConnectionManagement.DataSourceCollection
public class DataSourceCollection : List<IDataSource>, IDataSourceCollection

Class Members

MemberDescription

Constructor

DeserializeDataSourceRoles

Deserializes the roles for data sources stored in this collection

public sealed void DeserializeDataSourceRoles(XmlReader reader);

DeserializeDataSources

Deserializes data sources for this connection.

public sealed void DeserializeDataSources(XmlReader reader);

public sealed void DeserializeDataSources(XmlDocument document)

New

Adds a new data source to the collection and returns it so additional properties can be set.

public sealed IDataSource New(string name);

SerializeDataSourceRoles

Serializes the roles for the data sources stored in this collection

public sealed void SerializeDataSourceRoles(XmlWriter writer);

SerializeDataSources

Serializes the data sources stored in this collection.

public sealed void SerializeDataSources(XmlWriter writer);

CurrentDatasource

A reference to the current datasource for the logged-in user.

Item

Requirements

Namespace: Stonefield.Query.ConnectionManagement
Assembly: connections.dll