Ejemplo n.º 1
0
 /// <summary>
 /// Creates a TopClause with the given topCount and withTies.
 /// </summary>
 /// <param name="topCount"></param>
 /// <param name="withTies"></param>
 internal TopClause(int topCount, bool withTies)
 {
     SqlBuilder sqlBuilder = new SqlBuilder();
     sqlBuilder.Append(topCount.ToString(CultureInfo.InvariantCulture));
     this.topCount = sqlBuilder;
     this.withTies = withTies;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Creates a SkipClause with the given skipCount.
 /// </summary>
 /// <param name="skipCount"></param>
 internal SkipClause(int skipCount)
 {
     SqlBuilder sqlBuilder = new SqlBuilder();
     sqlBuilder.Append(skipCount.ToString(CultureInfo.InvariantCulture));
     this.skipCount = sqlBuilder;
 }