No announcements
Found 2414577 threads
-
0 Votes
1-0 or 1 relationship Entity Framework Database First
are working with database first in entity framework, you need to define the 1 to 0…1 relationship in database ...Answered | 1 Replies | 5544 Views | Created by David Laizé - Friday, May 23, 2014 11:53 AM | Last reply by Fred Bao - Monday, May 26, 2014 1:53 AM -
0 Votes
Entity Framework Many to Many relationship missing referential constraint Database First
I'm working on an Asp.net MVC3 project using Database First in Entity Framework 4.1. When creating the model, I selected the option to add code generation ...Answered | 1 Replies | 5875 Views | Created by bryan wain - Tuesday, March 26, 2013 11:12 PM | Last reply by Fernando Soto - MCSD - Wednesday, March 27, 2013 4:19 AM -
0 Votes
0..1:* relationship
Is DepartmentID nullable? If it is not, then the relationship must be 1:*, not 0..1:*.This posting is provided "AS IS" with no warranties, and confers no ...Answered | 1 Replies | 5745 Views | Created by sipo1209 - Wednesday, March 17, 2010 2:34 AM | Last reply by Noam Ben-Ami - MSFT1 - Thursday, April 8, 2010 10:15 PM -
0 Votes
EntityState for 1..0/1 relationship
I have an entity (Complaint) that has a one to zero or one relationship with another entity (Complainant). On my form, I'm displaying fields for Complainant ...Answered | 2 Replies | 3374 Views | Created by raynebair - Friday, December 10, 2010 9:31 PM | Last reply by raynebair - Monday, December 13, 2010 4:14 PM -
2 Votes
Defining 1 to 0..1 relationship
strongly typed entity to pass back and forth. The code below is my solution but it no longer really is a 1 to 0..1 ...Answered | 10 Replies | 2340 Views | Created by pretzelb - Tuesday, July 3, 2012 2:08 PM | Last reply by pretzelb - Thursday, July 5, 2012 7:19 PM -
1 Votes
Modeling a 1-1..0 relationship in entity framework (tables already exist)
Note: In effect, we are trying to model a 1:1..0 relationship, where B can be optionally present in A, but if it does, then it has to have the ...Answered | 4 Replies | 544 Views | Created by V1.0.0.0 - Friday, September 1, 2017 8:53 PM | Last reply by V1.0.0.0 - Tuesday, September 5, 2017 5:13 PM -
0 Votes
1 to 1 ou 0..1 to 1 relationship with rea service
it is impossible to map 1:1 or 0..1:1 relationship with ria service entity ...Answered | 1 Replies | 2170 Views | Created by Gabriel M Nepomuceno - Sunday, July 25, 2010 3:38 PM | Last reply by Frank Lan1 - Tuesday, July 27, 2010 3:42 AM -
0 Votes
How to perform Insert/Update/Delete on EDMX Entities across Many-to-Many or 1-to-Many relation (using ADO.NET Data Service)?
User_Role (join) tables. I successfully use the ADO.NET Entity Framework Wizard to generate the Model from the database, and the resulting EDMX diagram properly shows a ...Answered | 1 Replies | 9603 Views | Created by bobbydigiscale - Thursday, October 16, 2008 7:36 AM | Last reply by Jimmy Li - MSFT - Wednesday, November 5, 2008 8:51 PM -
0 Votes
Relationship 1 to 1..0 - issue In publish
I have one entity that have one relationship 1 - 1..0 to another entity. After publishing my database does not reflect ...Answered | 3 Replies | 774 Views | Created by mwamoreira - Monday, November 25, 2013 10:16 AM | Last reply by sheshelovely - Thursday, June 19, 2014 7:59 AM -
0 Votes
Beginner 1..0:1 question
columns A_ID and SomeText. A_ID is set as the primary key and is a reference to ID in Table A. Then when I bring it into an Entity Framework model it ...Answered | 1 Replies | 3315 Views | Created by DeepElem - Thursday, March 26, 2009 1:41 AM | Last reply by DeepElem - Thursday, March 26, 2009 9:36 PM -
2 Votes
ERD 1:1 Relationship
Thanks a million man, totally worked. I do understand that there always has to be a parent child relationship I just didn't know how to make it a 1:1 on non primary key to ...Answered | 2 Replies | 8510 Views | Created by przemeklach - Thursday, November 2, 2006 6:27 AM | Last reply by przemeklach - Thursday, November 2, 2006 7:22 AM -
0 Votes
1-to-1 relationship
* associationshipUnanswered | 5 Replies | 4541 Views | Created by Matse - Saturday, August 30, 2008 4:25 PM | Last reply by MatthieuMEZIL - Saturday, August 30, 2008 5:40 PM -
0 Votes
How to create a 2:1 or n:1 relationship using Code-First in the Entity Framework 4 CTP
q.PublicBoard being after q.PrivateBoard, I get that PrivateBoard is explicitly excluded, which implies that a n:1 mapping is illegal in the present form of the Entity ...Discussion | 2 Replies | 4159 Views | Created by Allen C Copeland Jr - Friday, March 18, 2011 3:26 PM | Last reply by Allen C Copeland Jr - Tuesday, March 22, 2011 9:33 AM -
0 Votes
select 1 | 1 & 0 --> 0 !!! ???
Code Block select 1|1&0 as [1|1&0] select ...Answered | 10 Replies | 9978 Views | Created by Stanislav Sýkora - Saturday, November 24, 2007 5:24 PM | Last reply by Stanislav Sýkora - Saturday, December 8, 2007 10:00 AM -
0 Votes
Multiplicity constraint violated. The role '*' of the relationship '*' has multiplicity 1 or 0..1.
was unhandled by user code Message=Multiplicity constraint violated. The role 'Designation' of the relationship 'PI.Entities.DesignationEmployee' has multiplicity 1 ...Proposed | 3 Replies | 10705 Views | Created by KannanThirumal - Friday, January 22, 2010 9:18 AM | Last reply by Rowan Miller - Wednesday, March 9, 2011 6:54 PM -
1 Votes
Creating child records in a 1 to 0..1 relationship
I have been looking over forums and documentation, but I still can't seem to get it to work. I have a entity called "Party." It has multiple 1 to ...Answered | 2 Replies | 589 Views | Created by Anthony Genovese - Tuesday, July 29, 2014 9:39 PM | Last reply by Anthony Genovese - Tuesday, July 29, 2014 10:37 PM -
0 Votes
1:1 relationship ERD with a 3rd entity
The correct way to do a data model is to have separate tables for all relationship. This includes 1:1 relationships, too. The relationship can have its own ...Answered | 5 Replies | 2372 Views | Created by cuteNERD - Monday, July 2, 2012 11:11 PM | Last reply by --CELKO-- - Tuesday, July 3, 2012 3:32 PM -
0 Votes
Entity FrameWork Database first
Hello I'm working on entity Framework data base first, in my model's properties when I set code generation strategy to "none" , in my ...Answered | 4 Replies | 1882 Views | Created by bkshn - Tuesday, August 27, 2013 2:40 PM | Last reply by Fernando Soto - MCSD - Tuesday, September 3, 2013 11:58 PM -
0 Votes
Division returning 1 or 0
Why is this giving me a 1 or 0 in SSRS 2005 ? I should beAnswered | 1 Replies | 7114 Views | Created by NoEgo - Thursday, February 23, 2006 4:14 PM | Last reply by NoEgo - Thursday, February 23, 2006 4:27 PM -
0 Votes
Entity Framework 1-to-1 relationship is not throwing an exception when save changes is called
Framework and one example I found online was: http://www.entityframeworktutorial.net/code-first/configure-one-to-one-relationship-in-code-first.aspx (see Configure ...Answered | 2 Replies | 415 Views | Created by randelramirez - Saturday, July 23, 2016 6:29 AM | Last reply by davidbaxterbrowne - Monday, July 25, 2016 1:44 PM - Items 1 to 20 of 2414577 Next ›
No announcements