GenericTypeInfo

Class GenericTypeInfo

Inheritance
GenericTypeInfo
Namespace: ETLBox
Assembly: ETLBox.dll
Syntax
    public class GenericTypeInfo

Constructors

GenericTypeInfo(Type)

Declaration
    public GenericTypeInfo(Type type)
Parameters
TypeNameDescription
Typetype

Properties

AggregateColumnAttributes

Declaration
    public List<AggregateColumn> AggregateColumnAttributes { get; set; }
Property Value
TypeDescription
List<AggregateColumn>

ColumnMapAttributes

Declaration
    public List<DbColumnMap> ColumnMapAttributes { get; set; }
Property Value
TypeDescription
List<DbColumnMap>

CompareColumnAttributes

Declaration
    public List<CompareColumn> CompareColumnAttributes { get; set; }
Property Value
TypeDescription
List<CompareColumn>

DeleteColumnAttributes

Declaration
    public List<DeleteColumn> DeleteColumnAttributes { get; set; }
Property Value
TypeDescription
List<DeleteColumn>

DistinctColumnAttributes

Declaration
    public List<DistinctColumn> DistinctColumnAttributes { get; set; }
Property Value
TypeDescription
List<DistinctColumn>

GroupColumnAttributes

Declaration
    public List<GroupColumn> GroupColumnAttributes { get; set; }
Property Value
TypeDescription
List<GroupColumn>

IdColumnAttributes

Declaration
    public List<IdColumn> IdColumnAttributes { get; set; }
Property Value
TypeDescription
List<IdColumn>

IsArray

Indicates if the type is an array (e.g. string[])

Declaration
    public bool IsArray { get; }
Property Value
TypeDescription
bool

IsDynamic

Indicates if the type is an ExpandoObject

Declaration
    public bool IsDynamic { get; }
Property Value
TypeDescription
bool

IsPoco

Indicates if the type is an strong type object (Plain old CLR object)

Declaration
    public bool IsPoco { get; }
Property Value
TypeDescription
bool

KeyColumnAttributes

Declaration
    public List<KeyColumn> KeyColumnAttributes { get; set; }
Property Value
TypeDescription
List<KeyColumn>

MatchColumnAttributes

Declaration
    public List<MatchColumn> MatchColumnAttributes { get; set; }
Property Value
TypeDescription
List<MatchColumn>

PivotColumnAttributes

Declaration
    public List<PivotColumn> PivotColumnAttributes { get; set; }
Property Value
TypeDescription
List<PivotColumn>

PivotRowAttributes

Declaration
    public List<PivotRow> PivotRowAttributes { get; set; }
Property Value
TypeDescription
List<PivotRow>

PivotValueAttributes

Declaration
    public List<PivotValue> PivotValueAttributes { get; set; }
Property Value
TypeDescription
List<PivotValue>

Properties

Property info of the type

Declaration
    public List<PropertyInfo> Properties { get; }
Property Value
TypeDescription
List<PropertyInfo>

PropertiesByName

Property info of the type by property name

Declaration
    public Dictionary<string, PropertyInfo> PropertiesByName { get; }
Property Value
TypeDescription
Dictionary<string, PropertyInfo>

PropertyNames

Property names of the type

Declaration
    public List<string> PropertyNames { get; }
Property Value
TypeDescription
List<string>

RemoveColumnAttributes

Declaration
    public List<RemoveColumn> RemoveColumnAttributes { get; set; }
Property Value
TypeDescription
List<RemoveColumn>

RenameColumnAttributes

Declaration
    public List<RenameColumn> RenameColumnAttributes { get; set; }
Property Value
TypeDescription
List<RenameColumn>

ReorderColumnAttributes

Declaration
    public List<ReorderColumn> ReorderColumnAttributes { get; set; }
Property Value
TypeDescription
List<ReorderColumn>

RetrieveColumnAttributes

Declaration
    public List<RetrieveColumn> RetrieveColumnAttributes { get; set; }
Property Value
TypeDescription
List<RetrieveColumn>

SelectColumnAttributes

Declaration
    public List<SelectColumn> SelectColumnAttributes { get; set; }
Property Value
TypeDescription
List<SelectColumn>

SortColumnAttributes

Declaration
    public List<SortColumn> SortColumnAttributes { get; set; }
Property Value
TypeDescription
List<SortColumn>

UnderlyingPropType

Declaration
    public Dictionary<PropertyInfo, Type> UnderlyingPropType { get; }
Property Value
TypeDescription
Dictionary<PropertyInfo, Type>

UpdateColumnAttributes

Declaration
    public List<UpdateColumn> UpdateColumnAttributes { get; set; }
Property Value
TypeDescription
List<UpdateColumn>

ValidateColumnAttributes

Declaration
    public List<ValidateColumn> ValidateColumnAttributes { get; set; }
Property Value
TypeDescription
List<ValidateColumn>

ValueGeneratedColumns

Declaration
    public List<ValueGenerationColumn> ValueGeneratedColumns { get; set; }
Property Value
TypeDescription
List<ValueGenerationColumn>

Methods

ConvertAndSetValueOrThrow(PropertyInfo, object, object)

Declaration
    public void ConvertAndSetValueOrThrow(PropertyInfo propInfo, object obj, object value)
Parameters
TypeNameDescription
PropertyInfopropInfo
objectobj
objectvalue

ConvertAndSetValueOrThrow(string, object, object)

Declaration
    public void ConvertAndSetValueOrThrow(string propName, object obj, object value)
Parameters
TypeNameDescription
stringpropName
objectobj
objectvalue

GatherTypeInfo(AttributeType)

Declaration
    public GenericTypeInfo GatherTypeInfo(AttributeType propertyAttributes = AttributeType.None)
Parameters
TypeNameDescription
AttributeTypepropertyAttributes
Returns
TypeDescription
GenericTypeInfo

RetrieveAdditionalTypeInfo(PropertyInfo, int)

Declaration
    protected virtual void RetrieveAdditionalTypeInfo(PropertyInfo propInfo, int currentIndex)
Parameters
TypeNameDescription
PropertyInfopropInfo
intcurrentIndex

TryConvertAndSetValue(PropertyInfo, object, object, DataTypeConverterConfiguration)

Declaration
    public void TryConvertAndSetValue(PropertyInfo propInfo, object obj, object value, DataTypeConverterConfiguration converterConfiguration = null)
Parameters
TypeNameDescription
PropertyInfopropInfo
objectobj
objectvalue
DataTypeConverterConfigurationconverterConfiguration

TryConvertAndSetValue(string, object, object, DataTypeConverterConfiguration)

Declaration
    public void TryConvertAndSetValue(string propName, object obj, object value, DataTypeConverterConfiguration converterConfiguration = null)
Parameters
TypeNameDescription
stringpropName
objectobj
objectvalue
DataTypeConverterConfigurationconverterConfiguration