Imports contacts from a data set into the contact list.
Namespace: ININ.IceLib.Configuration.DialerAssembly: ININ.IceLib.Dialer (in ININ.IceLib.Dialer.dll) Version: 0.0.0.0 (22.3.0.208)
Syntax
C# |
---|
public int BulkImport( HttpRequestKey requestKey, IDataSet source, IDictionary<DBColumn, DBColumn> columnMapping, bool cleanInputData ) |
Visual Basic |
---|
Public Function BulkImport ( _ requestKey As HttpRequestKey, _ source As IDataSet, _ columnMapping As IDictionary(Of DBColumn, DBColumn), _ cleanInputData As Boolean _ ) As Integer |
Parameters
- requestKey
- Type: ININ.IceLib.Configuration.Dialer..::..HttpRequestKey
The request key obtained by calling GetHttpRequestKey(ConfigurationId, ServerType).
- source
- Type: ININ.IceLib.Configuration.Dialer.DataTypes..::..IDataSet
The data set to to pull records from.
- columnMapping
- Type: System.Collections.Generic..::..IDictionary<(Of <(<'DBColumn, DBColumn>)>)>
A mapping between the data source columns (keys) and the contact list columns (values).
- cleanInputData
- Type: System..::..Boolean
remove special characters that might cause BCP to fail.
Remarks
If the contact list doesn't have an associated table, a new table will be created.