What’s the difference(s) between .ToList(), .AsEnumerable(), AsQueryable()?
I know some differences of LINQ to Entities and LINQ to Objects which the first implements IQueryable and the second implements IEnumerable and … Read more
I know some differences of LINQ to Entities and LINQ to Objects which the first implements IQueryable and the second implements IEnumerable and … Read more
I am getting this error when I GetById() on an entity and then set the collection of child entities to my new list … Read more
Let’s just suppose I have a valid need for directly executing a sql command in Entity Framework. I am having trouble figuring out … Read more
is there “elegant” way to give specific property a default value ? Maybe by DataAnnotations, something like : [DefaultValue(“true”)] public bool Active { … Read more
Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be … Read more
I’m using Entity Framework 5.0 Code First; public class Entity { [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)] public string EntityId { get; set;} public int FirstColumn { … Read more
I’ve mucked up my migrations, I used IgnoreChanges on the initial migration, but now I want to delete all my migrations and start … Read more
Closed. This question needs debugging details. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic … Read more
This looks like a really common task, but I can’t find an easy way to do it. I want to undo the last … Read more
After downloading the EF6 by nuget and try to run my project, it returns the following error: No Entity Framework provider found for … Read more