C# Class FdoToolbox.Core.Feature.FdoSqlNonQueryReader

A SQL reader that contains the result of a non-SELECT SQL query
Inheritance: FdoSqlReader
Afficher le fichier Open project: jumpinjackie/fdotoolbox

Méthodes publiques

Méthode Description
Close ( ) : void

Closes this instance.

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

GetBoolean ( int i ) : bool

Gets the value of the specified column as a Boolean.

GetBoolean ( string name ) : bool

Gets the boolean.

GetByte ( int i ) : byte

Gets the 8-bit unsigned integer value of the specified column.

GetByte ( string name ) : byte

Gets the byte.

GetBytes ( int i, long fieldOffset, byte buffer, int bufferoffset, int length ) : long

Reads a stream of bytes from the specified column offset into the buffer as an array, starting at the given buffer offset.

GetChar ( int i ) : char

Gets the character value of the specified column.

GetChars ( int i, long fieldoffset, char buffer, int bufferoffset, int length ) : long

Reads a stream of characters from the specified column offset into the buffer as an array, starting at the given buffer offset.

GetClassName ( ) : string

Gets the name of the feature class that this reader originates from. If this reader was produced from a SQL or aggregate query, an empty string is returned.

GetColumnCount ( ) : int

Gets the column count.

GetColumnName ( int index ) : string

Gets the name of the column.

GetColumnType ( string name ) : OSGeo.FDO.Schema.DataType

Gets the type of the column.

GetData ( int i ) : System.Data.IDataReader

Returns an T:System.Data.IDataReader for the specified column ordinal.

GetDataTypeName ( int i ) : string

Gets the data type information for the specified field.

GetDateTime ( int i ) : System.DateTime

Gets the date and time data value of the specified field.

GetDateTime ( string name ) : System.DateTime

Gets the date time.

GetDecimal ( int i ) : decimal

Gets the fixed-position numeric value of the specified field.

GetDouble ( int i ) : double

Gets the double-precision floating point number of the specified field.

GetDouble ( string name ) : double

Gets the double.

GetFdoPropertyType ( string name ) : FdoPropertyType

Gets the type of the fdo property.

GetFieldType ( int i ) : Type

Gets the T:System.Type information corresponding to the type of T:System.Object that would be returned from M:System.Data.IDataRecord.GetValue(System.Int32).

GetFloat ( int i ) : float

Gets the single-precision floating point number of the specified field.

GetGeometry ( string name ) : byte[]

Gets the geometry.

GetGuid ( int i ) : System.Guid

Returns the GUID value of the specified field.

GetInt16 ( int i ) : short

Gets the 16-bit signed integer value of the specified field.

GetInt16 ( string name ) : short

Gets the int16.

GetInt32 ( int i ) : int

Gets the 32-bit signed integer value of the specified field.

GetInt32 ( string name ) : int

Gets the int32.

GetInt64 ( int i ) : long

Gets the 64-bit signed integer value of the specified field.

GetInt64 ( string name ) : long

Gets the int64.

GetLOB ( string name ) : OSGeo.FDO.Expression.LOBValue

Gets the LOB.

GetLOBStreamReader ( string name ) : OSGeo.FDO.Common.IStreamReader

Gets the LOB stream reader.

GetName ( int i ) : string

Gets the name for the field to find.

GetOrdinal ( string name ) : int

Return the index of the named field.

GetPropertyType ( string name ) : OSGeo.FDO.Schema.PropertyType

Gets the type of the property.

GetSchemaTable ( ) : System.Data.DataTable

Returns a T:System.Data.DataTable that describes the column metadata of the T:System.Data.IDataReader.

GetSingle ( string name ) : float

Gets the single.

GetSpatialContextAssociation ( string name ) : string

Gets the spatial context association for a geometry property

GetString ( int i ) : string

Gets the string value of the specified field.

GetString ( string name ) : string

Gets the string.

GetValue ( int i ) : object

Return the value of the specified field.

GetValues ( object values ) : int

Gets all the attribute fields in the collection for the current record.

IsDBNull ( int i ) : bool

Return whether the specified field is set to null.

IsIdentity ( string name ) : bool

Determines whether the specified property name is an identity property

IsNull ( string name ) : bool

Determines whether the specified name is null.

NextResult ( ) : bool

Advances the data reader to the next result, when reading the results of batch SQL statements.

Read ( ) : bool

Advances the T:System.Data.IDataReader to the next record.

ReadNext ( ) : bool

Reads the next.

this ( int i ) : object

Gets the System.Object with the specified i.

this ( string name ) : object

Gets the System.Object with the specified name.

Private Methods

Méthode Description
FdoSqlNonQueryReader ( int affected ) : System

Method Details

Close() public méthode

Closes this instance.
public Close ( ) : void
Résultat void

Dispose() public méthode

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Résultat void

GetBoolean() public méthode

Gets the value of the specified column as a Boolean.
The index passed was outside the range of 0 through .
public GetBoolean ( int i ) : bool
i int The zero-based column ordinal.
Résultat bool

GetBoolean() public méthode

Gets the boolean.
public GetBoolean ( string name ) : bool
name string The name.
Résultat bool

GetByte() public méthode

Gets the 8-bit unsigned integer value of the specified column.
The index passed was outside the range of 0 through .
public GetByte ( int i ) : byte
i int The zero-based column ordinal.
Résultat byte

GetByte() public méthode

Gets the byte.
public GetByte ( string name ) : byte
name string The name.
Résultat byte

GetBytes() public méthode

Reads a stream of bytes from the specified column offset into the buffer as an array, starting at the given buffer offset.
The index passed was outside the range of 0 through .
public GetBytes ( int i, long fieldOffset, byte buffer, int bufferoffset, int length ) : long
i int The zero-based column ordinal.
fieldOffset long The index within the field from which to start the read operation.
buffer byte The buffer into which to read the stream of bytes.
bufferoffset int The index for to start the read operation.
length int The number of bytes to read.
Résultat long

GetChar() public méthode

Gets the character value of the specified column.
The index passed was outside the range of 0 through .
public GetChar ( int i ) : char
i int The zero-based column ordinal.
Résultat char

GetChars() public méthode

Reads a stream of characters from the specified column offset into the buffer as an array, starting at the given buffer offset.
The index passed was outside the range of 0 through .
public GetChars ( int i, long fieldoffset, char buffer, int bufferoffset, int length ) : long
i int The zero-based column ordinal.
fieldoffset long The index within the row from which to start the read operation.
buffer char The buffer into which to read the stream of bytes.
bufferoffset int The index for to start the read operation.
length int The number of bytes to read.
Résultat long

GetClassName() public méthode

Gets the name of the feature class that this reader originates from. If this reader was produced from a SQL or aggregate query, an empty string is returned.
public GetClassName ( ) : string
Résultat string

GetColumnCount() public méthode

Gets the column count.
public GetColumnCount ( ) : int
Résultat int

GetColumnName() public méthode

Gets the name of the column.
public GetColumnName ( int index ) : string
index int The index.
Résultat string

GetColumnType() public méthode

Gets the type of the column.
public GetColumnType ( string name ) : OSGeo.FDO.Schema.DataType
name string The name.
Résultat OSGeo.FDO.Schema.DataType

GetData() public méthode

Returns an T:System.Data.IDataReader for the specified column ordinal.
The index passed was outside the range of 0 through .
public GetData ( int i ) : System.Data.IDataReader
i int The index of the field to find.
Résultat System.Data.IDataReader

GetDataTypeName() public méthode

Gets the data type information for the specified field.
The index passed was outside the range of 0 through .
public GetDataTypeName ( int i ) : string
i int The index of the field to find.
Résultat string

GetDateTime() public méthode

Gets the date and time data value of the specified field.
The index passed was outside the range of 0 through .
public GetDateTime ( int i ) : System.DateTime
i int The index of the field to find.
Résultat System.DateTime

GetDateTime() public méthode

Gets the date time.
public GetDateTime ( string name ) : System.DateTime
name string The name.
Résultat System.DateTime

GetDecimal() public méthode

Gets the fixed-position numeric value of the specified field.
The index passed was outside the range of 0 through .
public GetDecimal ( int i ) : decimal
i int The index of the field to find.
Résultat decimal

GetDouble() public méthode

Gets the double-precision floating point number of the specified field.
The index passed was outside the range of 0 through .
public GetDouble ( int i ) : double
i int The index of the field to find.
Résultat double

GetDouble() public méthode

Gets the double.
public GetDouble ( string name ) : double
name string The name.
Résultat double

GetFdoPropertyType() public méthode

Gets the type of the fdo property.
public GetFdoPropertyType ( string name ) : FdoPropertyType
name string The name.
Résultat FdoPropertyType

GetFieldType() public méthode

Gets the T:System.Type information corresponding to the type of T:System.Object that would be returned from M:System.Data.IDataRecord.GetValue(System.Int32).
The index passed was outside the range of 0 through .
public GetFieldType ( int i ) : Type
i int The index of the field to find.
Résultat System.Type

GetFloat() public méthode

Gets the single-precision floating point number of the specified field.
The index passed was outside the range of 0 through .
public GetFloat ( int i ) : float
i int The index of the field to find.
Résultat float

GetGeometry() public méthode

Gets the geometry.
public GetGeometry ( string name ) : byte[]
name string The name.
Résultat byte[]

GetGuid() public méthode

Returns the GUID value of the specified field.
The index passed was outside the range of 0 through .
public GetGuid ( int i ) : System.Guid
i int The index of the field to find.
Résultat System.Guid

GetInt16() public méthode

Gets the 16-bit signed integer value of the specified field.
The index passed was outside the range of 0 through .
public GetInt16 ( int i ) : short
i int The index of the field to find.
Résultat short

GetInt16() public méthode

Gets the int16.
public GetInt16 ( string name ) : short
name string The name.
Résultat short

GetInt32() public méthode

Gets the 32-bit signed integer value of the specified field.
The index passed was outside the range of 0 through .
public GetInt32 ( int i ) : int
i int The index of the field to find.
Résultat int

GetInt32() public méthode

Gets the int32.
public GetInt32 ( string name ) : int
name string The name.
Résultat int

GetInt64() public méthode

Gets the 64-bit signed integer value of the specified field.
The index passed was outside the range of 0 through .
public GetInt64 ( int i ) : long
i int The index of the field to find.
Résultat long

GetInt64() public méthode

Gets the int64.
public GetInt64 ( string name ) : long
name string The name.
Résultat long

GetLOB() public méthode

Gets the LOB.
public GetLOB ( string name ) : OSGeo.FDO.Expression.LOBValue
name string The name.
Résultat OSGeo.FDO.Expression.LOBValue

GetLOBStreamReader() public méthode

Gets the LOB stream reader.
public GetLOBStreamReader ( string name ) : OSGeo.FDO.Common.IStreamReader
name string The name.
Résultat OSGeo.FDO.Common.IStreamReader

GetName() public méthode

Gets the name for the field to find.
The index passed was outside the range of 0 through .
public GetName ( int i ) : string
i int The index of the field to find.
Résultat string

GetOrdinal() public méthode

Return the index of the named field.
public GetOrdinal ( string name ) : int
name string The name of the field to find.
Résultat int

GetPropertyType() public méthode

Gets the type of the property.
public GetPropertyType ( string name ) : OSGeo.FDO.Schema.PropertyType
name string The name.
Résultat OSGeo.FDO.Schema.PropertyType

GetSchemaTable() public méthode

Returns a T:System.Data.DataTable that describes the column metadata of the T:System.Data.IDataReader.
The is closed.
public GetSchemaTable ( ) : System.Data.DataTable
Résultat System.Data.DataTable

GetSingle() public méthode

Gets the single.
public GetSingle ( string name ) : float
name string The name.
Résultat float

GetSpatialContextAssociation() public méthode

Gets the spatial context association for a geometry property
public GetSpatialContextAssociation ( string name ) : string
name string
Résultat string

GetString() public méthode

Gets the string value of the specified field.
The index passed was outside the range of 0 through .
public GetString ( int i ) : string
i int The index of the field to find.
Résultat string

GetString() public méthode

Gets the string.
public GetString ( string name ) : string
name string The name.
Résultat string

GetValue() public méthode

Return the value of the specified field.
The index passed was outside the range of 0 through .
public GetValue ( int i ) : object
i int The index of the field to find.
Résultat object

GetValues() public méthode

Gets all the attribute fields in the collection for the current record.
public GetValues ( object values ) : int
values object An array of to copy the attribute fields into.
Résultat int

IsDBNull() public méthode

Return whether the specified field is set to null.
The index passed was outside the range of 0 through .
public IsDBNull ( int i ) : bool
i int The index of the field to find.
Résultat bool

IsIdentity() public méthode

Determines whether the specified property name is an identity property
public IsIdentity ( string name ) : bool
name string The name.
Résultat bool

IsNull() public méthode

Determines whether the specified name is null.
public IsNull ( string name ) : bool
name string The name.
Résultat bool

NextResult() public méthode

Advances the data reader to the next result, when reading the results of batch SQL statements.
public NextResult ( ) : bool
Résultat bool

Read() public méthode

Advances the T:System.Data.IDataReader to the next record.
public Read ( ) : bool
Résultat bool

ReadNext() public méthode

Reads the next.
public ReadNext ( ) : bool
Résultat bool

this() public méthode

Gets the System.Object with the specified i.
public this ( int i ) : object
i int
Résultat object

this() public méthode

Gets the System.Object with the specified name.
public this ( string name ) : object
name string
Résultat object