Click or drag to resize

ModelDataProvider Class

Provides functionality for aggregating entities from a model configuration.
Inheritance Hierarchy

Namespace:  Colygon.MatchPoint.EntityModel
Assembly:  Colygon.MatchPoint (in Colygon.MatchPoint.dll) Version: 2019.2.1.0
Syntax
C#
[SerializableAttribute]
public class ModelDataProvider : DataProviderWithConditions, 
	IFilterableDataProvider

The ModelDataProvider type exposes the following members.

Constructors
  NameDescription
Public methodModelDataProvider
Initializes a new instance of the ModelDataProvider class
Top
Properties
  NameDescription
Public propertyConditions
Contains the conditions of the data provider.
(Inherited from DataProviderWithConditions.)
Top
Methods
  NameDescription
Public methodCreateInstance(String, IEnumerableString)
Returns the BaseDataProviderInstance object responsible for aggregating the data for this data provider.
(Overrides BaseDataProviderCreateInstance(String, IEnumerableString).)
Public methodCreateInstance(String, IEnumerableString, IEnumerableBaseCondition)
Creates a new BaseDataProviderInstance instance.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetFieldNames (Overrides BaseDataProviderGetFieldNames(MPInstance).)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldAddButton
If enabled, an 'Add item' button will be displayed beneath the grid. This field is valid only within a DataGrid or Composite Web Part configuration.
Public fieldCacheExpirationMinutes
Specifies how long the data is cached (in minutes).
Public fieldCacheGranularity
Specifies how the data is cached. Choose 'User' if the query depends on the current user (e.g. user ID in the query or security trimmed data).
Public fieldCacheKey
Specifies the cache key for this data provider.
(Inherited from BaseDataProvider.)
Public fieldEntity
Specifies the entity that should be used to display the records.
Public fieldRowLimit
Specifies a row limit.
Public fieldSortFields
Contains fields which should be used to sort the search results.
Top
Remarks
  • #APIChange 5.0: removed property public bool ShowAddButton, use ActionButtons instead.
  • #APIChange 5.0: removed public BaseDataProviderInstance CreateInstance(IEnumerable<string> columnNames, IEnumerable<BaseCondition> conditions)
Remarks
This is a MatchPoint configuration class.
See Also