Click or drag to resize

LLBLGenProDataSourceView Class

General implementation of the DataSourceView class to be used with LLBLGenProDataSource control in ASP.NET applications.
Inheritance Hierarchy

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses.Web (in SD.LLBLGen.Pro.ORMSupportClasses.Web.dll) Version: 5.4.0.0 (5.4.0)
Syntax
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public class LLBLGenProDataSourceView : LLBLGenProDataSourceViewBase, 
	IDisposable

The LLBLGenProDataSourceView type exposes the following members.

Constructors
  NameDescription
Public methodLLBLGenProDataSourceView
Initializes a new instance of the LLBLGenProDataSourceView class.
Top
Properties
  NameDescription
Public propertyAllFieldsKeepEmptyStringAsValue
Gets / sets the allFieldsKeepEmptyStringAsValue value. Setting this parameter to true will disable FieldNamesKeepEmptyStringAsValue. Default: false.
(Inherited from LLBLGenProDataSourceViewBase.)
Public propertyCanDelete
Gets a value indicating whether the DataSourceView object associated with the current DataSourceControl object supports the ExecuteDelete(IDictionary, IDictionary) operation.
(Inherited from LLBLGenProDataSourceViewBase.)
Public propertyCanInsert
Gets a value indicating whether the DataSourceView object associated with the current DataSourceControl object supports the ExecuteInsert(IDictionary) operation.
(Inherited from LLBLGenProDataSourceViewBase.)
Public propertyCanPage
Gets a value indicating whether the DataSourceView object associated with the current DataSourceControl object supports paging through the data retrieved by the ExecuteSelect(DataSourceSelectArguments) method.
(Inherited from LLBLGenProDataSourceViewBase.)
Public propertyCanRetrieveTotalRowCount
Gets a value indicating whether the DataSourceView object associated with the current DataSourceControl object supports retrieving the total number of data rows, instead of the data.
(Inherited from LLBLGenProDataSourceViewBase.)
Public propertyCanSort
Gets a value indicating whether the DataSourceView object associated with the current DataSourceControl object supports a sorted view on the underlying data source.
(Inherited from LLBLGenProDataSourceViewBase.)
Public propertyCanUpdate
Gets a value indicating whether the DataSourceView object associated with the current DataSourceControl object supports the ExecuteUpdate(IDictionary, IDictionary, IDictionary) operation.
(Inherited from LLBLGenProDataSourceViewBase.)
Public propertyContainedEntityCollection
Gets or sets the contained entity collection.
Public propertyContainedTypedList
Gets or sets the contained typed list
Public propertyContainedTypedView
Gets or sets the contained typed list
Protected propertyDataContainerTypeName
Gets or sets the name of the data container type, or the type which is required to re-instantiate the datacontainer instance.
(Inherited from LLBLGenProDataSourceViewBase.)
Public propertyEntityCollectionTypeName
Gets or sets the name of the entity collection
Protected propertyEvents
Gets a list of event-handler delegates for the data source view.
(Inherited from DataSourceView.)
Public propertyFieldNamesKeepEmptyStringAsValue
Gets / sets the list of fieldnames for which "" has to be converted to null/Nothing
(Inherited from LLBLGenProDataSourceViewBase.)
Public propertyInsertParameters
Gets the insert parameters.
(Inherited from LLBLGenProDataSourceViewBase.)
Public propertyIsTrackingViewState
When implemented by a class, gets a value indicating whether a server control is tracking its view state changes.
(Inherited from LLBLGenProDataSourceViewBase.)
Public propertyName
Gets the name of the data source view.
(Inherited from DataSourceView.)
Protected propertyPageNumber
Gets or sets the page number.
(Inherited from LLBLGenProDataSourceViewBase.)
Protected propertyPageSize
Gets or sets the size of the page.
(Inherited from LLBLGenProDataSourceViewBase.)
Public propertyRefetch
Gets or sets a value indicating whether refetching of data should be performed
(Overrides LLBLGenProDataSourceViewBaseRefetch.)
Public propertySelectParameters
Gets or sets the select parameters.
(Inherited from LLBLGenProDataSourceViewBase.)
Protected propertySortExpression
Gets or sets the sort expression.
(Inherited from LLBLGenProDataSourceViewBase.)
Public propertySortingMode
Gets / sets the sortingmode.
(Inherited from LLBLGenProDataSourceViewBase.)
Protected propertySuppressChangedEvent
Gets or sets a value indicating whether [surpress changed event].
(Inherited from LLBLGenProDataSourceViewBase.)
Public propertyThrowExceptionOnIllegalFieldInput
Gets or sets the flag which signals this datasource control when setting fields to new values it should throw an exception if one or more field values in the input are illegal and can't be converted to the field's .NET type.
(Inherited from LLBLGenProDataSourceViewBase.)
Public propertyTypedListTypeName
Gets or sets the name of the TypedList type
Public propertyTypedViewTypeName
Gets or sets the name of the TypedView type
Public propertyUoW
Gets the UnitOfWork object for this control, if Livepersistence is set to false in the owner control.
Public propertyUpdateParameters
Gets the update parameters.
(Inherited from LLBLGenProDataSourceViewBase.)
Top
Methods
  NameDescription
Public methodCanExecute
Determines whether the specified command can be executed.
(Inherited from DataSourceView.)
Protected methodCompareSelectParameters
Compares the select parameters with the cached versions. If the current select parameters are different, Refresh is set to true.
(Inherited from LLBLGenProDataSourceViewBase.)
Protected methodConvertValueToDestinationType
Converts the passed in sourcevalue to the destination type. Used when converting field values in forms and parameter values in filters.
(Inherited from LLBLGenProDataSourceViewBase.)
Protected methodCreateStateDataObject
Creates the state data object.
(Overrides LLBLGenProDataSourceViewBaseCreateStateDataObject.)
Public methodDelete
Performs an asynchronous delete operation on the list of data that the DataSourceView object represents.
(Inherited from DataSourceView.)
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Overrides LLBLGenProDataSourceViewBaseDispose.)
Protected methodDispose(Boolean)
Implements the Dispose functionality. If a transaction is in progress, it will rollback that transaction.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodExecuteCommand(String, IDictionary, IDictionary)
Executes the specified command.
(Inherited from DataSourceView.)
Public methodExecuteCommand(String, IDictionary, IDictionary, DataSourceViewOperationCallback)
Executes the specified command.
(Inherited from DataSourceView.)
Protected methodExecuteDelete
Performs a delete operation on the list of data that the DataSourceView object represents.
(Overrides DataSourceViewExecuteDelete(IDictionary, IDictionary).)
Protected methodExecuteInsert
Performs an insert operation on the list of data that the DataSourceView object represents.
(Overrides DataSourceViewExecuteInsert(IDictionary).)
Protected methodExecuteSelect
Gets a list of data from the underlying data storage.
(Overrides DataSourceViewExecuteSelect(DataSourceSelectArguments).)
Protected methodExecuteUpdate
Performs an update operation on the list of data that the DataSourceView object represents.
(Overrides DataSourceViewExecuteUpdate(IDictionary, IDictionary, IDictionary).)
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.)
Protected methodGetDataContainerTypeInstance
Gets the data container type instance.
(Inherited from LLBLGenProDataSourceViewBase.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Protected methodGetParameterValues
Gets the parameter values from the parameters and the current context and stores them into the destination dictionary.
(Inherited from LLBLGenProDataSourceViewBase.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInsert
Performs an asynchronous insert operation on the list of data that the DataSourceView object represents.
(Inherited from DataSourceView.)
Public methodLoadState
Loads the state for this object from the object passed in (which is an object array)
(Inherited from LLBLGenProDataSourceViewBase.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMergeDictionaries
Merges the dictionaries passed in. This is done to merge a parametercollection with a set of values. If a value is both in source and in parameters, the value in parameters is picked. If the value is only in source, or in parameters, the value is selected.
(Inherited from LLBLGenProDataSourceViewBase.)
Protected methodOnDataSourceViewChanged
Raises the DataSourceViewChanged event.
(Inherited from DataSourceView.)
Protected methodProduceSortExpressionFromString(IEntityFields, String)
Produces the sort expression from a string expression provided by ASP.NET
(Inherited from LLBLGenProDataSourceViewBase.)
Protected methodProduceSortExpressionFromString(IEntityFields2, String)
Produces the sort expression from a string expression provided by ASP.NET
(Inherited from LLBLGenProDataSourceViewBase.)
Protected methodRaiseUnsupportedCapabilityError
Called by the RaiseUnsupportedCapabilitiesError(DataSourceView) method to compare the capabilities requested for an ExecuteSelect(DataSourceSelectArguments) operation against those that the view supports.
(Inherited from DataSourceView.)
Public methodSaveState
When implemented by a class, saves the changes to a server control's view state to an Object.
(Inherited from LLBLGenProDataSourceViewBase.)
Public methodSelect
Gets a list of data asynchronously from the underlying data storage.
(Inherited from DataSourceView.)
Protected methodSetDataContainer
Sets the datacontainer object
(Overrides LLBLGenProDataSourceViewBaseSetDataContainer(Object).)
Protected methodSetEntityValues
Sets the entity values.
(Inherited from LLBLGenProDataSourceViewBase.)
Protected methodSetFilter
Sets the filter.
(Overrides LLBLGenProDataSourceViewBaseSetFilter(Object).)
Protected methodSetPrefetchPath
Sets the prefetch path.
(Overrides LLBLGenProDataSourceViewBaseSetPrefetchPath(Object).)
Protected methodSetRelationCollection
Sets the relation collection.
(Overrides LLBLGenProDataSourceViewBaseSetRelationCollection(Object).)
Protected methodSetUnitOfWork
Sets the unit of work.
(Overrides LLBLGenProDataSourceViewBaseSetUnitOfWork(Object).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdate
Performs an asynchronous update operation on the list of data that the DataSourceView object represents.
(Inherited from DataSourceView.)
Top
Events
  NameDescription
Public eventDataSourceViewChanged
Occurs when the data source view has changed.
(Inherited from DataSourceView.)
Top
Remarks
Selfservicing specific
See Also