Search Results for

    Show / Hide Table of Contents

    Class SQLWrapperResultRow

    A class used to return access the results of an individual sql wrapper result row

    Inheritance
    object
    SQLWrapperResultRow
    Implements
    IConvertableViewItem
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.API.Entities.Helpers
    Assembly: LemonEdge.API.dll
    Syntax
    public class SQLWrapperResultRow : IConvertableViewItem

    Constructors

    SQLWrapperResultRow(SQLWrapperInterpretor, ISQLWrapperResult)

    Creates a new sql wrapper result row

    Declaration
    public SQLWrapperResultRow(SQLWrapperInterpretor interprator, ISQLWrapperResult row)
    Parameters
    Type Name Description
    SQLWrapperInterpretor interprator

    The interpator for retrieving values from the specified result row

    ISQLWrapperResult row

    The row to return values for

    Methods

    CanConvertToType(Type)

    Declaration
    public bool CanConvertToType(Type type)
    Parameters
    Type Name Description
    Type type
    Returns
    Type Description
    bool

    Convert(IEntityRetriever, Type)

    Declaration
    public Task<object> Convert(IEntityRetriever context, Type toType)
    Parameters
    Type Name Description
    IEntityRetriever context
    Type toType
    Returns
    Type Description
    Task<object>

    GetValue(string)

    Returns the value of the specified column from the sql result row

    Declaration
    public object GetValue(string columnName)
    Parameters
    Type Name Description
    string columnName

    The name of the column to return the value of from the current sql wrapper result row

    Returns
    Type Description
    object

    The value of the specified column from the sql result row

    Implements

    IConvertableViewItem

    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.