且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用Entity Framework从数据库中删除多行

更新时间:2023-12-03 14:24:16

你好, b $ b





文章链接: http://www.dotnetcurry.com/ShowArticle.aspx?ID=619 [ ^ ]



干杯,

JAFC
Hello,



Link to article: http://www.dotnetcurry.com/ShowArticle.aspx?ID=619[^]

Cheers,
JAFC


感谢您的回复。但是,我没有使用控制台,我正在使用ASP.NET C#环境。有没有办法使用datagrid添加复选框来多次选择我要删除的行?不介意代码以及图片示例。



实体框架如何集成在n层框架中。你是否仍然通过将EF模型放入DAL来创建BLL和DAL?



再次感谢您对这些问题的任何回应。



HeadBeav98
Thanks for the response. However, I am not using the console, I am using ASP.NET C# environment. Is there any way using the datagrid with the addition of checkboxes to multiple select the rows that I want to delete? Wouldn't mind the code as well as a pictural example.

Also how is Entity Framework integrated in a n-tier framework. Do you still create the BLL and DAL by placing the EF model in the DAL?

Thanks again for any response to these concerns.

HeadBeav98