QueryableDataSourceView.StoreOriginalValues Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Stores the original values from the Select operation in the control's view state.
Overloads
StoreOriginalValues(IList) |
Stores the original values from the |
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈