Class ExpressionHelpers
This class is used by provider specific implementations. It is unlikely that you would reference this in consumer code.
Inheritance
System.Object
ExpressionHelpers
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: ArgentSea.dll
Syntax
public static class ExpressionHelpers
Methods
|
Improve this Doc
View Source
InParameterEnumXIntExpressionBuilder(String, Type, String, Type, IList<Expression>, ParameterExpression, ParameterExpression, HashSet<String>, Expression, Type, ParameterExpression, ILogger)
Declaration
public static void InParameterEnumXIntExpressionBuilder(string parameterName, Type staticType, string addMethodName, Type nullableBaseType, IList<Expression> expressions, ParameterExpression expSprocParameters, ParameterExpression expIgnoreParameters, HashSet<string> parameterNames, Expression propValue, Type propertyType, ParameterExpression expLogger, ILogger logger)
Parameters
Type |
Name |
Description |
System.String |
parameterName |
|
System.Type |
staticType |
|
System.String |
addMethodName |
|
System.Type |
nullableBaseType |
|
System.Collections.Generic.IList<System.Linq.Expressions.Expression> |
expressions |
|
System.Linq.Expressions.ParameterExpression |
expSprocParameters |
|
System.Linq.Expressions.ParameterExpression |
expIgnoreParameters |
|
System.Collections.Generic.HashSet<System.String> |
parameterNames |
|
System.Linq.Expressions.Expression |
propValue |
|
System.Type |
propertyType |
|
System.Linq.Expressions.ParameterExpression |
expLogger |
|
Microsoft.Extensions.Logging.ILogger |
logger |
|
|
Improve this Doc
View Source
InParameterSimpleBuilder(String, Type, ParameterExpression, ParameterExpression, Expression, IList<Expression>, Type, String, ConstantExpression, ConstantExpression, HashSet<String>, ParameterExpression, ILogger)
Declaration
public static void InParameterSimpleBuilder(string parameterName, Type propertyType, ParameterExpression expSprocParameters, ParameterExpression expIgnoreParameters, Expression expProperty, IList<Expression> expressions, Type staticType, string addMethod, ConstantExpression thirdArg, ConstantExpression forthArg, HashSet<string> parameterNames, ParameterExpression expLogger, ILogger logger)
Parameters
Type |
Name |
Description |
System.String |
parameterName |
|
System.Type |
propertyType |
|
System.Linq.Expressions.ParameterExpression |
expSprocParameters |
|
System.Linq.Expressions.ParameterExpression |
expIgnoreParameters |
|
System.Linq.Expressions.Expression |
expProperty |
|
System.Collections.Generic.IList<System.Linq.Expressions.Expression> |
expressions |
|
System.Type |
staticType |
|
System.String |
addMethod |
|
System.Linq.Expressions.ConstantExpression |
thirdArg |
|
System.Linq.Expressions.ConstantExpression |
forthArg |
|
System.Collections.Generic.HashSet<System.String> |
parameterNames |
|
System.Linq.Expressions.ParameterExpression |
expLogger |
|
Microsoft.Extensions.Logging.ILogger |
logger |
|
|
Improve this Doc
View Source
InParameterStringExpressionBuilder(String, Int32, Type, String, ConstantExpression, IList<Expression>, ParameterExpression, ParameterExpression, HashSet<String>, Expression, Type, ParameterExpression, ILogger)
Declaration
public static void InParameterStringExpressionBuilder(string parameterName, int length, Type staticType, string methodName, ConstantExpression expLocale, IList<Expression> expressions, ParameterExpression expSprocParameters, ParameterExpression expIgnoreParameters, HashSet<string> parameterNames, Expression propValue, Type propertyType, ParameterExpression expLogger, ILogger logger)
Parameters
Type |
Name |
Description |
System.String |
parameterName |
|
System.Int32 |
length |
|
System.Type |
staticType |
|
System.String |
methodName |
|
System.Linq.Expressions.ConstantExpression |
expLocale |
|
System.Collections.Generic.IList<System.Linq.Expressions.Expression> |
expressions |
|
System.Linq.Expressions.ParameterExpression |
expSprocParameters |
|
System.Linq.Expressions.ParameterExpression |
expIgnoreParameters |
|
System.Collections.Generic.HashSet<System.String> |
parameterNames |
|
System.Linq.Expressions.Expression |
propValue |
|
System.Type |
propertyType |
|
System.Linq.Expressions.ParameterExpression |
expLogger |
|
Microsoft.Extensions.Logging.ILogger |
logger |
|
|
Improve this Doc
View Source
InParmHelper(String, ParameterExpression, Expression, Type, String, ConstantExpression, ConstantExpression, ParameterExpression)
Declaration
public static Expression InParmHelper(string parameterName, ParameterExpression expSprocParameters, Expression propValue, Type staticType, string addMethod, ConstantExpression thirdArg, ConstantExpression forthArg, ParameterExpression expIgnoreParameters)
Parameters
Type |
Name |
Description |
System.String |
parameterName |
|
System.Linq.Expressions.ParameterExpression |
expSprocParameters |
|
System.Linq.Expressions.Expression |
propValue |
|
System.Type |
staticType |
|
System.String |
addMethod |
|
System.Linq.Expressions.ConstantExpression |
thirdArg |
|
System.Linq.Expressions.ConstantExpression |
forthArg |
|
System.Linq.Expressions.ParameterExpression |
expIgnoreParameters |
|
Returns
Type |
Description |
System.Linq.Expressions.Expression |
|
|
Improve this Doc
View Source
OutParameterBuilder(String, ParameterExpression, IList<Expression>, Type, String, ConstantExpression, ConstantExpression, HashSet<String>, ParameterExpression, ILogger)
Declaration
public static void OutParameterBuilder(string parameterName, ParameterExpression expSprocParameters, IList<Expression> expressions, Type staticType, string addMethod, ConstantExpression secondArg, ConstantExpression thirdArg, HashSet<string> parameterNames, ParameterExpression expIgnoreParameters, ILogger logger)
Parameters
Type |
Name |
Description |
System.String |
parameterName |
|
System.Linq.Expressions.ParameterExpression |
expSprocParameters |
|
System.Collections.Generic.IList<System.Linq.Expressions.Expression> |
expressions |
|
System.Type |
staticType |
|
System.String |
addMethod |
|
System.Linq.Expressions.ConstantExpression |
secondArg |
|
System.Linq.Expressions.ConstantExpression |
thirdArg |
|
System.Collections.Generic.HashSet<System.String> |
parameterNames |
|
System.Linq.Expressions.ParameterExpression |
expIgnoreParameters |
|
Microsoft.Extensions.Logging.ILogger |
logger |
|
|
Improve this Doc
View Source
ReaderEnumXIntExpressions(String, Expression, Type, IList<MethodCallExpression>, IList<Expression>, ParameterExpression, ParameterExpression, ParameterExpression, ref Int32, Type, ParameterExpression, ILogger)
Declaration
public static void ReaderEnumXIntExpressions(string columnName, Expression expProperty, Type baseType, IList<MethodCallExpression> columnLookupExpressions, IList<Expression> expressions, ParameterExpression prmSqlRdr, ParameterExpression expOrdinals, ParameterExpression expOrdinal, ref int propIndex, Type propertyType, ParameterExpression expLogger, ILogger logger)
Parameters
Type |
Name |
Description |
System.String |
columnName |
|
System.Linq.Expressions.Expression |
expProperty |
|
System.Type |
baseType |
|
System.Collections.Generic.IList<System.Linq.Expressions.MethodCallExpression> |
columnLookupExpressions |
|
System.Collections.Generic.IList<System.Linq.Expressions.Expression> |
expressions |
|
System.Linq.Expressions.ParameterExpression |
prmSqlRdr |
|
System.Linq.Expressions.ParameterExpression |
expOrdinals |
|
System.Linq.Expressions.ParameterExpression |
expOrdinal |
|
System.Int32 |
propIndex |
|
System.Type |
propertyType |
|
System.Linq.Expressions.ParameterExpression |
expLogger |
|
Microsoft.Extensions.Logging.ILogger |
logger |
|
|
Improve this Doc
View Source
ReaderNullableValueTypeExpressions(String, Expression, ConstantExpression, IList<MethodCallExpression>, IList<Expression>, ParameterExpression, ParameterExpression, ParameterExpression, ref Int32, Type, ParameterExpression, ILogger)
Declaration
public static void ReaderNullableValueTypeExpressions(string columnName, Expression expProperty, ConstantExpression expNullResult, IList<MethodCallExpression> columnLookupExpressions, IList<Expression> expressions, ParameterExpression prmSqlRdr, ParameterExpression expOrdinals, ParameterExpression expOrdinal, ref int propIndex, Type propertyType, ParameterExpression expLogger, ILogger logger)
Parameters
Type |
Name |
Description |
System.String |
columnName |
|
System.Linq.Expressions.Expression |
expProperty |
|
System.Linq.Expressions.ConstantExpression |
expNullResult |
|
System.Collections.Generic.IList<System.Linq.Expressions.MethodCallExpression> |
columnLookupExpressions |
|
System.Collections.Generic.IList<System.Linq.Expressions.Expression> |
expressions |
|
System.Linq.Expressions.ParameterExpression |
prmSqlRdr |
|
System.Linq.Expressions.ParameterExpression |
expOrdinals |
|
System.Linq.Expressions.ParameterExpression |
expOrdinal |
|
System.Int32 |
propIndex |
|
System.Type |
propertyType |
|
System.Linq.Expressions.ParameterExpression |
expLogger |
|
Microsoft.Extensions.Logging.ILogger |
logger |
|
|
Improve this Doc
View Source
ReaderSimpleValueExpressions(String, Expression, IList<MethodCallExpression>, IList<Expression>, ParameterExpression, ParameterExpression, ParameterExpression, ref Int32, Type, ParameterExpression, ILogger)
Declaration
public static void ReaderSimpleValueExpressions(string columnName, Expression expProperty, IList<MethodCallExpression> columnLookupExpressions, IList<Expression> expressions, ParameterExpression prmSqlRdr, ParameterExpression expOrdinals, ParameterExpression expOrdinal, ref int propIndex, Type propertyType, ParameterExpression expLogger, ILogger logger)
Parameters
Type |
Name |
Description |
System.String |
columnName |
|
System.Linq.Expressions.Expression |
expProperty |
|
System.Collections.Generic.IList<System.Linq.Expressions.MethodCallExpression> |
columnLookupExpressions |
|
System.Collections.Generic.IList<System.Linq.Expressions.Expression> |
expressions |
|
System.Linq.Expressions.ParameterExpression |
prmSqlRdr |
|
System.Linq.Expressions.ParameterExpression |
expOrdinals |
|
System.Linq.Expressions.ParameterExpression |
expOrdinal |
|
System.Int32 |
propIndex |
|
System.Type |
propertyType |
|
System.Linq.Expressions.ParameterExpression |
expLogger |
|
Microsoft.Extensions.Logging.ILogger |
logger |
|
|
Improve this Doc
View Source
ReaderStringExpressions(String, Expression, IList<MethodCallExpression>, IList<Expression>, ParameterExpression, ParameterExpression, ParameterExpression, ref Int32, Type, ParameterExpression, ILogger)
Declaration
public static void ReaderStringExpressions(string columnName, Expression expProperty, IList<MethodCallExpression> columnLookupExpressions, IList<Expression> expressions, ParameterExpression prmSqlRdr, ParameterExpression expOrdinals, ParameterExpression expOrdinal, ref int propIndex, Type propertyType, ParameterExpression expLogger, ILogger logger)
Parameters
Type |
Name |
Description |
System.String |
columnName |
|
System.Linq.Expressions.Expression |
expProperty |
|
System.Collections.Generic.IList<System.Linq.Expressions.MethodCallExpression> |
columnLookupExpressions |
|
System.Collections.Generic.IList<System.Linq.Expressions.Expression> |
expressions |
|
System.Linq.Expressions.ParameterExpression |
prmSqlRdr |
|
System.Linq.Expressions.ParameterExpression |
expOrdinals |
|
System.Linq.Expressions.ParameterExpression |
expOrdinal |
|
System.Int32 |
propIndex |
|
System.Type |
propertyType |
|
System.Linq.Expressions.ParameterExpression |
expLogger |
|
Microsoft.Extensions.Logging.ILogger |
logger |
|
|
Improve this Doc
View Source
ReadOutParameterBinaryExpressions(String, Type, String, Expression, IList<Expression>, ParameterExpression, ParameterExpression, Type, ParameterExpression, ILogger)
Declaration
public static void ReadOutParameterBinaryExpressions(string parameterName, Type staticType, string getMethodName, Expression expProperty, IList<Expression> expressions, ParameterExpression expPrms, ParameterExpression expPrm, Type propertyType, ParameterExpression expLogger, ILogger logger)
Parameters
Type |
Name |
Description |
System.String |
parameterName |
|
System.Type |
staticType |
|
System.String |
getMethodName |
|
System.Linq.Expressions.Expression |
expProperty |
|
System.Collections.Generic.IList<System.Linq.Expressions.Expression> |
expressions |
|
System.Linq.Expressions.ParameterExpression |
expPrms |
|
System.Linq.Expressions.ParameterExpression |
expPrm |
|
System.Type |
propertyType |
|
System.Linq.Expressions.ParameterExpression |
expLogger |
|
Microsoft.Extensions.Logging.ILogger |
logger |
|
|
Improve this Doc
View Source
ReadOutParameterEnumXIntExpressions(String, Type, String, String, Expression, IList<Expression>, ParameterExpression, ParameterExpression, Type, ParameterExpression, ILogger)
Declaration
public static void ReadOutParameterEnumXIntExpressions(string parameterName, Type staticType, string getMethodName, string nullableGetMethodName, Expression expProperty, IList<Expression> expressions, ParameterExpression expPrms, ParameterExpression expPrm, Type propertyType, ParameterExpression expLogger, ILogger logger)
Parameters
Type |
Name |
Description |
System.String |
parameterName |
|
System.Type |
staticType |
|
System.String |
getMethodName |
|
System.String |
nullableGetMethodName |
|
System.Linq.Expressions.Expression |
expProperty |
|
System.Collections.Generic.IList<System.Linq.Expressions.Expression> |
expressions |
|
System.Linq.Expressions.ParameterExpression |
expPrms |
|
System.Linq.Expressions.ParameterExpression |
expPrm |
|
System.Type |
propertyType |
|
System.Linq.Expressions.ParameterExpression |
expLogger |
|
Microsoft.Extensions.Logging.ILogger |
logger |
|
|
Improve this Doc
View Source
ReadOutParameterSimpleValueExpressions(String, Type, String, String, Expression, IList<Expression>, ParameterExpression, ParameterExpression, Type, ParameterExpression, ILogger)
Declaration
public static void ReadOutParameterSimpleValueExpressions(string parameterName, Type staticType, string getMethodName, string nullableGetMethodName, Expression expProperty, IList<Expression> expressions, ParameterExpression expPrms, ParameterExpression expPrm, Type propertyType, ParameterExpression expLogger, ILogger logger)
Parameters
Type |
Name |
Description |
System.String |
parameterName |
|
System.Type |
staticType |
|
System.String |
getMethodName |
|
System.String |
nullableGetMethodName |
|
System.Linq.Expressions.Expression |
expProperty |
|
System.Collections.Generic.IList<System.Linq.Expressions.Expression> |
expressions |
|
System.Linq.Expressions.ParameterExpression |
expPrms |
|
System.Linq.Expressions.ParameterExpression |
expPrm |
|
System.Type |
propertyType |
|
System.Linq.Expressions.ParameterExpression |
expLogger |
|
Microsoft.Extensions.Logging.ILogger |
logger |
|
|
Improve this Doc
View Source
ReadOutParameterStringExpressions(String, Type, String, Expression, IList<Expression>, ParameterExpression, ParameterExpression, Type, ParameterExpression, ILogger)
Declaration
public static void ReadOutParameterStringExpressions(string parameterName, Type staticType, string getMethodName, Expression expProperty, IList<Expression> expressions, ParameterExpression expPrms, ParameterExpression expPrm, Type propertyType, ParameterExpression expLogger, ILogger logger)
Parameters
Type |
Name |
Description |
System.String |
parameterName |
|
System.Type |
staticType |
|
System.String |
getMethodName |
|
System.Linq.Expressions.Expression |
expProperty |
|
System.Collections.Generic.IList<System.Linq.Expressions.Expression> |
expressions |
|
System.Linq.Expressions.ParameterExpression |
expPrms |
|
System.Linq.Expressions.ParameterExpression |
expPrm |
|
System.Type |
propertyType |
|
System.Linq.Expressions.ParameterExpression |
expLogger |
|
Microsoft.Extensions.Logging.ILogger |
logger |
|