public TTableSchema GetSchema() { if (m_Operation == null || !m_Operation.HasResultSet) { return(null); } else if (m_LastSchema == null) { var req = new TGetResultSetMetadataReq(m_Operation); var resp = m_Client.GetResultSetMetadata(req); resp.Status.CheckStatus(); m_LastSchema = resp.Schema; } return(m_LastSchema); }
public TTableSchema GetSchema() { if (_Operation == null || !_Operation.HasResultSet) { return(null); } if (_LastSchema == null) { var req = new TGetResultSetMetadataReq(_Operation); var rs = _Client.GetResultSetMetadata(req); rs.Status.CheckStatus(); _LastSchema = rs.Schema; } return(_LastSchema); }