EntityDataSource
Represents an Entity data model to data items.
Definition
Namespace:Telerik.Reporting
Assembly:Telerik.Reporting.dll
Syntax:
public class EntityDataSource : EntityDataSourceBase, IDataSource
Inheritance: objectMarshalByRefObjectComponentDataSourceObjectDataSourceBaseEntityDataSourceBaseEntityDataSource...
Implements:
Inherited Members
Constructors
Initializes a new instance of the EntityDataSource class.
public EntityDataSource()
Initializes a new instance of the EntityDataSource class.
public EntityDataSource(object context, string contextMember)
Specifies the context used to connect to data.
contextMemberstringSpecifies the context member used to connect to data.
Initializes a new instance of the EntityDataSource class.
public EntityDataSource(string connectionString, object context, string contextMember)
Specifies the connection string used to connect to data.
contextobjectSpecifies the context used to connect to data.
contextMemberstringSpecifies the context member used to connect to data.
Properties
ObjectContext
object
Gets or sets the context used to connect to data.
[Obsolete("The Telerik.Reporting.EntityDataSource.ObjectContext is now obsolete. Please use Telerik.Reporting.EntityDataSource.Context instead.")]
[Browsable(false)]
public object ObjectContext { get; set; }
The Context property can contain either an instance of an context or the Type of such a context to be created at run time.
ObjectContextMember
string
Gets or sets the context member used to connect to data.
[Obsolete("The Telerik.Reporting.EntityDataSource.ObjectContextMemeber is now obsolete. Please use Telerik.Reporting.EntityDataSource.ContextMemeber instead.")]
[Browsable(false)]
public string ObjectContextMember { get; set; }
The ContextMember property contains the name of a property or a method of the context to be invoked during data retrieval.