AdoDotNetObjectSelector.ApplyMappings 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
应用选择器映射。
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))
参数
- dataTable
- DataTable
调用方法返回的架构 GetSchema() 。
- mappings
- IDictionary<String,Object>
包含选择器映射的键/值对。
例外
schema 参数为 null。