Click or drag to resize

LLBLGenProDataSourceViewBase Class

General base class for DatSourceView objects for selfservicing and adapter.
Inheritance Hierarchy

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses.Web (in SD.LLBLGen.Pro.ORMSupportClasses.Web.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public abstract class LLBLGenProDataSourceViewBase : DataSourceView

The LLBLGenProDataSourceViewBase type exposes the following members.

Constructors
  NameDescription
Protected methodLLBLGenProDataSourceViewBase
Initializes a new instance of the LLBLGenProDataSourceView2 class.
Top
Properties
  NameDescription
Public propertyAllFieldsKeepEmptyStringAsValue
Gets / sets the allFieldsKeepEmptyStringAsValue value. Setting this parameter to true will disable FieldNamesKeepEmptyStringAsValue. Default: false.
Public propertyCanDelete
Gets a value indicating whether the DataSourceView object associated with the current DataSourceControl object supports the ExecuteDelete(IDictionary, IDictionary) operation.
(Overrides DataSourceViewCanDelete.)
Public propertyCanInsert
Gets a value indicating whether the DataSourceView object associated with the current DataSourceControl object supports the ExecuteInsert(IDictionary) operation.
(Overrides DataSourceViewCanInsert.)
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.
(Overrides DataSourceViewCanPage.)
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.
(Overrides DataSourceViewCanRetrieveTotalRowCount.)
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.
(Overrides DataSourceViewCanSort.)
Public propertyCanUpdate
Gets a value indicating whether the DataSourceView object associated with the current DataSourceControl object supports the ExecuteUpdate(IDictionary, IDictionary, IDictionary) operation.
(Overrides DataSourceViewCanUpdate.)
Protected propertyDataContainerTypeName
Gets or sets the name of the data container type, or the type which is required to re-instantiate the datacontainer instance.
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
Public propertyInsertParameters
Gets the insert parameters.
Public propertyIsTrackingViewState
When implemented by a class, gets a value indicating whether a server control is tracking its view state changes.
Public propertyName
Gets the name of the data source view.
(Inherited from DataSourceView.)
Protected propertyPageNumber
Gets or sets the page number.
Protected propertyPageSize
Gets or sets the size of the page.
Public propertyRefetch
Gets or sets a value indicating whether refetching of data should be performed
Public propertySelectParameters
Gets or sets the select parameters.
Protected propertySortExpression
Gets or sets the sort expression.
Public propertySortingMode
Gets / sets the sortingmode.
Protected propertySuppressChangedEvent
Gets or sets a value indicating whether [surpress changed event].
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.
Public propertyUpdateParameters
Gets the update parameters.
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.
Protected methodConvertValueToDestinationType
Converts the passed in sourcevalue to the destination type. Used when converting field values in forms and parameter values in filters.
Protected methodCreateStateDataObject
Creates the state data object.
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.
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.
(Inherited from DataSourceView.)
Protected methodExecuteInsert
Performs an insert operation on the list of data that the DataSourceView object represents.
(Inherited from DataSourceView.)
Protected methodExecuteSelect
Gets a list of data from the underlying data storage.
(Inherited from DataSourceView.)
Protected methodExecuteUpdate
Performs an update operation on the list of data that the DataSourceView object represents.
(Inherited from DataSourceView.)
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.
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.
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)
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.
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
Protected methodProduceSortExpressionFromString(IEntityFields2, String)
Produces the sort expression from a string expression provided by ASP.NET
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.
Public methodSelect
Gets a list of data asynchronously from the underlying data storage.
(Inherited from DataSourceView.)
Protected methodSetDataContainer
Sets the datacontainer object
Protected methodSetEntityValues
Sets the entity values.
Protected methodSetFilter
Sets the filter.
Protected methodSetPrefetchPath
Sets the prefetch path.
Protected methodSetRelationCollection
Sets the relation collection.
Protected methodSetUnitOfWork
Sets the unit of work.
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
See Also