I've asked this before, but I actually still needed help...
Here's the scenario:
I'm starting a new WPF application, and want to use MVVM. Because our DBA has created a database with tables we need to perform CRUD operations on, I used the Database…
I fetch a list of rows (Id,field1,f2...) and do some computation and store the result in a IList.
I want to now update all the values in this list to a table T. I am using entity framework and this needs to be a transaction.
Will it be fine if I…
I've created a database application using C#, ADO.Net and an embedded MS SQL 2008 database file (that attaches to MS SQL 2008 Express) which I created in Server Management Studio. Can someone point me to a resource that describes how I can…
I heard about the new entity framework for .net, and decided to modify my code to use this framework, but when I try to add and delete records from the table, an Exception is thrown. I am NEW to this framework, so I can't figure out how to fix this…
I'm very first experience in ASP.NET MVC and after I read through a few articles I decided I try my new project with MVC.
And I used ADO.net entity data model and I created Create/ Delete/ Details/ Edit/ Index. It works fine.
So I plan to improve in…
I am unable to delete a record from the the table using ADO.Net Entity Framework.
Debugging lets me go through the method without any errors.
Cust_DataModel.Cust_DataEntities db = new Cust_DataModel.Cust_DataEntities();
protected void…
After I searched around on Google and Stackoverflow, I understand that I need to ask because I'm newbie about MVC.
My question is How to use multiple databases on edmx?
I think if I can put entity from different databases on same edmx, MVC can…
I'm working on a project that uses ADO.NET entity framework as the ORM framework for getting data in and out the database. This all works great, but there's one association that I don't want to map. At least I don't want the developers to navigate…
I just installed the beta for VS2010 Ultimate and I cannot locate the ADO.NET Entity Data Model template. I was under the impression that it as installed, can someone correct this or direct me where I can find it? Thanks.
I was trying to change the table names in the entity model or database but the old names are already use in many places in the application. Is there any way to auto reflect renamed entities or tables in the LINQ query or code.
Let say I have tables…
I have the following method I can pass in a lambda expression to filter my result and then a callback method that will work on the list of results. This is just one particular table in my system, I will use this construct over and over. How can I…
I am doing a project for my course work, I am using database first entity framework and got my DBContext class as
public partial class StudentDBEntities : DbContext
{
public DbSet LoginDetails { get; set; }
public…
I just learn linq and trying to make insert update delete with linq and ado.net data entity model. Now I'm have some problem, when I'm insert some data, the datagridview not show that, I must close the program and run it again to show the latest…
I am using a WCF Data Service and a ASP.NET host, where I have a entity data model for a recipe database. The entity "Recipe" is connected to "Ingredient", which is connected to "Unit". In my client (a windows 8 RT app), I am trying to query the…