XpoDataView Members

Constructors

Name Description
XpoDataView(XPObjectSpace, Type, IList<DataViewExpression>, CriteriaOperator, IList<SortProperty>)

Initializes a new instance of the XpoDataView class with the specified settings. Data view columns are specified using the list of DataViewExpression objects. For internal use only.

XpoDataView(XPObjectSpace, Type, String, CriteriaOperator, IList<SortProperty>)

Initializes a new instance of the XpoDataView class with the specified settings. Data view columns are specified using the semicolon-separated list of expression strings. For internal use only.

Properties

Name Description
AllowEdit

Gets whether you can update data records. This method always returns false because the list represented by XafDataView is readonly.

(Inherited from XafDataView)
AllowNew

Gets whether you can add data records. This method always returns false because the list represented by XafDataView is readonly.

(Inherited from XafDataView)
AllowRemove

Gets whether you can update data records. This method always returns false because the list represented by XafDataView is readonly.

(Inherited from XafDataView)
Count

Gets the number of data records contained in the XafDataView.

(Inherited from XafDataView)
Criteria

Specifies criteria used to filter the data view at the server side.

(Inherited from XafDataView)
Expressions

Specifies data view column names and expressions used to compute column values.

(Inherited from XafDataView)
Filter
IsFixedSize

Gets a value indicating whether the data view has a fixed size. This property value is always false because the list represented by XafDataView is readonly.

(Inherited from XafDataView)
IsLoaded

Gets a value that indicates whether or not the data records list cached by XafDataView is initialized.

(Inherited from XafDataView)
IsReadOnly

Gets a value indicating whether the list repersented by XafDataView is read-only. Always returns true.

(Inherited from XafDataView)
IsSynchronized

Gets a value indicating whether access to the data view is synchronized. This method always returns false

(Inherited from XafDataView)
Item[Int32]

Gets the data record at the specified index.

(Inherited from XafDataView)
ObjectSpace

Gets the Object Space used to query data by the current XafDataView.

(Inherited from XafDataView)
ObjectType

Gets the type of business objects that are queried by XafDataView.

(Inherited from XafDataView)
Sorting

Specifies the sorted columns within the data view.

(Inherited from XafDataView)
SyncRoot

Gets an object that can be used to synchronize access to the data view. Always returns the XafDataView instance itself, because the data view's underlying store is not is not publicly available (see the Remarks section of the ICollection.SyncRoot Property topic).

(Inherited from XafDataView)
TopReturnedObjectsCount

Specifies the number of data records retrieved by the XafDataView.

(Inherited from XafDataView)

Methods

Name Description
Add(Object)

This method is required to provide IList support. It always throws a NotSupportedException because the list represented by XafDataView is readonly (see the Exceptions section of the IList.Add Method topic).

(Inherited from XafDataView)
Clear()

This method is required to provide the IList support. It always throws a NotSupportedException because the list represented by XafDataView is readonly (see the Exceptions section of the IList.Clear Method topic).

(Inherited from XafDataView)
Contains(Object)

Determines whether the XafDataView contains a specific data record.

(Inherited from XafDataView)
CopyTo(Array, Int32)

Copies the data records to an array, starting at a particular array index.

(Inherited from XafDataView)
Dispose()

Releases all resources used by this XpoDataView object.

FindExpression(String)

Finds the expression by its name in the current XafDataView.

(Inherited from XafDataView)
IndexOf(Object)

Determines the index of a specific data record in the XafDataView.

(Inherited from XafDataView)
Insert(Int32, Object)

This method is required to provide IList support. It always throws a NotSupportedException because the list represented by XafDataView is readonly (see the Exceptions section of the IList.Insert Method topic).

(Inherited from XafDataView)
Reload()

Clears the data records cache.

(Inherited from XafDataView)
Remove(Object)

This method is required to provide IList support. It always throws a NotSupportedException because the list represented by XafDataView is readonly (see the Exceptions section of the IList.Remove Method topic).

(Inherited from XafDataView)
RemoveAt(Int32)

This method is required to provide IList support. It always throws a NotSupportedException because the list represented by XafDataView is readonly (see the Exceptions section of the IList.RemoveAt Method topic).

(Inherited from XafDataView)

Events

Name Description
ListChanged

Occurs when the data records list is changed.

(Inherited from XafDataView)