/// <summary> /// Creates a new constant expression TOP expression with the provided integer and flags. /// </summary> /// <param name="count">The integer count to return, i.e. TOP 10.</param> /// <param name="flags">The flags of the TOP expression.</param> public Top(int count, TopFlags flags) : this(new ConstantTypes.Integer(count), flags) { // }
/// <summary> /// Creates a new TOP expression with the provided expression tree and flags. /// </summary> /// <param name="expression">The expression portion of the TOP expression.</param> /// <param name="flags">The flags of the TOP expression.</param> public Top(Expression expression, TopFlags flags) : this(expression) { Flags = flags; }
public static Top Top(int number, TopFlags flags) { return new Top(number, flags); }
public void TopTest1() { int number = 0; // TODO: Initialize to an appropriate value TopFlags flags = new TopFlags(); // TODO: Initialize to an appropriate value Top expected = null; // TODO: Initialize to an appropriate value Top actual; actual = Select.Select.Top(number, flags); Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); }
public static Top Top(Expression expression, TopFlags flags) { return new Top(expression, flags); }