public TablePlan(IQueryPlanNode plan, ObjectName[] columnNames, string[] uniqueNames)
{
if (plan == null)
throw new ArgumentNullException("plan");
if (columnNames == null)
throw new ArgumentNullException("columnNames");
Plan = plan;
ColumnNames = columnNames;
UniqueNames = uniqueNames;
LeftJoinType = JoinType.None;
RightJoinType = JoinType.None;
IsUpdated = false;
}