Exemplo n.º 1
0
 public static SqlSelectClause Create(
     SqlSelectSpec selectSpec,
     SqlTopSpec topSpec = null,
     bool hasDistinct   = false)
 {
     return(new SqlSelectClause(selectSpec, topSpec, hasDistinct));
 }
Exemplo n.º 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;
 }