开发者

LINQ to SQL getting a random row from a database [duplicate]

开发者 https://www.devze.com 2023-03-28 08:02 出处:网络
This question already has answers here: Closed开发者_StackOverflow 11 years ago. Possible Duplicate:
This question already has answers here: Closed开发者_StackOverflow 11 years ago.

Possible Duplicate:

Random row from Linq to Sql

I want to get a random row from a table in database with linq to sql .how I can do that ?


http://weblogs.asp.net/fmarguerie/archive/2008/01/10/randomizing-linq-to-sql-queries.aspx you could do this with additional view

0

精彩评论

暂无评论...
验证码 换一张
取 消