public static SqlSelectClause Create( SqlSelectSpec selectSpec, SqlTopSpec topSpec = null, bool hasDistinct = false) { return(new SqlSelectClause(selectSpec, topSpec, hasDistinct)); }
private SqlSelectClause( SqlSelectSpec selectSpec, SqlTopSpec topSpec = null, bool hasDistinct = false) { this.SelectSpec = selectSpec ?? throw new ArgumentNullException(nameof(selectSpec)); this.TopSpec = topSpec; this.HasDistinct = hasDistinct; }