I have a table called Quotes in linq-to-sql that contains 2 columns: author and quote. How do you select both columns of a random row?
Random rand = new Random(); int toSkip = rand.Next(0, context.Quotes.Count); context.Quotes.Skip(toSkip).Take(1).First();