An interface for accessing information from a db result
Namespace:
Contracts.Databases
Assembly: Contracts (in Contracts.dll)
Top
Assembly: Contracts (in Contracts.dll)
<System.Reflection.Obfuscation(Exclude = true, ApplyToMembers = true)> _
Public Interface IDBReader
Inherits IDisposable
This language is not supported or no code example is available.
[System.Reflection.Obfuscation(Exclude = true, ApplyToMembers = true)]
public interface IDBReader : IDisposable
This language is not supported or no code example is available.
[System.Reflection.Obfuscation(Exclude = true, ApplyToMembers = true)]
public interface class IDBReader : public IDisposable^
This language is not supported or no code example is available.
| Name | Description | |
|---|---|---|
|
Close() | |
|
Fill<T>(ref T, Action<IDBReaderT>) | Fill an existing data structure with the first result; |
|
GetBoolean(int) | |
|
GetBoolean(string) | |
|
GetByte(int) | |
|
GetByte(string) | |
|
GetColumn(string) | Given a column name, work out its position |
|
GetColumnName(int) | Get a column name - could be slow |
|
GetColumnType(int) | Get the type of a column |
|
GetDateTime(int) | |
|
GetDateTime(string) | |
|
GetDouble(int) | |
|
GetDouble(string) | |
|
GetEntityID(ref int, Func<Int32Guid>) | Read an entity id |
|
GetEntityID(string, Func<Int32Guid>) | |
|
GetGuid(int) | |
|
GetGuid(string) | |
|
GetInt16(int) | |
|
GetInt16(string) | |
|
GetInt32(int) | |
|
GetInt32(string) | |
|
GetInt64(int) | |
|
GetInt64(string) | |
|
GetNullableString(int) | |
|
GetNullableString(string) | |
|
GetNumberOfColumns() | Get the number of columns |
|
GetString(int) | |
|
GetString(string) | |
|
GetValue(int) | |
|
GetValue(string) | |
|
IsDBNull(int) | |
|
IsDBNull(string) | |
|
Read() | Read the next result set |
|
SelectAll<T>(Func<IDBReaderT>) | Select all data from a reader into an enumerable for a type |