void Add(EField field) { if (_fields.Where(f => f.ViewField == field).Any()) { return; // found } _fields.Add(new ReportTicketsViewField(field)); EJoin table = _mapFieldToJoin[field]; if (!_joins.ContainsKey(table)) { _joins[table] = new ReportTicketsViewJoin(table); } }
public ReportTicketsViewJoin(EJoin table) { _table = table; }