knrt.net
当前位置:首页 >> linq2sql >>

linq2sql

先为table1表的字段1a创建序列s_1a,然后insert into table1(1a,1b,1c) values(); for v_row in (Select t1.2b,t1.2c from table2 t1,table3 t2 where t1.2a=t2.3a and 3b>10) loop insert into table1(1a,1b,1c) values(s_1a.nextval,v_row.2b,v...

XXXEntities db = new XXXEntities(); db.Table1.Add(new Table1(){id=1,name="abc"}); db.Table2.Add(new Table2(){id=2,name="bcd"}}; db.SubmitChanges();

网站首页 | 网站地图
All rights reserved Powered by www.knrt.net
copyright ©right 2010-2021。
内容来自网络,如有侵犯请联系客服。zhit325@qq.com