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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기