[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Collapse]eXpress Persistent Objects
 [Expand]Product Information
 [Expand]Getting Started
 [Expand]Fundamentals
 [Expand]Feature Center
 [Expand]Concepts
 [Expand]Design-Time Features
 [Expand]Examples
 [Expand]Member Tables
 [Collapse]API Reference
  [Collapse]DevExpress.Xpo
   [Expand]AggregatedAttribute Class
   [Expand]AssociationAttribute Class
    AsyncBehavior Enumeration
    AsyncCommitCallback Delegate
    AsyncSelectDataCallback Delegate
    CacheBehavior Enumeration
    CollectionBindingBehavior Enumeration
   [Expand]ColumnDbDefaultValueAttribute Class
   [Expand]ColumnDefaultValueAttribute Class
   [Expand]CommitObjectStubsResult Class
   [Expand]CustomAttribute Class
   [Expand]CustomCriteriaManager Class
   [Expand]DataViewPropertiesCollection Class
   [Expand]DataViewProperty Class
   [Expand]DataViewRecord Class
   [Expand]DbTypeAttribute Class
    DefaultMembersPersistence Enumeration
   [Expand]DefaultMembersPersistenceAttribute Class
   [Expand]DeferredDeletionAttribute Class
   [Expand]DelayedAttribute Class
   [Expand]DisplayNameAttribute Class
   [Expand]ExplicitLoadingAttribute Class
   [Expand]ExplicitUnitOfWork Class
   [Expand]FetchOnlyAttribute Class
   [Expand]GetObjectStubsByKeyQuery Class
    GuidGenerationMode Enumeration
   [Expand]HiddenAttribute Class
   [Expand]ICustomCriteriaOperatorQueryable Interface
   [Expand]ICustomFunctionOperatorQueryable Interface
   [Expand]IDataLayer Interface
   [Expand]IDataLayerAsync Interface
    IdentityMapBehavior Enumeration
   [Expand]IndexedAttribute Class
   [Expand]IndicesAttribute Class
   [Expand]IObjectLayer Interface
   [Expand]IObjectLayerAsync Interface
   [Expand]IObjectLayerEx Interface
   [Expand]IObjectLayerOnSession Interface
   [Expand]ISerializableObjectLayer Interface
   [Expand]ISerializableObjectLayerEx Interface
   [Expand]IXPModificationsStore Interface
   [Expand]IXPObject Interface
   [Expand]IXPSimpleObject Interface
   [Expand]KeyAttribute Class
   [Expand]LoadDataMemberOrderItem Structure
    LockingOption Enumeration
   [Expand]MapInheritanceAttribute Class
    MapInheritanceType Enumeration
   [Expand]MapToAttribute Class
   [Expand]MemberDesignTimeVisibilityAttribute Class
   [Expand]MergeCollisionBehaviorAttribute Class
   [Expand]NestedUnitOfWork Class
   [Expand]NoForeignKeyAttribute Class
   [Expand]NonPersistentAttribute Class
   [Expand]NullableAttribute Class
    NullableBehavior Enumeration
   [Expand]NullableBehaviorAttribute Class
   [Expand]NullValueAttribute Class
   [Expand]ObjectChangeEventArgs Class
    ObjectChangeEventHandler Delegate
    ObjectChangeReason Enumeration
   [Expand]ObjectManipulationEventArgs Class
    ObjectManipulationEventHandler Delegate
   [Expand]ObjectsByKeyQuery Class
   [Expand]ObjectsManipulationEventArgs Class
    ObjectsManipulationEventHandler Delegate
   [Expand]ObjectsQuery Class
   [Expand]ObjectStubsQuery Class
   [Expand]OptimisticLockingAttribute Class
    OptimisticLockingBehavior Enumeration
   [Expand]OptimisticLockingIgnoredAttribute Class
    OptimisticLockingReadBehavior Enumeration
   [Expand]OptimisticLockingReadBehaviorAttribute Class
    OptimisticLockingReadMergeBehavior Enumeration
   [Expand]PersistentAliasAttribute Class
   [Expand]PersistentAttribute Class
   [Expand]PersistentBase Class
    PersistentCriteriaEvaluationBehavior Enumeration
   [Expand]ResolveSessionEventArgs Class
    ResolveSessionEventHandler Delegate
   [Expand]SchemaInitEventArgs Class
    SchemaInitEventHandler Delegate
   [Expand]SerializableObjectLayer Class
   [Expand]SerializableObjectLayerClient Class
    ServerExceptionThrownAction Enumeration
   [Expand]ServerExceptionThrownEventArgs Class
    ServerExceptionThrownEventHandler Delegate
   [Expand]ServerViewPropertiesCollection Class
   [Expand]ServerViewProperty Class
   [Expand]Session Class
   [Expand]SessionManipulationEventArgs Class
    SessionManipulationEventHandler Delegate
   [Expand]SessionObjectLayer Class
   [Expand]SessionOperationFailEventArgs Class
    SessionOperationFailEventHandler Delegate
   [Expand]SimpleDataLayer Class
   [Expand]SimpleObjectLayer Class
   [Expand]SizeAttribute Class
   [Expand]SkipCheckForFeedsAttribute Class
    SortDirection Enumeration
   [Expand]SortingCollection Class
   [Expand]StreamAttribute Class
   [Expand]ThreadSafeDataLayer Class
   [Expand]UnitOfWork Class
   [Expand]ValueConverterAttribute Class
   [Expand]ViewPropertiesCollection Class
   [Expand]ViewProperty Class
   [Expand]ViewRecord Class
   [Expand]VisibleAttribute Class
   [Expand]XPBaseCollection Class
   [Expand]XPBaseObject Class
   [Expand]XPBindingSource Class
   [Expand]XPClassInfoStub Class
   [Expand]XPCollection Class
   [Expand]XPCollection<T> Class
   [Expand]XPCollectionChangedEventArgs Class
    XPCollectionChangedEventHandler Delegate
    XPCollectionChangedType Enumeration
   [Expand]XPCursor Class
   [Expand]XPCustomObject Class
   [Expand]XPDataObject Class
   [Expand]XPDataView Class
   [Expand]XPDelayedProperty Class
   [Expand]XPDictionaryStub Class
   [Expand]XPInstantFeedbackSource Class
   [Expand]XPInstantFeedbackView Class
   [Expand]XPLiteObject Class
   [Expand]XPObject Class
   [Expand]XPObjectSource Class
   [Expand]XPObjectSourcePropertiesCollection Class
   [Expand]XPObjectSourceProperty Class
   [Expand]XPObjectSourceRecord Class
   [Expand]XPObjectStub Class
   [Expand]XPObjectStubCollection Class
   [Expand]XPObjectType Class
   [Collapse]XpoDataSource Class
     XpoDataSource Members
     XpoDataSource Constructor
    [Expand]XpoDataSource Properties
    [Expand]XpoDataSource Events
   [Expand]XpoDataSourceInsertedEventArgs Class
    XpoDataSourceInsertedEventHandler Delegate
   [Expand]XpoDefault Class
   [Expand]XPPageSelector Class
   [Expand]XPQuery<T> Class
   [Expand]XPQueryBase Class
   [Expand]XPQueryExtensions Class
   [Expand]XPServerCollectionSource Class
   [Expand]XPServerModeView Class
   [Expand]XPView Class
   [Expand]XPWeakReference Class
  [Expand]DevExpress.Xpo.DB
  [Expand]DevExpress.Xpo.DB.Helpers
  [Expand]DevExpress.Xpo.Exceptions
  [Expand]DevExpress.Xpo.Helpers
  [Expand]DevExpress.Xpo.Metadata
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

XpoDataSource Members

A collection of persistent objects for ASP.NET controls.

Expanded Public Constructors

Show: Inherited
  Name Description
Public method XpoDataSource Initializes a new instance of the XpoDataSource class with the default settings.
Top

Expanded Public Properties

Show: Inherited
  Name Description
Public property AppRelativeTemplateSourceDirectory Gets or sets the application-relative virtual directory of the System.Web.UI.Page or System.Web.UI.UserControl object that contains this control. (Inherited from System.Web.UI.Control)
Public property BindingContainer Gets the control that contains this control's data binding. (Inherited from System.Web.UI.Control)
Public property ClientID Gets the server control identifier generated by ASP.NET. (Inherited from System.Web.UI.DataSourceControl)
Public property ClientIDMode (Inherited from System.Web.UI.DataSourceControl)
Public property Controls Gets a System.Web.UI.ControlCollection object that represents the child controls for a specified server control in the UI hierarchy. (Inherited from System.Web.UI.DataSourceControl)
Public property Criteria Gets or sets the string representation of criteria used to filter persistent objects to be retrieved by the data source control.
Public property CriteriaParameters Provides access to the collection of parameter values that are used to build the data source control's filter criteria.
Public property DataItemContainer Gets a reference to the naming container if the naming container implements IDataItemContainer. (Inherited from System.Web.UI.Control)
Public property DataKeysContainer Gets a reference to the naming container if the naming container implements IDataKeysControl. (Inherited from System.Web.UI.Control)
Public property DefaultSorting Specifies how data source contents are sorted by default, when sort order is not specified by the bound control.
Public property EnableTheming Gets a value indicating whether this control supports themes. (Inherited from System.Web.UI.DataSourceControl)
Public property EnableViewState Gets or sets a value indicating whether the server control persists its view state, and the view state of any child controls it contains, to the requesting client. (Inherited from System.Web.UI.Control)
Public property ID Gets or sets the programmatic identifier assigned to the server control. (Inherited from System.Web.UI.Control)
Public property NamingContainer Gets a reference to the server control's naming container, which creates a unique namespace for differentiating between server controls with the same System.Web.UI.Control.ID property value. (Inherited from System.Web.UI.Control)
Public property Page Gets a reference to the System.Web.UI.Page instance that contains the server control. (Inherited from System.Web.UI.Control)
Public property Parent Gets a reference to the server control's parent control in the page control hierarchy. (Inherited from System.Web.UI.Control)
Public property RenderingCompatibility Gets a value that specifies the ASP.NET version that rendered HTML will be compatible with. (Inherited from System.Web.UI.Control)
Public property ServerMode Gets or sets whether server mode is enabled for the data-aware control bound to the current data source control.
Public property Session Gets or sets the Session used by the current data source control to load and save persistent objects.
Public property Site Gets information about the container that hosts the current control when rendered on a design surface. (Inherited from System.Web.UI.Control)
Public property SkinID Gets the skin to apply to the System.Web.UI.DataSourceControl control. (Inherited from System.Web.UI.DataSourceControl)
Public property TemplateControl Gets or sets a reference to the template that contains this control. (Inherited from System.Web.UI.Control)
Public property TemplateSourceDirectory Gets the virtual directory of the System.Web.UI.Page or System.Web.UI.UserControl that contains the current server control. (Inherited from System.Web.UI.Control)
Public property TypeName Gets or sets the type name of persistent objects to be retrieved by the data source control.
Public property UniqueID Gets the unique, hierarchically qualified identifier for the server control. (Inherited from System.Web.UI.Control)
Public property ValidateRequestMode (Inherited from System.Web.UI.Control)
Public property ViewStateMode Gets or sets the view-state mode of this control. (Inherited from System.Web.UI.Control)
Public property Visible Gets or sets a value indicating whether the control is visually displayed. (Inherited from System.Web.UI.DataSourceControl)
Top

Expanded Public Methods

Show: Inherited
  Name Description
Public method ApplyStyleSheetSkin Applies the style properties that are defined in the page style sheet to the control. (Inherited from System.Web.UI.DataSourceControl)
Public method DataBind Binds a data source to the invoked server control and all its child controls. (Inherited from System.Web.UI.Control)
Public method Dispose Enables a server control to perform final clean up before it is released from memory. (Inherited from System.Web.UI.Control)
Public method Equals Determines whether the specified System.Object is equal to the current System.Object. (Inherited from System.Object)
Public methodStatic member Equals Determines whether the specified System.Object instances are considered equal. (Inherited from System.Object)
Public method FindControl Searches the current naming container for a server control with the specified parameter. (Inherited from System.Web.UI.DataSourceControl)
Public method Focus Sets input focus to the control. (Inherited from System.Web.UI.DataSourceControl)
Public method GetHashCode Serves as a hash function for a particular type. System.Object.GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from System.Object)
Public method GetRouteUrl (Inherited from System.Web.UI.Control)
Public method GetType Gets the System.Type of the current instance. (Inherited from System.Object)
Public method GetUniqueIDRelativeTo (Inherited from System.Web.UI.Control)
Public method HasControls Determines if the server control contains any child controls. (Inherited from System.Web.UI.DataSourceControl)
Public methodStatic member ReferenceEquals Determines whether the specified System.Object instances are the same instance. (Inherited from System.Object)
Public method RenderControl Outputs server control content to a provided System.Web.UI.HtmlTextWriter object and stores tracing information about the control if tracing is enabled. (Inherited from System.Web.UI.DataSourceControl)
Public method ResolveClientUrl Gets a URL that can be used by the browser. (Inherited from System.Web.UI.Control)
Public method ResolveUrl Converts a URL into one that is usable on the requesting client. (Inherited from System.Web.UI.Control)
Public method SetRenderMethodDelegate Assigns an event handler delegate to render the server control and its content into its parent control. (Inherited from System.Web.UI.Control)
Public method SetTraceData (Inherited from System.Web.UI.Control)
Public method ToString Returns a System.String that represents the current System.Object. (Inherited from System.Object)
Top

Expanded Public Events

Show: Inherited
  Name Description
Public event DataBinding Occurs when the server control binds to a data source. (Inherited from System.Web.UI.Control)
Public event Disposed Occurs when a server control is released from memory, which is the last stage of the server control lifecycle when an ASP.NET page is requested. (Inherited from System.Web.UI.Control)
Public event Init Occurs when the server control is initialized, which is the first step in its lifecycle. (Inherited from System.Web.UI.Control)
Public event Inserted Enables you to respond to inserting a persistent object via a bound data-aware control.
Public event Load Occurs when the server control is loaded into the System.Web.UI.Page object. (Inherited from System.Web.UI.Control)
Public event PreRender Occurs after the System.Web.UI.Control object is loaded but prior to rendering. (Inherited from System.Web.UI.Control)
Public event Unload Occurs when the server control is unloaded from memory. (Inherited from System.Web.UI.Control)
Top

Expanded See Also

Is this topic helpful?​​​​​​​