Skip to main content
.NET Framework 4.5.2+

ViewDataSource Members

The data source component that retrieves a list of data records (a data view) via the IObjectSpace without loading complete business classes. Values in each data record can be obtained from specific business class properties directly, or be evaluated by the database server using complex expressions.

Constructors

Name Description
ViewDataSource() Initializes a new instance of the ViewDataSource class.

Properties

Name Description
CanRaiseEvents protected Gets a value indicating whether the component can raise an event. Inherited from Component.
Container Gets the IContainer that contains the Component. Inherited from Component.
Criteria The criteria used to filter data in a report. Inherited from DataSourceBase.
CriteriaPropertyDescriptorProvider For internal use. Inherited from DataSourceBase.
CriteriaString Specifies the string representation of the criteria used to filter data in a report. Inherited from DataSourceBase.
DataType Gets the business object type specified by the DataSourceBase.ObjectTypeName property. Inherited from DataSourceBase.
DesignMode protected Gets a value that indicates whether the Component is currently in design mode. Inherited from Component.
EnableAsyncLoading static Specifies whether or not the asynchronous report data source loading is enabled. Inherited from DataSourceBase.
Events protected Gets the list of event handlers that are attached to this Component. Inherited from Component.
IsDesignMode static Gets a value that indicates whether the DataSourceBase is currently in design mode. Inherited from DataSourceBase.
IsDisposed Gets a value that indicates whether the DataSourceBase is disposed Inherited from DataSourceBase.
Name Specifies the name of the current DataSourceBase object. Inherited from DataSourceBase.
ObjectType For internal use. Inherited from DataSourceBase.
ObjectTypeName Specifies the business object type name to be used by the DataSourceBase to load data. Inherited from DataSourceBase.
Properties Gets the list of fields to be loaded from the data store.
Site Inherited from DataSourceBase.
Sorting Specifies the sorting to be applied to data. Inherited from DataSourceBase.
TopReturnedRecords Specifies the maximum number of records to be retrieved from a data store. Inherited from DataSourceBase.
UseRemoteTypedListProvider static For internal use. Inherited from DataSourceBase.

Methods

Name Description
BeginInit() Signals the DataSourceBase that initialization is starting. Inherited from DataSourceBase.
CreateObjectSpace(Type, IServiceProvider) static Creates an Object Space. Inherited from DataSourceBase.
Dispose() Releases all resources used by the Component. Inherited from Component.
EndInit() Signals the DataSourceBase that initialization is complete. Inherited from DataSourceBase.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetLifetimeService() Retrieves the current lifetime service object that controls the lifetime policy for this instance. Inherited from MarshalByRefObject.
GetParameterValue(Parameter) Inherited from DataSourceBase.
GetType() Gets the Type of the current instance. Inherited from Object.
InitializeLifetimeService() Obtains a lifetime service object to control the lifetime policy for this instance. Inherited from MarshalByRefObject.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
MemberwiseClone(Boolean) protected Creates a shallow copy of the current MarshalByRefObject object. Inherited from MarshalByRefObject.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
RefreshProperties() Refreshes the ViewDataSource.Properties list.
SetCriteria(CriteriaOperator) For internal use. Inherited from DataSourceBase.
ToString() Returns a String containing the name of the Component, if any. This method should not be overridden. Inherited from Component.
UpdateCriteriaWithReportParameters(IEnumerable<IParameter>) Adds report parameter values to the criteria string. Inherited from DataSourceBase.

Events

Name Description
Disposed Occurs when the component is disposed by a call to the Dispose() method. Inherited from Component.
See Also