AdsDataReader.IsStatic

Advantage .NET Data Provider

  Previous topic Next topic  

Indicates whether or not a result set is static (read-only) or live (updateable).

public bool IsStatic { get; }

Remarks

The IsStatic property reflects the type of cursor returned by the SQL statement (or direct table open). There is a one-to-one correlation between this property and the capability to use the AdsCommandBuilder to automatically generate commands for updating a result set. If this property returns False, it is not possible to use AdsCommandBuilder to generate the update commands for the statement. For information about these cursor types, see Live versus Static Cursors in the Advantage Help file.

See Also

AdsCommandBuilder