Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies the selector mappings.
Namespace: Microsoft.VisualStudio.Data.Framework.AdoDotNet
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Protected Shared Sub ApplyMappings ( _
dataTable As DataTable, _
mappings As IDictionary(Of String, Object) _
)
protected static void ApplyMappings(
DataTable dataTable,
IDictionary<string, Object> mappings
)
protected:
static void ApplyMappings(
DataTable^ dataTable,
IDictionary<String^, Object^>^ mappings
)
static member ApplyMappings :
dataTable:DataTable *
mappings:IDictionary<string, Object> -> unit
protected static function ApplyMappings(
dataTable : DataTable,
mappings : IDictionary<String, Object>
)
Parameters
- dataTable
Type: System.Data.DataTable
The schema returned by the call to the GetSchema method.
- mappings
Type: System.Collections.Generic.IDictionary<String, Object>
Key/value pairs containing the selector mappings.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The schema parameter is nulla null reference (Nothing in Visual Basic). |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.