Class GenericTypeInfo
Inheritance
System.Object
GenericTypeInfo
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()
Namespace: ETLBox.DataFlow
Assembly: ETLBox.dll
Syntax#
public class GenericTypeInfo
Constructors
GenericTypeInfo(Type)#
Declaration
public GenericTypeInfo(Type type)
Parameters
Type | Name | Description |
---|
System.Type | type | |
Properties
AggregateColumnAttributes#
Declaration
public List<AggregateColumn> AggregateColumnAttributes { get; set; }
Property Value
ColumnMapAttributes#
Declaration
public List<ColumnMap> ColumnMapAttributes { get; set; }
Property Value
Type | Description |
---|
System.Collections.Generic.List<ColumnMap> | |
CompareColumnAttributes#
Declaration
public List<CompareColumn> CompareColumnAttributes { get; set; }
Property Value
DeleteColumnAttributes#
Declaration
public List<DeleteColumn> DeleteColumnAttributes { get; set; }
Property Value
Type | Description |
---|
System.Collections.Generic.List<DeleteColumn> | |
DistinctColumnAttributes#
Declaration
public List<DistinctColumn> DistinctColumnAttributes { get; set; }
Property Value
GroupColumnAttributes#
Declaration
public List<GroupColumn> GroupColumnAttributes { get; set; }
Property Value
Type | Description |
---|
System.Collections.Generic.List<GroupColumn> | |
IdColumnAttributes#
Declaration
public List<IdColumn> IdColumnAttributes { get; set; }
Property Value
Type | Description |
---|
System.Collections.Generic.List<IdColumn> | |
IsArray#
Indicates if the type is an array (e.g. string[])
Declaration
public bool IsArray { get; }
Property Value
Type | Description |
---|
System.Boolean | |
IsDynamic#
Indicates if the type is an ExpandoObject
Declaration
public bool IsDynamic { get; }
Property Value
Type | Description |
---|
System.Boolean | |
IsPoco#
Indicates if the type is an strong type object (Plain old CLR object)
Declaration
public bool IsPoco { get; }
Property Value
Type | Description |
---|
System.Boolean | |
KeyColumnAttributes#
Declaration
public List<KeyColumn> KeyColumnAttributes { get; set; }
Property Value
Type | Description |
---|
System.Collections.Generic.List<KeyColumn> | |
MatchColumnAttributes#
Declaration
public List<MatchColumn> MatchColumnAttributes { get; set; }
Property Value
Type | Description |
---|
System.Collections.Generic.List<MatchColumn> | |
Properties#
Property info of the type
Declaration
public List<PropertyInfo> Properties { get; }
Property Value
Type | Description |
---|
System.Collections.Generic.List<System.Reflection.PropertyInfo> | |
PropertiesByName#
Property info of the type by property name
Declaration
public Dictionary<string, PropertyInfo> PropertiesByName { get; }
Property Value
Type | Description |
---|
System.Collections.Generic.Dictionary<System.String, System.Reflection.PropertyInfo> | |
PropertyNames#
Property names of the type
Declaration
public List<string> PropertyNames { get; }
Property Value
Type | Description |
---|
System.Collections.Generic.List<System.String> | |
RenameColumnAttributes#
Declaration
public List<RenameColumn> RenameColumnAttributes { get; set; }
Property Value
Type | Description |
---|
System.Collections.Generic.List<RenameColumn> | |
RetrieveColumnAttributes#
Declaration
public List<RetrieveColumn> RetrieveColumnAttributes { get; set; }
Property Value
UnderlyingPropType#
Declaration
public Dictionary<PropertyInfo, Type> UnderlyingPropType { get; }
Property Value
Type | Description |
---|
System.Collections.Generic.Dictionary<System.Reflection.PropertyInfo, System.Type> | |
UpdateColumnAttributes#
Declaration
public List<UpdateColumn> UpdateColumnAttributes { get; set; }
Property Value
Type | Description |
---|
System.Collections.Generic.List<UpdateColumn> | |
Methods
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 |
---|
System.Type | type | |
Returns
Type | Description |
---|
System.Boolean | |
RetrieveAdditionalTypeInfo(PropertyInfo, Int32)#
Declaration
protected virtual void RetrieveAdditionalTypeInfo(PropertyInfo propInfo, int currentIndex)
Parameters
Type | Name | Description |
---|
System.Reflection.PropertyInfo | propInfo | |
System.Int32 | currentIndex | |
TryGetUnderlyingType(PropertyInfo)#
Declaration
public static Type TryGetUnderlyingType(PropertyInfo propInfo)
Parameters
Type | Name | Description |
---|
System.Reflection.PropertyInfo | propInfo | |
Returns
Type | Description |
---|
System.Type | |
TryGetUnderlyingType(Type)#
Declaration
public static Type TryGetUnderlyingType(Type type)
Parameters
Type | Name | Description |
---|
System.Type | type | |
Returns
Type | Description |
---|
System.Type | |