dotConnect for Zoho Books Documentation
Devart.Common Namespace / DbParameterBase Class / SourceVersion Property

In This Topic
    SourceVersion Property
    In This Topic
    Gets or sets the System.Data.DataRowVersion to use when loading Value.
    Syntax
    'Declaration
     
    Public Overrides Property SourceVersion As DataRowVersion
    public override DataRowVersion SourceVersion {get; set;}

    Property Value

    One of the System.Data.DataRowVersion values. The default value is Current.
    Remarks
    The SourceVersion is used by System.Data.Common.DbDataAdapter.UpdateCommand during an System.Data.Common.DbDataAdapter.Update() operation to determine whether the parameter value is set to Current or Original. This allows primary keys to be updated. This property is ignored by System.Data.Common.DataAdapter.InsertCommand and System.Data.Common.DbDataAdapter.DeleteCommand.

    This property is set to the version of the System.Data.DataRow used by either the System.Data.DataRow.Item property (System.Data.DataRow indexer), or the System.Data.DataRow.GetChildRows() method of the System.Data.DataRow object.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also