entity-framework-4.1
entity framework 4.1 exception types
What kind of exceptions should i handle when using the entity framework.I noticed the DbUpdateConcurrencyException.What about exceptions that occur when reading the data 开发者_开发知识库e.g database[详细]
2023-04-11 20:18 分类:问答Self-referencing relationship in Entity Framework
I am using Entity Framework 4.1 code first and I have two entities and one abstract class that both entities inherits from.[详细]
2023-04-11 18:52 分类:问答Cannot get data out of a WCF Data Service
I set up a WCF Data Service http://localhost:65432/YeagerTechWcfService.svc and when I run it, I get the expected output below:[详细]
2023-04-11 18:31 分类:问答Getting POCO mapping error in Entity Framework
I feel like I\'m missing some basic setup step here, but I\'ve been wading through forum posts, blog articles, and videos for hours and keep having the same problem, so I figure it\'s time to post.[详细]
2023-04-11 15:01 分类:问答Can you create sql views / stored procedure using Entity Framework 4.1 Code first approach
Entity Framework 4.1 Code First works great creating tables and relationships. Is it possible to create sql views or stored procedure using Code fi开发者_运维知识库rst approach? Any pointers regarding[详细]
2023-04-11 14:43 分类:问答Entity Framework Not handling changes to a composite key
I have a class for a many-to-many relationship, like so: public partial class AdminBoundaryStaff { [Key, Column(Order=0)][详细]
2023-04-11 12:58 分类:问答public T Add<T>(T entity) | I have three types of collections, how to know which to add the entity?
I have an interface IRepository to abstract my repository: Fake repository public class Repository : IRepository[详细]
2023-04-11 12:24 分类:问答Adding a property for the count of associated entities in Entity Framework Code First
I\'m using Code First to write my data lay开发者_StackOverflower, then transmitting to a Silverlight front end using RIA services.Since I have to serialize everything, I would like to get some additio[详细]
2023-04-11 11:11 分类:问答DbSet.Attach, what exactly does it do?
Follow the methods below: public class User { [Key] public Guid Id { get; set; } public string Name { get; set; }[详细]
2023-04-11 10:02 分类:问答How to use an Update SPROC in Entity Framework 4.1
Background: I originally created an application on MVC3 and Entity Framework 4.1 (Database First & Generated DBContext). I following a repository pattern. In order to meet Corp. DBA requirements,[详细]
2023-04-11 07:01 分类:问答