Back to Devexpress

ViewDataSource Members

expressappframework-devexpress-dot-persistent-dot-base-dot-reportsv2-dot-viewdatasource-dot-underscore-members.md

latest12.2 KB
Original Source

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

NameDescription
ViewDataSource()Initializes a new instance of the ViewDataSource class.

Properties

NameDescription
CanRaiseEvents protectedGets a value indicating whether the component can raise an event. Inherited from Component.
ContainerGets the IContainer that contains the Component. Inherited from Component.
CriteriaThe criteria used to filter data in a report. Inherited from DataSourceBase.
CriteriaStringSpecifies the string representation of the criteria used to filter data in a report. Inherited from DataSourceBase.
DataTypeGets the business object type specified by the DataSourceBase.ObjectTypeName property. Inherited from DataSourceBase.
DesignMode protectedGets a value that indicates whether the Component is currently in design mode. Inherited from Component.
EnableAsyncLoading staticSpecifies whether or not the asynchronous report data source loading is enabled. Inherited from DataSourceBase.
Events protectedGets the list of event handlers that are attached to this Component. Inherited from Component.
IsDesignMode staticGets a value that indicates whether the DataSourceBase is currently in design mode. Inherited from DataSourceBase.
IsDisposedGets a value that indicates whether the DataSourceBase is disposed Inherited from DataSourceBase.
NameSpecifies the name of the current DataSourceBase object. Inherited from DataSourceBase.
ObjectTypeNameSpecifies the business object type name to be used by the DataSourceBase to load data. Inherited from DataSourceBase.
PropertiesGets the list of fields to be loaded from the data store.
SiteInherited from DataSourceBase.
SortingSpecifies the sorting to be applied to data. Inherited from DataSourceBase.
TopReturnedRecordsSpecifies the maximum number of records to be retrieved from a data store. Inherited from DataSourceBase.

Methods

NameDescription
BeginInit()Signals the DataSourceBase that initialization is starting. Inherited from DataSourceBase.
CreateObjectSpace(Type, IServiceProvider) staticCreates 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) staticDetermines 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() protectedCreates a shallow copy of the current Object. Inherited from Object.
MemberwiseClone(Boolean) protectedCreates a shallow copy of the current MarshalByRefObject object. Inherited from MarshalByRefObject.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
RefreshProperties()Refreshes the ViewDataSource.Properties list.
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

NameDescription
DisposedOccurs when the component is disposed by a call to the Dispose() method. Inherited from Component.

See Also

ViewDataSource Class

DevExpress.Persistent.Base.ReportsV2 Namespace