LinqDataSourceView.ValidateInsertSupported(IDictionary) Metod

Definition

Verifierar att villkoren finns för att utföra en infogningsåtgärd.

protected:
 virtual void ValidateInsertSupported(System::Collections::IDictionary ^ values);
protected virtual void ValidateInsertSupported(System.Collections.IDictionary values);
abstract member ValidateInsertSupported : System.Collections.IDictionary -> unit
override this.ValidateInsertSupported : System.Collections.IDictionary -> unit
Protected Overridable Sub ValidateInsertSupported (values As IDictionary)

Parametrar

values
IDictionary

En ordlista som innehåller radvärden som ska infogas.

Undantag

Egenskapen GroupBy eller SelectNew innehåller ett värde eller så innehåller parametern values inga objekt.

Kommentarer

Du kan inte infoga data när GroupBy egenskapen eller egenskapen SelectNew innehåller ett annat värde än null. För mer information, se egenskapen LinqDataSource.EnableInsert.

Gäller för