static IColumnInfo ReEvaluate(IColumnInfo columnInfo) { var item = ColumnInfo.CreateFrom(columnInfo); if (item.ColumnName.EndsWith("_FLAG", StringComparison.OrdinalIgnoreCase)) { if (item.IsNullable) { item.DotNetType = DotNetTypeName.GetDotNetNullableType(DotNetTypeName.DotNetBool); item.SqlReaderMethod = SqlReaderMethods.GetBooleanNullableValueFromChar; } else { item.DotNetType = DotNetTypeName.DotNetBool; item.SqlReaderMethod = SqlReaderMethods.GetBooleanValueFromChar; } } return(item); }