Joins by more than one column

Jan 30, 2009 at 8:37 PM


On the TsqlFormatter.cs class there is this function:
"protected override NewExpression VisitNew(NewExpression nex) {...}"  that only handles  datetime declaringType: "if (nex.Constructor.DeclaringType == typeof(DateTime)) {...}"

but what happens when we have a join on more than one column that  a NEW UNKNOWN type is create...