LinqDataSourceView.Update(IDictionary, IDictionary, IDictionary) 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.
Performs an update operation.
public:
int Update(System::Collections::IDictionary ^ keys, System::Collections::IDictionary ^ values, System::Collections::IDictionary ^ oldValues);
public int Update (System.Collections.IDictionary keys, System.Collections.IDictionary values, System.Collections.IDictionary oldValues);
override this.Update : System.Collections.IDictionary * System.Collections.IDictionary * System.Collections.IDictionary -> int
Public Function Update (keys As IDictionary, values As IDictionary, oldValues As IDictionary) As Integer
Parameters
- keys
- IDictionary
The row key values for the records to update.
- values
- IDictionary
The row values to update in the data source.
- oldValues
- IDictionary
The row values that are evaluated to detect data conflicts.
Returns
The number of rows that were updated in the data source.
Remarks
The Update
method calls the ExecuteUpdate(IDictionary, IDictionary, IDictionary) method, passing the keys, values, and oldValues parameters.
For information about how to update data through a LinqDataSource control, see the Update(IDictionary, IDictionary, IDictionary) method of the LinqDataSource class.
Applies to
See also
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για