public GridCellGroup Execute() { reader = (DataReader)command.ExecuteReader(); ResultsetGridBuilder builder = new ResultsetGridBuilder(); GridCellGroup res = builder.Parse(reader.Source); canExportDS = builder.CanExportDS; return res; }
public void CloseQuery() { if (reader != null) { reader.Close(); reader = null; command = null; context = null; } }