Share via


AdoDotNetObjectSelector.ApplyMappings Method

Definition

Applies the selector mappings.

protected:
 static void ApplyMappings(System::Data::DataTable ^ dataTable, System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ mappings);
protected static void ApplyMappings (System.Data.DataTable dataTable, System.Collections.Generic.IDictionary<string,object> mappings);
static member ApplyMappings : System.Data.DataTable * System.Collections.Generic.IDictionary<string, obj> -> unit
Protected Shared Sub ApplyMappings (dataTable As DataTable, mappings As IDictionary(Of String, Object))

Parameters

dataTable
DataTable

The schema returned by the call to the GetSchema() method.

mappings
IDictionary<String,Object>

Key/value pairs containing the selector mappings.

Exceptions

The schema parameter is null.

Applies to