entity-framework
EF DbContext in WCF Services
I am creating an application that uses EF as its data access orm. My entities are losing its state, causing th开发者_如何学Goat whenever I save a new entity, any objects in relationships are marked a[详细]
2023-04-12 02:28 分类:问答How to "Expand" a property using LinqPad and Entity Framework
I have an entity set (lets call it Clients) that I am querying using LinqPad. It is accessing the data via Entity Framework.I am able to connect just fine and see most of my data.[详细]
2023-04-12 02:02 分类:问答Insert data using LinqPad and Entity Framework
Is there a way to insert data using LinqPad and the entity framework? You need a \"Context\" of some kind to do an Add or AddObject.I can\'t find how 开发者_如何学JAVAto get that reference.[详细]
2023-04-12 01:46 分类:问答Upgrading to Entity Framework from Linq to SQL [closed]
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari[详细]
2023-04-12 01:45 分类:问答EntityFramework.Migrations, using DbMigrator in a C# class
I just installed the new EntityFramework.Migrations package. I scaffoled my migrations following this tutorial: http://blogs.msdn.com/b/adonet/archive/2011/09/21/code-first-migrations-alpha-3-no-magic[详细]
2023-04-12 01:42 分类:问答Filtering whole of hierarchical list with LINQ
I have a simple hiearchical list of objects \"ProductGroups\" (IQueryable). Each \"ProductGroup\" has a collection of ProductGroups called \"Children\",an integer ParentId field and a boolean \"IsEnab[详细]
2023-04-12 00:42 分类:问答.NET TransactionScope Timeout Issue/ EF
I have a WinForms project where i have to read massive xml-files (2gb+) and store the data in a MSSQL database.[详细]
2023-04-12 00:41 分类:问答C# Linq where clause according to property name
Let\'s say I have the following class : public class Person { public string FirstName { get; set; } public string SurName { get; set; }[详细]
2023-04-12 00:36 分类:问答Is Entity Framework Code First suited for this scenario?
I have some basic knowledge of Entity Framework 4.1 Code First, but haven\'t used this in a production application yet. I am in the architecture phase of a web app and have made no firm commitments to[详细]
2023-04-12 00:24 分类:问答Entity Framework Datagridview Binding
I want to be able to bind a datagridview to information stored in my entity framework database. I only wan开发者_如何学运维t to display a subset of the information stored in my entity framework and ha[详细]
2023-04-12 00:19 分类:问答