public HighConfidenceResultsDataSourceView(HighConfidenceResultsDataSource dataSourceOwner, string viewName)
            : base(dataSourceOwner, viewName)
        {
            if (dataSourceOwner == null)
            {
                throw new ArgumentNullException("dataSourceOwner");
            }
            HighConfidenceResultsDataSource source = base.DataSourceOwner as HighConfidenceResultsDataSource;

            if (source == null)
            {
                throw new ArgumentOutOfRangeException();
            }
            HighConfidencePartialMatchWebPart parentWebpart = source.ParentWebpart as HighConfidencePartialMatchWebPart;

            if (parentWebpart == null)
            {
                throw new ArgumentOutOfRangeException();
            }
            base.QueryManager = SharedQueryManager.GetInstance(parentWebpart.Page, parentWebpart.QueryID).QueryManager;
        }
 // Methods
 public HighConfidenceResultsDataSource(HighConfidencePartialMatchWebPart parentWebPart)
     : base(parentWebPart)
 {
     base.View = new HighConfidenceResultsDataSourceView(this, HighConfidenceViewName);
 }