/// <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; }
/// <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; }