Click or drag to resize

IEntityViewCore Interface

Interface implemented on the base class of Entity view classes.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.8.0.0 (5.8.21.0111)
Syntax
public interface IEntityViewCore

The IEntityViewCore type exposes the following members.

Properties
  NameDescription
Public propertyAllowEdit
Gets / sets whether you can update items in the list.
Public propertyAllowNew
Gets/sets whether you can add items to the list using AddNew.
Public propertyAllowRemove
Gets whether you can remove items from the list, using Remove(Object) or RemoveAt(Int32).
Public propertyCount
Gets the number of elements contained in the ICollection.
Public propertyDataChangeAction
Gets or sets the data change action which specifies what to do when the data in the related collection of an entity view changes. A change in data can be: entity added or changed. If an entity is removed from the underlying collection, the entity is simply removed from the entity view, as the view doesn't contain any data by itself.
Public propertyFilter
Gets or sets the filter to use for this entity view.
Public propertyItem
Gets the element at the specified index in this view.
Public propertySorter
Gets or sets the sorter for this entity view. Setting this property will re-sort the view and will reset the view in databinding scenario's.
Top
Methods
  NameDescription
Public methodIndexOf
Determines the index of the entity passed in in the entity view in filtered and sorted state.
Public methodRefresh
Refreshes this view by re-applying filter and sorter on the related collection
Top
See Also