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 参考 » ULDataAdapter 类

 

InsertCommand 属性

指定当调用 DbDataAdapter.Update(System.Data.DataSet) 以向数据库中插入与 System.Data.DataSet 中已插入的行对应的行时,针对数据库执行的 ULCommand 对象。

语法
Visual Basic
Public Property InsertCommand As ULCommand
C#
public ULCommand InsertCommand { get; set; }
属性值

为向数据库中插入与 System.Data.DataSet 中已插入的行对应的行而执行的 ULCommand 对象。

注释

将 InsertCommand 指派给现有 ULCommand 对象时,不会复制 ULCommand 对象。InsertCommand 会保留对现有 ULCommand 的引用。

这是 System.Data.IDbDataAdapter.InsertCommand 和 System.Data.Common.DbDataAdapter.InsertCommand 的强类型版本。

另请参见