private void AddAggregateColumn(PropertyInfo propInfo) { var attr = propInfo.GetCustomAttribute(typeof(AggregateColumn)) as AggregateColumn; if (attr != null) { AggregateColumns.Add(new AggregateAttributeMapping() { PropInOutput = propInfo, PropNameInOutput = propInfo.Name, PropNameInInput = attr.InputProperty, AggregationMethod = attr.AggregationMethod, OutputType = TypeInfo.TryGetUnderlyingType(propInfo) }); } }
private void AddUnderlyingType(PropertyInfo propInfo) { Type t = TypeInfo.TryGetUnderlyingType(propInfo); UnderlyingPropType.Add(propInfo, t); }