OpenAccessDataSource
Represents an Open Access data model to data items.
Definition
Namespace:Telerik.Reporting
Assembly:Telerik.Reporting.dll
Syntax:
public class OpenAccessDataSource : ObjectDataSourceBase, IDataSource
Inheritance: objectMarshalByRefObjectComponentDataSourceObjectDataSourceBaseOpenAccessDataSource...
Implements:
Inherited Members
Constructors
Initializes a new instance of the OpenAccessDataSource class.
public OpenAccessDataSource()
Initializes a new instance of the OpenAccessDataSource class.
public OpenAccessDataSource(object objectContext, string objectContextMember)
Specifies the object context used to connect to data.
objectContextMemberstringSpecifies the object context member used to connect to data.
Initializes a new instance of the OpenAccessDataSource class.
public OpenAccessDataSource(string connectionString, object objectContext, string objectContextMember)
Specifies the connection string used to connect to data.
objectContextobjectSpecifies the object context used to connect to data.
objectContextMemberstringSpecifies the object context member used to connect to data.
Initializes a new instance of the OpenAccessDataSource class.
public OpenAccessDataSource(string providerName, string connectionString, object objectContext, string objectContextMember)
Specifies the managed provider name used to connect to data.
connectionStringstringSpecifies the connection string used to connect to data.
objectContextobjectSpecifies the object context used to connect to data.
objectContextMemberstringSpecifies the object context member used to connect to data.
Properties
ConnectionString
string
Gets or sets the connection string used to connect to data.
public string ConnectionString { get; set; }
The ConnectionString property contains either a valid connection string or the name of a ConnectionStringSettings in the application configuration file.
ObjectContext
object
Gets or sets the object context used to connect to data.
public object ObjectContext { get; set; }
The ObjectContext property can contain either an instance of an object context or the Type of such a context to be created at run time.
ObjectContextMember
string
Gets or sets the object context member used to connect to data.
public string ObjectContextMember { get; set; }
The ObjectContextMember property contains the name of a property or a method of the object context to be invoked during data retrieval.
ProviderName
string
Gets or sets the managed provider name used to connect to data.
[TypeConverter("Telerik.Reporting.Data.Design.DataProviderNameConverter, Telerik.Reporting.Design, Version=20.1.26.615, Culture=neutral, PublicKeyToken=a9d7983dfcc261be")]
public string ProviderName { get; set; }
If the ProviderName property is set to null (Nothing in Visual Basic) or an empty string, the default provider is System.Data.SqlClient.