Click or drag to resize

ResultSet Class

A ResultSet contains the results returned from a database query (generally a table with multiple rows and fields). This class can be inherited from to create a ResultSet for a specific type of database object, e.g. a data reader.
Inheritance Hierarchy

Namespace:  Cadcorp.DataAccess
Assembly:  Cadcorp.GFB.DataAccess (in Cadcorp.GFB.DataAccess.dll) Version: 9.0.2618.0 (9.0.2618.0)
Syntax
public abstract class ResultSet

The ResultSet type exposes the following members.

Constructors
  NameDescription
Protected methodResultSet
Initializes a new instance of the ResultSet class
Top
Properties
  NameDescription
Public propertyHasRows
Returns true if the resultset contains data.
Top
Methods
  NameDescription
Public methodClose
Close the resultset:
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGet
Return the specified field in the current row:
Public methodGetBool
Returns a boolean field value.
Public methodGetDate
Returns a date field value.
Public methodGetDouble
Returns a double field value.
Public methodGetFloat
Returns a float field value.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetInt
Returns an int field value.
Public methodGetLong
Returns a long field value.
Public methodGetNullableBool
Returns a nullable boolean field value.
Public methodGetNullableDate
Returns a nullable date field value.
Public methodGetNullableDouble
Returns a nullable double field value;
Public methodGetNullableFloat
Returns a nullable float field.
Public methodGetNullableInt
Returns a nullable int field value.
Public methodGetNullableLong
Returns a nullable long field value.
Public methodGetString
Returns a string field value.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasValue
Returns whether the field has a non-null value or not:
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNext
Move to the next record in the resultset. Returns false if no more records remain:
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also