No announcements
Found 2911242 threads
-
0 Votes
Inserting data to Database using Entity Framework with Foreign key relation ship
Hi All, I am facing a strange issue when I insert a record into the DB with the help of entity framework. I am using code first ...Answered | 3 Replies | 9181 Views | Created by RaghulVarmaMS - Wednesday, October 16, 2013 9:59 AM | Last reply by sowmiya s - Wednesday, October 16, 2013 11:49 AM -
0 Votes
Inserting Foreign Key record in Entity Framework
problem is that new row in the city details is inserted with the new id and that Id is assigned to the hoteldetails cityid column. what is the mistake I have done?? Please ...Answered | 1 Replies | 5273 Views | Created by RaghulVarmaMS - Wednesday, April 13, 2011 11:45 AM | Last reply by L.J Lincoln - Tuesday, April 19, 2011 3:21 AM -
2 Votes
Inserting Entity with a Foreign Key
", as opposed to objects that already exist in the database (i.e. obtained from a query), which get regular EntityKeys. When you try to add Foo, Entity ...Answered | 4 Replies | 3191 Views | Created by burn.chrome - Friday, December 26, 2008 8:58 PM | Last reply by burn.chrome - Saturday, December 27, 2008 8:27 PM -
0 Votes
Inserting in a foreign key table using Entity Framework
they will always have some values which will meet the foreign key constraint requirements. This is how i am trying to do this but its not ...Answered | 2 Replies | 3570 Views | Created by Aashish Gupta - Monday, September 21, 2009 2:08 PM | Last reply by Yichun_Feng - Wednesday, September 23, 2009 5:39 AM -
0 Votes
Inserting detached entity with a foreign key.
As long as both the property and the relatedControl have entity keys (meaning they aren't new entities), you should be able to do the following (after getting the detached ...Answered | 2 Replies | 5027 Views | Created by Dean776 - Monday, March 30, 2009 1:53 AM | Last reply by Ido Flatow. _ - Tuesday, March 31, 2009 5:11 PM -
1 Votes
Foreign key problems with Entity Framework data model.
I'm new to Entity Framework, and need help resolving a foreign key problem in my Entity Framework data ...Answered | 5 Replies | 17159 Views | Created by Stormjack - Wednesday, January 26, 2011 2:05 PM | Last reply by Stormjack - Wednesday, January 26, 2011 4:10 PM -
0 Votes
Entity Framework: Conditional foreign key
BillingReferences and BillingType. The problem is that I can't configure a conditional foreign key between BillingReferences and each of the entities ...Answered | 1 Replies | 4176 Views | Created by TNEmp - Monday, March 2, 2009 10:11 AM | Last reply by Ivan.cnw - Tuesday, March 3, 2009 11:44 PM -
0 Votes
Entity Framework is inserting into the table with foreign key before inserting into table with primary key
1) create a test model with the tables in question. 2) The model creation wizard has a checkbox asking do you want to expose all primary ...Answered | 3 Replies | 6335 Views | Created by Assad Siddiqui - Thursday, April 19, 2012 8:50 PM | Last reply by darnold924 - Friday, April 20, 2012 3:53 AM -
1 Votes
Foreign key relation
aforementioned Department table. I found, we can't create a foreign key from Sqlserver table to other database type tables. When selected dept is from ...Proposed | 2 Replies | 323 Views | Created by bluepink - Thursday, March 30, 2017 4:45 PM | Last reply by Albert_ Zhang - Tuesday, April 11, 2017 7:56 AM -
1 Votes
Saving a Data Transfer Object with Foreign Key to DB using the Entity Framework
I bet you know what I am doing to ask! I am working on a NTier project using Entity Framework in the Data Access Layer. I have a ...Answered | 1 Replies | 4037 Views | Created by Ivan.cnw - Tuesday, March 3, 2009 3:02 PM | Last reply by Ido Flatow. _ - Tuesday, March 3, 2009 3:26 PM -
0 Votes
Having problem with inserting the data into entity framework database
Hello, I Having problem with inserting the data into entity framework database, this is my database ...Answered | 2 Replies | 552 Views | Created by Ayesh abu al haj - Thursday, October 29, 2015 10:06 AM | Last reply by Fred Bao - Friday, October 30, 2015 3:16 AM -
0 Votes
Using textBox to display foreign key relation data
database explorer and created a new Database Diagram. Then I just imported the two tables and dragged from one to the other to create the foreign ...Answered | 11 Replies | 5646 Views | Created by CvilleSpoon - Friday, February 19, 2010 7:40 PM | Last reply by Zeigon - Thursday, February 25, 2010 11:14 AM -
0 Votes
ADO.NET Data entity foreign key
The ADO.Net Entity Framework forum is under the Data Platform Development category. TheAnswered | 2 Replies | 2864 Views | Created by alexuwang - Tuesday, February 23, 2010 10:49 PM | Last reply by alexuwang - Saturday, February 27, 2010 9:18 PM -
0 Votes
C# Console - Entity Framework, Add Foreign Key
hi, I need to add foreign key to my Entity Framework console application by programming, but I don't know how. I need ...Answered | 1 Replies | 1341 Views | Created by ImNew54 - Thursday, February 21, 2013 11:37 AM | Last reply by JayChase - Thursday, February 21, 2013 12:16 PM -
1 Votes
Primary /Foreign Key in Entity Framework
Hi all: I have created an entity class in my MVC 3 application. One of the attribute named RegistryId is primary key as well as foreign key. How can I make a column ...Proposed | 1 Replies | 6781 Views | Created by sparrow37 - Tuesday, March 22, 2011 7:45 AM | Last reply by Rowan Miller - Thursday, March 24, 2011 10:12 PM -
0 Votes
Entity Framework Foreign Key relationship issue.
I have used Entity Framework in my Silverlight 4.0 project. The project build fine. Now, when I updated my Entity model to include a new table - ...Answered | 1 Replies | 3055 Views | Created by MSDN_Forums_User - Monday, August 23, 2010 6:01 AM | Last reply by MSDN_Forums_User - Thursday, August 26, 2010 3:42 AM -
0 Votes
Entity Framework - Primary Key and Foreign Key Namess
I am trying to build an application with C# with an Entity Framework model. I am getting errors when trying to create a model from my ...Answered | 1 Replies | 1318 Views | Created by Natron61 - Monday, December 30, 2013 3:35 PM | Last reply by davidbaxterbrowne - Monday, December 30, 2013 3:53 PM -
0 Votes
Entity framework relation
Hi let me know How to get the 5th and above level of relation value by using entity. Here is the ...Answered | 2 Replies | 1643 Views | Created by Ragamathullah - Thursday, July 25, 2013 3:40 AM | Last reply by Fred Bao - Wednesday, July 31, 2013 7:47 AM -
0 Votes
ADO.NET Entity Framework - composite foreign key problem
Hi Mira, You have a 1:* association between OrderBase and PhantomBase. In this case, you will need to have foreign key columns on the table corresponding ...Answered | 4 Replies | 6626 Views | Created by ZhulenyKun - Friday, August 29, 2008 12:32 PM | Last reply by Adi Unnithan _ MSFT - Thursday, February 19, 2009 11:29 PM -
0 Votes
Entity Framework EntityKey / Foreign Key problem
You're actually in the wrong forum, I'll move this to the Entity Framework forum for you. [)amienUnanswered | 2 Replies | 3532 Views | Created by VChristophe - Monday, May 31, 2010 1:25 PM | Last reply by Damien Guard - Tuesday, June 1, 2010 2:25 PM - Items 1 to 20 of 2911242 Next ›
No announcements