/// <summary> /// Check if this batchinfo has some data /// </summary> public bool HasData() { if (this.SanitizedSchema == null) { throw new NullReferenceException("Batch info schema should not be null"); } if (BatchPartsInfo != null && BatchPartsInfo.Count > 0) { var rowsCount = BatchPartsInfo.Sum(bpi => bpi.RowsCount); return(rowsCount > 0); } return(false); }