Class ParameterMapAttributeBase
Inheritance
System.Object
System.Attribute
ParameterMapAttributeBase
Inherited Members
System.Attribute.Equals(System.Object)
System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type, System.Boolean)
System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type, System.Boolean)
System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type, System.Boolean)
System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.Module)
System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type, System.Boolean)
System.Attribute.GetHashCode()
System.Attribute.IsDefaultAttribute()
System.Attribute.IsDefined(System.Reflection.Assembly, System.Type)
System.Attribute.IsDefined(System.Reflection.Assembly, System.Type, System.Boolean)
System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type)
System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type, System.Boolean)
System.Attribute.IsDefined(System.Reflection.Module, System.Type)
System.Attribute.IsDefined(System.Reflection.Module, System.Type, System.Boolean)
System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type)
System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type, System.Boolean)
System.Attribute.Match(System.Object)
System.Attribute.TypeId
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ArgentSea
Assembly: ArgentSea.dll
Syntax
[AttributeUsage(AttributeTargets.Property, Inherited = true, AllowMultiple = true)]
public abstract class ParameterMapAttributeBase : Attribute
Constructors
| Improve this Doc View SourceParameterMapAttributeBase(String, Int32)
Declaration
public ParameterMapAttributeBase(string name, int sqlType)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.Int32 | sqlType |
ParameterMapAttributeBase(String, Int32, Boolean)
Declaration
public ParameterMapAttributeBase(string name, int sqlType, bool isRequired)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.Int32 | sqlType | |
System.Boolean | isRequired |
Properties
| Improve this Doc View SourceColumnName
Declaration
public virtual string ColumnName { get; }
Property Value
Type | Description |
---|---|
System.String |
IsRequired
Declaration
public bool IsRequired { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Name
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
ParameterName
Declaration
public virtual string ParameterName { get; }
Property Value
Type | Description |
---|---|
System.String |
SqlType
Declaration
public int SqlType { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceAppendInParameterExpressions(IList<Expression>, ParameterExpression, ParameterExpression, HashSet<String>, Expression, Type, ParameterExpression, ILogger)
Declaration
protected abstract void AppendInParameterExpressions(IList<Expression> expressions, ParameterExpression expSprocParameters, ParameterExpression expIgnoreParameters, HashSet<string> parameterNames, Expression expProperty, Type propertyType, ParameterExpression expLogger, ILogger logger)
Parameters
Type | Name | Description |
---|---|---|
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 | expProperty | |
System.Type | propertyType | |
System.Linq.Expressions.ParameterExpression | expLogger | |
Microsoft.Extensions.Logging.ILogger | logger |
AppendReaderExpressions(Expression, IList<MethodCallExpression>, IList<Expression>, ParameterExpression, ParameterExpression, ParameterExpression, ref Int32, Type, ParameterExpression, ILogger)
Declaration
protected abstract void AppendReaderExpressions(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.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 |
AppendReadOutParameterExpressions(Expression, IList<Expression>, ParameterExpression, ParameterExpression, Type, ParameterExpression, ILogger)
Declaration
protected abstract void AppendReadOutParameterExpressions(Expression expProperty, IList<Expression> expressions, ParameterExpression expSprocParameters, ParameterExpression expPrm, Type propertyType, ParameterExpression expLogger, ILogger logger)
Parameters
Type | Name | Description |
---|---|---|
System.Linq.Expressions.Expression | expProperty | |
System.Collections.Generic.IList<System.Linq.Expressions.Expression> | expressions | |
System.Linq.Expressions.ParameterExpression | expSprocParameters | |
System.Linq.Expressions.ParameterExpression | expPrm | |
System.Type | propertyType | |
System.Linq.Expressions.ParameterExpression | expLogger | |
Microsoft.Extensions.Logging.ILogger | logger |
AppendSetOutParameterExpressions(IList<Expression>, ParameterExpression, ParameterExpression, HashSet<String>, ParameterExpression, ILogger)
Declaration
protected abstract void AppendSetOutParameterExpressions(IList<Expression> expressions, ParameterExpression expSprocParameters, ParameterExpression expIgnoreParameters, HashSet<string> parameterNames, ParameterExpression expLogger, ILogger logger)
Parameters
Type | Name | Description |
---|---|---|
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.ParameterExpression | expLogger | |
Microsoft.Extensions.Logging.ILogger | logger |
IsValidType(Type)
Declaration
public abstract bool IsValidType(Type candidate)
Parameters
Type | Name | Description |
---|---|---|
System.Type | candidate |
Returns
Type | Description |
---|---|
System.Boolean |