I am trying to create an Assert.AreEqual
query that determines that the records in a given table do, in fact, contain >= 1
(row/record)
I know the query will look something along the times of:
Assert.AreEqual(context.Count().Ticket_Number >= 1);
or
Assert.AreEqual(context[row].Ticket_Number.Count() >= 1);
This query returns 10,000 + rows:
SELECT [Ticket_Number] FROM dbo.SRS_Ticket_LifeCycle_Stage
It is the query I want to ensure has more than 1 record (For a test right after it that is expecting a return of nothing).
I do not know how to specifically target the rows with these statements any help is appreciated.