Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » SQL Anywhere 服务器 - 编程 » SQL Anywhere 数据访问 API » SQL Anywhere .NET 2.0 API 参考 » iAnywhere.Data.SQLAnywhere 命名空间 (.NET 2.0) » SABulkCopyColumnMappingCollection 类 » Add 方法

 

Add(String, String) 方法

通过使用列名指定源列和目标列来创建新的 SABulkCopyColumnMapping 对象,并将该映射添加到集合中。

语法
Visual Basic

Public Function Add( _
   ByVal sourceColumn As String, _
   ByVal destinationColumn As String _
) As SABulkCopyColumnMapping
C#

public SABulkCopyColumnMapping Add(
   string  sourceColumn,
   string  destinationColumn
);
参数
  • sourceColumn   源列在数据源内的名称。

  • destinationColumn   目标列在目标表内的名称。

注释

Restrictions: 无法在 .NET Compact Framework 2.0 中使用 SABulkCopyColumnMappingCollection 类。

另请参见