AdoDotNetObjectSelector.ApplyMappings 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.
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.