Class GenericTypeInfo
Inheritance
GenericTypeInfo
Namespace: ETLBox
Assembly: ETLBox.dll
Syntax
public class GenericTypeInfo
Constructors
GenericTypeInfo(Type)
Declaration
public GenericTypeInfo(Type type)
Parameters
Type | Name | Description |
---|
Type | type | |
Properties
AggregateColumnAttributes
Declaration
public List<AggregateColumn> AggregateColumnAttributes { get; set; }
Property Value
ColumnMapAttributes
Declaration
public List<DbColumnMap> ColumnMapAttributes { get; set; }
Property Value
CompareColumnAttributes
Declaration
public List<CompareColumn> CompareColumnAttributes { get; set; }
Property Value
DeleteColumnAttributes
Declaration
public List<DeleteColumn> DeleteColumnAttributes { get; set; }
Property Value
DistinctColumnAttributes
Declaration
public List<DistinctColumn> DistinctColumnAttributes { get; set; }
Property Value
GroupColumnAttributes
Declaration
public List<GroupColumn> GroupColumnAttributes { get; set; }
Property Value
IdColumnAttributes
Declaration
public List<IdColumn> IdColumnAttributes { get; set; }
Property Value
IsArray
Indicates if the type is an array (e.g. string[])
Declaration
public bool IsArray { get; }
Property Value
IsDynamic
Indicates if the type is an ExpandoObject
Declaration
public bool IsDynamic { get; }
Property Value
IsPoco
Indicates if the type is an strong type object (Plain old CLR object)
Declaration
public bool IsPoco { get; }
Property Value
KeyColumnAttributes
Declaration
public List<KeyColumn> KeyColumnAttributes { get; set; }
Property Value
MatchColumnAttributes
Declaration
public List<MatchColumn> MatchColumnAttributes { get; set; }
Property Value
Properties
Property info of the type
Declaration
public List<PropertyInfo> Properties { get; }
Property Value
PropertiesByName
Property info of the type by property name
Declaration
public Dictionary<string, PropertyInfo> PropertiesByName { get; }
Property Value
PropertyNames
Property names of the type
Declaration
public List<string> PropertyNames { get; }
Property Value
RenameColumnAttributes
Declaration
public List<RenameColumn> RenameColumnAttributes { get; set; }
Property Value
RetrieveColumnAttributes
Declaration
public List<RetrieveColumn> RetrieveColumnAttributes { get; set; }
Property Value
SelectColumnAttributes
Declaration
public List<SelectColumn> SelectColumnAttributes { get; set; }
Property Value
UnderlyingPropType
Declaration
public Dictionary<PropertyInfo, Type> UnderlyingPropType { get; }
Property Value
UpdateColumnAttributes
Declaration
public List<UpdateColumn> UpdateColumnAttributes { get; set; }
Property Value
ValueGeneratedColumns
Declaration
public List<ValueGenerationColumn> ValueGeneratedColumns { get; set; }
Property Value
Methods
ConvertAndSetValueOrThrow(PropertyInfo, object, object)
Declaration
public void ConvertAndSetValueOrThrow(PropertyInfo propInfo, object obj, object value)
Parameters
ConvertAndSetValueOrThrow(string, object, object)
Declaration
public void ConvertAndSetValueOrThrow(string propName, object obj, object value)
Parameters
GatherTypeInfo(AttributeType)
Declaration
public GenericTypeInfo GatherTypeInfo(AttributeType propertyAttributes = AttributeType.None)
Parameters
Returns
IsNumericType(Type)
Determines if a type is numeric. Nullable numeric types are considered numeric.
Declaration
public static bool IsNumericType(Type type)
Parameters
Type | Name | Description |
---|
Type | type | |
Returns
RetrieveAdditionalTypeInfo(PropertyInfo, int)
Declaration
protected virtual void RetrieveAdditionalTypeInfo(PropertyInfo propInfo, int currentIndex)
Parameters
TryConvertAndSetValue(PropertyInfo, object, object)
Declaration
public void TryConvertAndSetValue(PropertyInfo propInfo, object obj, object value)
Parameters
TryConvertAndSetValue(string, object, object)
Declaration
public void TryConvertAndSetValue(string propName, object obj, object value)
Parameters