public sealed class FakeDataReader : DbDataReader
Public NotInheritable Class FakeDataReader
Inherits DbDataReader
public ref class FakeDataReader sealed : public DbDataReader
[<SealedAttribute>]
type FakeDataReader =
class
inherit DbDataReader
end
FakeDataReader() | Инициализирует новый экземпляр класса FakeDataReader |
FakeDataReader(Object[,], String[]) | Инициализирует новый экземпляр класса FakeDataReader |
FakeDataReader(Type[], String[]) | Инициализирует новый экземпляр класса FakeDataReader |
Depth | (Переопределяет DbDataReader.Depth) |
FieldCount | (Переопределяет DbDataReader.FieldCount) |
HasRows | (Переопределяет DbDataReader.HasRows) |
IsClosed | (Переопределяет DbDataReader.IsClosed) |
Item[Int32] | (Переопределяет DbDataReader.Item[Int32]) |
Item[String] | (Переопределяет DbDataReader.Item[String]) |
RecordsAffected | (Переопределяет DbDataReader.RecordsAffected) |
VisibleFieldCount | Gets the number of fields in the DbDataReader that are not hidden. (Унаследован от DbDataReader) |
Close | (Переопределяет DbDataReader.Close()) |
CloseAsync | Asynchronously closes the DbDataReader object. (Унаследован от DbDataReader) |
Dispose() | Releases all resources used by the current instance of the DbDataReader class. (Унаследован от DbDataReader) |
Dispose(Boolean) | Releases the managed resources used by the DbDataReader and optionally releases the unmanaged resources. (Унаследован от DbDataReader) |
DisposeAsync | Asynchronously releases all resources used by the current instance of the DbDataReader class. (Унаследован от DbDataReader) |
Equals | Determines whether the specified object is equal to the current object. (Унаследован от Object) |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Унаследован от Object) |
GetBoolean | (Переопределяет DbDataReader.GetBoolean(Int32)) |
GetByte | (Переопределяет DbDataReader.GetByte(Int32)) |
GetBytes | (Переопределяет DbDataReader.GetBytes(Int32, Int64, Byte[], Int32, Int32)) |
GetChar | (Переопределяет DbDataReader.GetChar(Int32)) |
GetChars | (Переопределяет DbDataReader.GetChars(Int32, Int64, Char[], Int32, Int32)) |
GetColumnSchemaAsync | This is the asynchronous version of GetColumnSchema(DbDataReader).
Providers should override with an appropriate implementation.
The cancellationToken can optionally be honored.
The default implementation invokes the synchronous GetColumnSchema(DbDataReader) call and returns a completed task.
The default implementation will return a cancelled task if passed an already cancelled cancellationToken.
Exceptions thrown by GetColumnSchema(DbDataReader) will be communicated via the returned Task Exception property. (Унаследован от DbDataReader) |
GetData | Returns a nested data reader for the requested column. (Унаследован от DbDataReader) |
GetDataTypeName | (Переопределяет DbDataReader.GetDataTypeName(Int32)) |
GetDateTime | (Переопределяет DbDataReader.GetDateTime(Int32)) |
GetDbDataReader | (Переопределяет DbDataReader.GetDbDataReader(Int32)) |
GetDecimal | (Переопределяет DbDataReader.GetDecimal(Int32)) |
GetDouble | (Переопределяет DbDataReader.GetDouble(Int32)) |
GetEnumerator | (Переопределяет DbDataReader.GetEnumerator()) |
GetFieldType | (Переопределяет DbDataReader.GetFieldType(Int32)) |
GetFieldValue<T> | Gets the value of the specified column as the requested type. (Унаследован от DbDataReader) |
GetFieldValueAsync<T>(Int32) | Asynchronously gets the value of the specified column as the requested type. (Унаследован от DbDataReader) |
GetFieldValueAsync<T>(Int32, CancellationToken) | Asynchronously gets the value of the specified column as the requested type. (Унаследован от DbDataReader) |
GetFloat | (Переопределяет DbDataReader.GetFloat(Int32)) |
GetGuid | (Переопределяет DbDataReader.GetGuid(Int32)) |
GetHashCode | Serves as the default hash function. (Унаследован от Object) |
GetInt16 | (Переопределяет DbDataReader.GetInt16(Int32)) |
GetInt32 | (Переопределяет DbDataReader.GetInt32(Int32)) |
GetInt64 | (Переопределяет DbDataReader.GetInt64(Int32)) |
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Унаследован от MarshalByRefObject) Устарело. |
GetName | (Переопределяет DbDataReader.GetName(Int32)) |
GetOrdinal | (Переопределяет DbDataReader.GetOrdinal(String)) |
GetProviderSpecificFieldType | Gets the provider-specific type of the specified column. (Унаследован от DbDataReader) |
GetProviderSpecificValue | Gets the value of the specified column as an instance of a provider-specific type. (Унаследован от DbDataReader) |
GetProviderSpecificValues | Gets all provider-specific attribute columns in the collection for the current row. (Унаследован от DbDataReader) |
GetSchemaTable | (Переопределяет DbDataReader.GetSchemaTable()) |
GetSchemaTableAsync | This is the asynchronous version of GetSchemaTable().
Providers should override with an appropriate implementation.
The cancellationToken can optionally be honored.
The default implementation invokes the synchronous GetSchemaTable() call and returns a completed task.
The default implementation will return a cancelled task if passed an already cancelled cancellationToken.
Exceptions thrown by GetSchemaTable() will be communicated via the returned Task Exception property. (Унаследован от DbDataReader) |
GetStream | Gets a stream to retrieve data from the specified column. (Унаследован от DbDataReader) |
GetString | (Переопределяет DbDataReader.GetString(Int32)) |
GetTextReader | Gets a text reader to retrieve data from the column. (Унаследован от DbDataReader) |
GetType | Gets the Type of the current instance. (Унаследован от Object) |
GetValue | (Переопределяет DbDataReader.GetValue(Int32)) |
GetValues | (Переопределяет DbDataReader.GetValues(Object[])) |
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Унаследован от MarshalByRefObject) Устарело. |
IsDBNull | (Переопределяет DbDataReader.IsDBNull(Int32)) |
IsDBNullAsync(Int32) | Asynchronously gets a value that indicates whether the column contains non-existent or missing values. (Унаследован от DbDataReader) |
IsDBNullAsync(Int32, CancellationToken) | Asynchronously gets a value that indicates whether the column contains non-existent or missing values. (Унаследован от DbDataReader) |
MemberwiseClone() | Creates a shallow copy of the current Object. (Унаследован от Object) |
MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Унаследован от MarshalByRefObject) |
NextResult | (Переопределяет DbDataReader.NextResult()) |
NextResultAsync() | Asynchronously advances the reader to the next result when reading the results of a batch of statements. (Унаследован от DbDataReader) |
NextResultAsync(CancellationToken) | Asynchronously advances the reader to the next result when reading the results of a batch of statements. (Унаследован от DbDataReader) |
Read | (Переопределяет DbDataReader.Read()) |
ReadAsync() | Asynchronously advances the reader to the next record in a result set. (Унаследован от DbDataReader) |
ReadAsync(CancellationToken) | Asynchronously advances the reader to the next record in a result set. (Унаследован от DbDataReader) |
ToString | Returns a string that represents the current object. (Унаследован от Object) |
GetSequentialBytesAsync |
Выполняет чтение массива байт с указанным индексом, где предполагается, что поле в БД не равно null.
Рекомендуется использовать этот метод вместо GetBytes(IDataRecord, Int32), если массив байт может быть размером более 5 Мб.
Для этого требуется открыть reader следующим образом:
DbManager.ExecuteReaderAsync(CommandBehavior.SequentialAccess).
(Определяется Extensions) |
GetSequentialNullableBytesAsync |
Выполняет чтение массива байт с указанным индексом, где предполагается, что поле в БД может быть равно null.
Рекомендуется использовать этот метод вместо GetNullableBytes(IDataRecord, Int32), если массив байт может быть размером более 5 Мб.
Для этого требуется открыть reader следующим образом:
DbManager.ExecuteReaderAsync(CommandBehavior.SequentialAccess).
(Определяется Extensions) |
GetSequentialNullableStringAsync |
Выполняет чтение строки с указанным индексом, где предполагается, что строка в БД может быть равна null.
Рекомендуется использовать этот метод вместо GetNullableString(IDataRecord, Int32), если строка может быть размером более 5 Мб.
Для этого требуется открыть reader следующим образом:
DbManager.ExecuteReaderAsync(CommandBehavior.SequentialAccess).
(Определяется Extensions) |
GetSequentialStringAsync |
Выполняет чтение строки с указанным индексом, где предполагается, что строка в БД не равна null.
Рекомендуется использовать этот метод вместо GetString(Int32), если строка может быть размером более 5 Мб.
Для этого требуется открыть reader следующим образом:
DbManager.ExecuteReaderAsync(CommandBehavior.SequentialAccess).
(Определяется Extensions) |