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