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

SQL Anywhere 11.0.1 (中文) » UltraLite - .NET 编程 » UltraLite .NET 2.0 API 参考 » ULBulkCopyColumnMappingCollection 类 » Add 方法

 

Add(Int32, Int32) 方法

通过使用顺序号指定源列和目标列来创建新的 ULBulkCopyColumnMapping 实例,并将该映射添加到集合中。

语法
Visual Basic
Public Function Add( _
   ByVal sourceColumnOrdinal As Integer, _
   ByVal destinationColumnOrdinal As Integer _
) As ULBulkCopyColumnMapping
C#
public ULBulkCopyColumnMapping Add(
   int sourceColumnOrdinal,
   int destinationColumnOrdinal
);
参数
  • sourceColumnOrdinal   源列在数据源内的顺序位置。数据源中第一列的顺序位置为零。

  • destinationColumnOrdinal   目标列在目标表内的顺序位置。表中第一列的顺序位置为零。

注释

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

另请参见