public IEnumerable <DatabaseColumn> Load(string viewName) { if (string.IsNullOrEmpty(viewName)) { throw new ArgumentNullException("viewName", "must have viewName"); } if (_noColumns) { //have to get columns for specific table var cols = _sr.Columns(viewName); _columnConverter = new ViewColumnConverter(cols); } return(_columnConverter.Columns(viewName)); }
public IList <DatabaseColumn> Load() { return(_columnConverter.Columns().ToList()); }