C# LINQ语法详解

1.简单的linq语法

//1
var ss = from r in db.Am_recProScheme
         select r;
//2
var ss1 = db.Am_recProScheme;
//3
string sssql = "select * from Am_recProScheme";

2.带where的查询

你可能感兴趣的:(数据库)