获取和设置要在装载 Value 时使用的 DataRowVersion。
Visual Basic Public Overrides Property SourceVersion As DataRowVersion
C# public override DataRowVersion SourceVersion { get; set; }
该属性在 Update 操作过程中由 UpdateCommand 使用,它决定将参数值设置为 Current 还是 Original。这使主键得以更新。InsertCommand 和 DeleteCommand 会忽略此属性。此属性设置为 Item 属性使用的 DataRow 的版本,或 DataRow 对象的 GetChildRows 方法。
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |