Search Results for

    Show / Hide Table of Contents

    Interface IReader

    Reads data for a given data source

    Inherited Members
    ISimpleReader.GetColumnType(string)
    ISimpleReader.GetTotalCount()
    ISimpleReader.ExecuteQuery()
    ISimpleReader.ReadNextResult()
    ISimpleReader.GetResultValue(string)
    ISimpleReader.Columns
    IDisposable.Dispose()
    Namespace: LemonEdge.DataAccess.Core.Abstractions.Factories
    Assembly: LemonEdge.DataAccess.Core.Abstractions.dll
    Syntax
    public interface IReader : ISimpleReader, IDisposable

    Properties

    CommandTimeout

    The default comman timeout to use for the reader

    Declaration
    int? CommandTimeout { get; set; }
    Property Value
    Type Description
    int?

    Reader

    Underlyig reader

    Declaration
    IAsyncDataReader Reader { get; }
    Property Value
    Type Description
    IAsyncDataReader

    Methods

    CloseQuery()

    Closes the query.

    Declaration
    void CloseQuery()

    ExecuteQuery(IDbConnection)

    Executes a query.

    Declaration
    Task ExecuteQuery(IDbConnection connection)
    Parameters
    Type Name Description
    IDbConnection connection
    Returns
    Type Description
    Task

    GetConnection()

    Gets the connection for the reader

    Declaration
    Task<IAsyncDbConnection> GetConnection()
    Returns
    Type Description
    Task<IAsyncDbConnection>

    Extension Methods

    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.