Search Results for

    Show / Hide Table of Contents

    Class ParamHelper

    Inheritance
    object
    ParamHelper
    FunctionParamHelper
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.Connections.Database.Migrations.Core.SQLWriters.Functions
    Assembly: LemonEdge.Database.Connector.dll
    Syntax
    public abstract class ParamHelper

    Constructors

    ParamHelper()

    Declaration
    protected ParamHelper()

    ParamHelper(IEnumerable<string>)

    Declaration
    protected ParamHelper(IEnumerable<string> parameterNames)
    Parameters
    Type Name Description
    IEnumerable<string> parameterNames

    ParamHelper(IEnumerable<(string Name, string DefaultValue)>)

    Declaration
    protected ParamHelper(IEnumerable<(string Name, string DefaultValue)> parameters)
    Parameters
    Type Name Description
    IEnumerable<(string FileFormatName, string FileExtension)> parameters

    Methods

    AddParam(string)

    Declaration
    public ParamHelper AddParam(string parameterName)
    Parameters
    Type Name Description
    string parameterName
    Returns
    Type Description
    ParamHelper

    AddParam(string, string)

    Declaration
    public ParamHelper AddParam(string parameterName, string defaultValue)
    Parameters
    Type Name Description
    string parameterName
    string defaultValue
    Returns
    Type Description
    ParamHelper

    GetParamValue(string)

    Declaration
    public string GetParamValue(string paramName)
    Parameters
    Type Name Description
    string paramName
    Returns
    Type Description
    string

    HasParam(string)

    Declaration
    public bool HasParam(string paramName)
    Parameters
    Type Name Description
    string paramName
    Returns
    Type Description
    bool

    SetAllAsVariables()

    Declaration
    public ParamHelper SetAllAsVariables()
    Returns
    Type Description
    ParamHelper

    SetAllToNull()

    Declaration
    public ParamHelper SetAllToNull()
    Returns
    Type Description
    ParamHelper

    SetNullableValue<T>(string, T?)

    Declaration
    protected ParamHelper SetNullableValue<T>(string paramName, T? value) where T : struct
    Parameters
    Type Name Description
    string paramName
    T? value
    Returns
    Type Description
    ParamHelper
    Type Parameters
    Name Description
    T

    SetValueToValueNamedVariable(string)

    Declaration
    protected ParamHelper SetValueToValueNamedVariable(string paramName)
    Parameters
    Type Name Description
    string paramName
    Returns
    Type Description
    ParamHelper

    SetValueToVariable(string, string)

    Declaration
    protected ParamHelper SetValueToVariable(string paramName, string variableName)
    Parameters
    Type Name Description
    string paramName
    string variableName
    Returns
    Type Description
    ParamHelper

    SetValue<T>(string, T)

    Declaration
    protected ParamHelper SetValue<T>(string paramName, T value)
    Parameters
    Type Name Description
    string paramName
    T value
    Returns
    Type Description
    ParamHelper
    Type Parameters
    Name Description
    T

    ToFunctionCall(string)

    Declaration
    public string ToFunctionCall(string functionName)
    Parameters
    Type Name Description
    string functionName
    Returns
    Type Description
    string

    ToFunctionCall(string, IEnumerable<string>)

    Declaration
    public string ToFunctionCall(string functionName, IEnumerable<string> extraParameters)
    Parameters
    Type Name Description
    string functionName
    IEnumerable<string> extraParameters
    Returns
    Type Description
    string

    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.