Discussion Forum : entity-framework

Selected Tags
  • ( ) entity-framework
Filter by Tags
Entity Framework 6: audit/track changes
I have my core project in C#. I work on a database, where some tables have the columns user_mod and date_mod for sign w ... View Detail
 Upvotes: 0   Answers: 0
C# Entity-Framework: How can I combine a .Find and .Include on a Model Object?
I'm doing the mvcmusicstore practice tutorial. I noticed something when creating the scaffold for the album manager (add ... View Detail
 Upvotes: 0   Answers: 0
Exception of type 'System.OutOfMemoryException' was thrown
Basically I use Entity Framework to query a huge database. I want to return a string list then log it to a text file. L ... View Detail
 Upvotes: 0   Answers: 0
select top 5 in entity framework
I have [Person] PersonID, EmailAddress, FirstName, LastName  [OnlineAccount] OnlineAccountID, PersonID, Nickname  Each ... View Detail
 Upvotes: 0   Answers: 0
Only primitive types or enumeration types are supported in this context
I've seen lots of questions on this topic, but I haven't been able to sort through any of them that actually solve the i ... View Detail
 Upvotes: 0   Answers: 0
How to add/update child entities when updating a parent entity in EF
The two entities are one-to-many relationship (built by code first fluent api). public class Parent {  public Parent()  ... View Detail
 Upvotes: 0   Answers: 0
Default value for Required fields in Entity Framework migrations?
I've added the [Required] data annotation to one of my models in an ASP.NET MVC application. After creating a migration, ... View Detail
 Upvotes: 0   Answers: 0
How to handle System.Data.Entity.Validation.DbEntityValidationException?
My app gets the following error: An exception of type 'System.Data.Entity.Validation.DbEntityValidationException' ... View Detail
 Upvotes: 0   Answers: 0
LINQ Lambda, Group by with list
I'm having some trouble with finding the right syntax to accomplish the following: Is it possible with LINQ (Lambda Exp ... View Detail
 Upvotes: 0   Answers: 0
composite key as foreign key
I am using Entity framework 4.1 in MVC 3 application. I have an entity where I have primary key consists of two columns ... View Detail
 Upvotes: 0   Answers: 0
MVC - Insert post data into database
I'm working with MVC and have created a form to insert values into my database. My database structure has the relation ... View Detail
 Upvotes: 0   Answers: 0
Attaching an entity of type 'X' failed because another entity of the same type
I've stumbled upon a strange bug in my code. Which was working before, but now works sometimes. I am using EF6 to Edit ... View Detail
 Upvotes: 0   Answers: 0
Calling user defined functions in Entity Framework 4
I have a user defined function in a SQL Server 2005 database which returns a bit. I would like to call this function via ... View Detail
 Upvotes: 0   Answers: 0
Linq - How to select items from a list that contains only items of another list?
I have this two classes: public class Item { public int Id{get;set;} public List<Test> TestList{get;set;}  } public cla ... View Detail
 Upvotes: 0   Answers: 0
The type initializer for 'System.Data.Entity.Internal.AppConfig' threw an exception on a Sub Website
I have 2 websites, one is a sub directory of another but is an Application ex: /root & /root/Services They both use Ent ... View Detail
 Upvotes: 0   Answers: 0
Entity Framework - Add Navigation Property Manually
I generated an Entity Framework Model (4.0) from my database. I did not design the database and do not have any control ... View Detail
 Upvotes: 0   Answers: 0
Howto specify table name with Entity Framework Code First Fluent API
I have an Entity and I am to configure Entity Framework to map it to a database table with different name. I can easily ... View Detail
 Upvotes: 0   Answers: 0
Problems using Entity Framework 6 and SQLite
I'm trying to use Entity Framework with SQLite. I had issues integrating it into my main application, so I started a lit ... View Detail
 Upvotes: 0   Answers: 0
References for DBContext, DBSet<> in Entity Framework
I am trying to use ADO.Net Codefirst feature of latest Entity Framework 4.0. As part of that I have installed Entity Fra ... View Detail
 Upvotes: 0   Answers: 0
Proper way to delete record in LINQ to Entities
I just have a very simple situation where all I need is to delete record using Linq2Entities. I tried to do some researc ... View Detail
 Upvotes: 0   Answers: 0
Validation Error on SaveChanges()
I have the following Action method inside my Asp.net mvc web application:- [HttpPost] [ValidateAntiForgeryToken] public ... View Detail
 Upvotes: 0   Answers: 0
The remote server returned an unexpected response: (413) Request Entity Too Large.
I'm trying to build a WCF Application service, using FW4.0. My service work correctly when transferring EntiryFramework ... View Detail
 Upvotes: 0   Answers: 0
EntityFramework Get object by ID?
Is it possible with Generics to get an object from my EntityFramework without knowing the type? I'm thinking of somethi ... View Detail
 Upvotes: 0   Answers: 0
Handling 'Sequence has no elements' Exception
I am updating a quantity in my cart, but it is throwing a Sequence has no elements' exception. And I don't know what th ... View Detail
 Upvotes: 0   Answers: 0
Entity Framework error - Error 11009: Property ' ' is not mapped
To improve an older project I am forced by the circumstances to use VS 2008 and Framework 3.5 - I have issues with the e ... View Detail
 Upvotes: 0   Answers: 0

Quick Links



Total Followers
Study Group Created
Study Group Joined
Following Teacher
Following Organization
Blog Articles Added
Questions Asked
Questions Answered
Jobs Posted
Total Members in Group
Questions asked by members
Tasks added in this Group

Please wait..


Login to Open ESchool OR Create your account    Login   SignUp