Adf.Data.DatabaseQueryHandler.IsResultEmpty C# (CSharp) Method

IsResultEmpty() protected method

protected IsResultEmpty ( DataSet set ) : bool
set System.Data.DataSet
return bool
        protected virtual bool IsResultEmpty(DataSet set)
        {
            if (set == null) throw new ArgumentNullException("set", @"Result set is unavailable.");

            return set.Tables.Count == 0 || set.Tables[0].Rows.Count == 0;
        }