我如何在Linkq中使用Like Trans Commit,因为我们在Sql Server中使用 [英] How Can I Use Like Trans Commit In Linkq As We Use In Sql Server

查看:56
本文介绍了我如何在Linkq中使用Like Trans Commit,因为我们在Sql Server中使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是linq和Entity Framework的新手,所以有点困惑的是我如何使用在Sq服务器中使用的Trans Commit,在linq中而且



请帮帮我

解决方案

查看MSDN上的以下帖子:



http://msdn.microsoft.com/en-us/library/vstudio/bb738523( v = vs.100).aspx [ ^ ]



http://msdn.microsoft.com/en-us/data/dn456843.aspx [ ^ ]


虽然没有像SQL中那样的提交和回滚这样的确切概念但是你可以参考这个。

如何在linq中使用提交回滚 [ ^ ]

LINQ RollBack? [ ^ ]


查看这些链接..



http://stackoverflow.com/questions/17448689/transactions-commit-and-rollback-with-entity-framework -mysql-and-linq-to-sql-in [ ^ ]

http://stackoverflow.com/questions/867643/how-to-use-transactions-with-a-datacontext [ ^ ]

I m new for linq and Entity Framework, so A little confusion is that how can i use Trans Commit Which Are use in Sql server, in linq and moreover

please help me

解决方案

Look at the following posts on MSDN:

http://msdn.microsoft.com/en-us/library/vstudio/bb738523(v=vs.100).aspx[^]

http://msdn.microsoft.com/en-us/data/dn456843.aspx[^]


Although there is no exact concept like commit and rollback as in SQL but You may refer to this.
how to use commit rollback in linq[^]
LINQ RollBack?[^]


See these links..

http://stackoverflow.com/questions/17448689/transactions-commit-and-rollback-with-entity-framework-mysql-and-linq-to-sql-in[^]
http://stackoverflow.com/questions/867643/how-to-use-transactions-with-a-datacontext[^]


这篇关于我如何在Linkq中使用Like Trans Commit,因为我们在Sql Server中使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆