編集

次の方法で共有


QueryableDataSourceView.StoreOriginalValues Method

Definition

Stores the original values from the Select operation in the control's view state.

Overloads

StoreOriginalValues(IList)

Stores the original values from the Select operation in the control's view state.

StoreOriginalValues(IList, Func<PropertyDescriptor,Boolean>)

Stores the original values from the select operation in the control's view state when delete or update operations are enabled.

StoreOriginalValues(IList)

Stores the original values from the Select operation in the control's view state.

protected:
 virtual void StoreOriginalValues(System::Collections::IList ^ results);
protected virtual void StoreOriginalValues (System.Collections.IList results);
abstract member StoreOriginalValues : System.Collections.IList -> unit
override this.StoreOriginalValues : System.Collections.IList -> unit
Protected Overridable Sub StoreOriginalValues (results As IList)

Parameters

results
IList

The result of the operations.

Remarks

When you derive from this class you can override this method and call the StoreOriginalValues method to determine which columns should be store for optimistic concurrency.

Applies to

StoreOriginalValues(IList, Func<PropertyDescriptor,Boolean>)

Stores the original values from the select operation in the control's view state when delete or update operations are enabled.

protected:
 void StoreOriginalValues(System::Collections::IList ^ results, Func<System::ComponentModel::PropertyDescriptor ^, bool> ^ include);
protected void StoreOriginalValues (System.Collections.IList results, Func<System.ComponentModel.PropertyDescriptor,bool> include);
member this.StoreOriginalValues : System.Collections.IList * Func<System.ComponentModel.PropertyDescriptor, bool> -> unit
Protected Sub StoreOriginalValues (results As IList, include As Func(Of PropertyDescriptor, Boolean))

Parameters

results
IList

The result of the operation.

include
Func<PropertyDescriptor,Boolean>

The method that determines the properties to include.

Applies to