码迷,mamicode.com
首页 >  
搜索关键字:detached entity    ( 5141个结果
Entity Framework底层操作封装V2版本(5)
Entity Framework底层操作封装V2版本(5)...
分类:其他好文   时间:2014-05-09 22:18:17    阅读次数:351
Entity Framework底层操作封装V2版本(3)
Entity Framework底层操作封装V2版本(3)...
分类:其他好文   时间:2014-05-09 21:04:05    阅读次数:229
Entity Framework底层操作封装V2版本(4)
Entity Framework底层操作封装V2版本(4)...
分类:其他好文   时间:2014-05-09 20:52:36    阅读次数:325
listView中adapter有不同的click事件的简单写法
在android中,listview一般都是通过一个adapter来绑定数据,一般的item的点击事件都会指向同一个目标(intent),只是所带的参数不同而已,但有的时候事与愿违,每个item的目标(intent)是不同的,此时我们需要一点技巧来处理这种情况。。。我的做法是每个item对应的entity添加一个listener ,来监听自己的事件。。上代码:    Listitem的定义[包含...
分类:其他好文   时间:2014-05-09 14:52:48    阅读次数:290
[渣译文] 使用 MVC 5 的 EF6 Code First 入门 系列:为ASP.NET MVC应用程序读取相关数据
这是微软官方教程Getting Started with Entity Framework 6 Code First using MVC 5 系列的翻译,这里是第六篇:为ASP.NET MVC应用程序读取相关数据原文:Reading Related Data with the Entity Fram...
分类:Web程序   时间:2014-05-08 22:43:34    阅读次数:657
Attaching detached POCO to EF DbContext - simple and fast
IntroductionRecently I was playing around with Entity Framework (EF) and evaluating it for some projects. I had a very hard time figuring out how to a...
分类:数据库   时间:2014-05-08 13:05:33    阅读次数:678
Solving the Detached Many-to-Many Problem with the Entity Framework
IntroductionThis article is part of the ongoing series I’ve been writing recently, but can be read as a standalone article. I’m going to do a better j...
分类:其他好文   时间:2014-05-08 13:01:13    阅读次数:599
[渣译文] 使用 MVC 5 的 EF6 Code First 入门 系列:为ASP.NET MVC应用程序创建更复杂的数据模型
这是微软官方教程Getting Started with Entity Framework 6 Code First using MVC 5 系列的翻译,这里是第六篇:为ASP.NET MVC应用程序创建更复杂的数据模型原文:Creating a More Complex Data Model fo...
分类:Web程序   时间:2014-05-08 12:03:22    阅读次数:581
EBS OAF开发中的Java 实体对象(Entity Object)验证功能补充
EBS OAF开发中的Java 实体对象(Entity Object)验证功能补充(版权声明,本人原创或者翻译的文章如需转载,如转载用于个人学习,请注明出处;否则请与本人联系,违者必究)EO理论上是只有产品组维护,里面包含其所有的业务逻辑,并提供相应的Expert给自己或者其它产品组使用。而VO是各个组根据需要或基于EO或者只读的SQL而建立的,里面可以根据需要添加自己的业务实现和逻辑。对于EO内...
分类:编程语言   时间:2014-05-08 04:38:41    阅读次数:342
捕获Entity framework验证异常
Entity framework在验证未通过的时候默认不会抛出详细异常,这给我们debug带来很大的困难,不过我们可以手动捕获,见代码: private int Update(Employee entity) { string error = string.Empty; using (NorthwindEntities ctx = ...
分类:其他好文   时间:2014-05-07 21:50:21    阅读次数:302
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!