QueryableDataSourceView.BuildDeleteObject Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Skapar de objekt som ska användas för borttagningsåtgärden.
protected:
System::Web::UI::WebControls::QueryableDataSourceEditData ^ BuildDeleteObject(System::Collections::IDictionary ^ keys, System::Collections::IDictionary ^ oldValues, System::Collections::Generic::IDictionary<System::String ^, Exception ^> ^ validationErrors);
protected System.Web.UI.WebControls.QueryableDataSourceEditData BuildDeleteObject(System.Collections.IDictionary keys, System.Collections.IDictionary oldValues, System.Collections.Generic.IDictionary<string,Exception> validationErrors);
member this.BuildDeleteObject : System.Collections.IDictionary * System.Collections.IDictionary * System.Collections.Generic.IDictionary<string, Exception> -> System.Web.UI.WebControls.QueryableDataSourceEditData
Protected Function BuildDeleteObject (keys As IDictionary, oldValues As IDictionary, validationErrors As IDictionary(Of String, Exception)) As QueryableDataSourceEditData
Parametrar
- keys
- IDictionary
Nycklarna för de rader som ska tas bort.
- oldValues
- IDictionary
Radvärdena som ska utvärderas för att identifiera datakonflikter.
- validationErrors
- IDictionary<String,Exception>
Listan över konverteringsfel som skapas i datakällan när en CRUD-åtgärd misslyckas.
Returer
De objekt som ska användas för borttagningsåtgärden.