edmx
Populating a select box in a form using related ID in MVC3
I have a very simple data structure with two models. The first containing UserName, UserQuestion and userLocationID and another with LocationName and LocationID, the locationID in the first table is r[详细]
2023-02-07 22:48 分类:问答Can I map an EF entity to two tables with a polymorphic foreign key?
I would like to make a new, mapped entity that looks like this: public class PathedItem { public long Id { get; set; }// from the Items table[详细]
2023-02-06 22:13 分类:问答Problems with LINQ WhereClause
Many thanks to leppie: Currently I got Expression<Func<vwMailMerge,bool>> whereClause= null;[详细]
2023-02-03 05:14 分类:问答How to properly delete and re-add Entity Data Model
newbie to Entity Framework here.Using VS 2010 and SQL Server 2008 express DB. I was having trouble refreshing an Entity Data Model after adding new tables.So, I followed a suggestion I found here to[详细]
2023-02-02 16:23 分类:问答How to get List of all tables in the Entity data framework?
I need to get the list of All tables in the Entity Data Framework. I know that in Linq2SQL we can use something like this.[详细]
2023-02-01 11:50 分类:问答How to bind EDM to WPF ListBox?
I\'m trying to figure out WPF binding to SQLite. I have an ADO.NET Entity Data Model generated to represent my SQLite database. The database only holds one table \"People\" with two columns \"person[详细]
2023-02-01 04:48 分类:问答Extending Core Edmx, multiple Edmx's in EF4
We have an EF4 EDMX which contains ~300 entities which are used in our core product suite (entities imported from database).[详细]
2023-01-30 09:14 分类:问答Silverlight DataForm not triggering EditEndedEvent and not committed on AddNewItems
I have a Silverlight User Control. This contains a DataForm withtemplates for ReadOnly, Edit, and New.[详细]
2023-01-27 18:42 分类:问答Error 3002: Problem in mapping fragments | c# linq to entities
I have a console application and what I\'m trying to do is that every time the appllication runs, the date and time is sent to a table within my database.[详细]
2023-01-26 20:51 分类:问答Entity Framework -- Dependent objects not deleted before principal object when cascade deleting composite key entities
I\'m having an issue with cascade deletion of dependent objects with composite keys.Specifically, the emitted SQL instructions by EF tries to delete the principle entity before the dependent entity.[详细]
2023-01-26 20:07 分类:问答