No announcements
Found 2409665 threads
-
1 Votes
How to create a 1:1 relationship?
>Is it possible to create a 1:1 realtionship in EF in this case? Yes, you can. Entity Framework is a ORM framework, it is based on ...Answered | 3 Replies | 588 Views | Created by ComptonAlvaro - Friday, April 24, 2015 4:03 PM | Last reply by ComptonAlvaro - Tuesday, May 5, 2015 9:49 AM -
0 Votes
Entity framework inherith in 1 table
Is there a way to tell the entity framework to don't create a extra class in the database for the inheritance class. By example i got a class car, and a classe toyota and ...Answered | 1 Replies | 2691 Views | Created by entityFrameworkQuestion - Thursday, March 18, 2010 4:48 PM | Last reply by DeborahK - Friday, March 19, 2010 4:27 AM -
6 Votes
Substring 0- or 1-based?
Is Substring() 0 or 1- based? IOW, if sWhatever is "IWishIWereAnOscarMeyerWeiner", would: string s = ...Answered | 2 Replies | 3318 Views | Created by B Clay Shannon - Friday, March 26, 2010 7:40 PM | Last reply by A.m.a.L Hashim - Friday, March 26, 2010 7:52 PM -
0 Votes
Create 1 to 1 relationship
I dragged one column from parent table to the column on child table. It created a 1 to many relationship i tried looking at all properties to change it to a ...Answered | 1 Replies | 7895 Views | Created by WIJ - Friday, January 7, 2011 9:05 PM | Last reply by Hugo Kornelis - Friday, January 7, 2011 11:58 PM -
2 Votes
Multiplicity constraint violated, The role X of the relationship Y has multiplicity 1 or 0..1.
Using code first (EF 6), I created a 1 parent - 2 child relationship. Here is the object image below. Property is the parent object and Property Address as a child with ...Answered | 2 Replies | 10017 Views | Created by Andy-T1 - Wednesday, January 8, 2014 4:31 PM | Last reply by Burny75 - Saturday, January 11, 2014 7:27 PM -
0 Votes
Updating *..1 Entity Framework relation
. whatever is their opinion they where very cooperative and did that favor for me. no matter if composite keys make sense noways or not i'd still prefer my O/R mapper to handle ...Answered | 3 Replies | 3436 Views | Created by TomTom1234 - Wednesday, March 31, 2010 11:16 AM | Last reply by TomTom1234 - Tuesday, April 6, 2010 12:07 PM -
0 Votes
Entity Framework POCOs Database First
Learn > Entity Framework > Get Started > Database FirstAnswered | 14 Replies | 1437 Views | Created by 0-0-0 - Thursday, March 6, 2014 10:25 PM | Last reply by 0-0-0 - Wednesday, March 12, 2014 8:16 PM -
0 Votes
0..1 to 1 Multiplicity
associations and it seems it always creates a 0..1 to many or a many to many relationship (if I understand it correctly), so I implemented ...Answered | 7 Replies | 5735 Views | Created by Colin Burn - Thursday, October 6, 2011 12:34 AM | Last reply by Colin Burn - Wednesday, October 12, 2011 5:47 PM -
5 Votes
select (0/0)=1 or select (0/0)=0
Hi all, I want result select (0/0)=0 or select (1/0) =0 But i ...Answered | 5 Replies | 1911 Views | Created by Khushi N - Wednesday, January 29, 2014 1:23 PM | Last reply by Venkat786 - Wednesday, January 29, 2014 1:35 PM -
1 Votes
Binding Entity object to Controls in 1-1 relationship
I Create 3 entites Person ( one to one or zero relationship ) with user User Personal Information (Complex Type) here ...Answered | 3 Replies | 407 Views | Created by Mohd.Hassan - Saturday, April 29, 2017 2:05 PM | Last reply by Mohd.Hassan - Monday, May 1, 2017 12:48 PM -
0 Votes
Is the first entry Categories(0) or Categories(1)
instead of (0) so it works for all services? I need to have a way to return the first (or to be more accurate, a single) value. How, based on what I know ...Answered | 14 Replies | 6873 Views | Created by DavidThi808 - Thursday, September 13, 2012 9:23 PM | Last reply by DavidThi808 - Monday, September 17, 2012 3:56 PM -
1 Votes
Problems in adding the entity related to another entity 1 to 0..1
Hi Everybody, I've been problems in saving entity who is related to another entity. This relationship among them is 1 to ...Answered | 2 Replies | 1492 Views | Created by Carlos Marchi - Friday, November 23, 2012 6:33 PM | Last reply by Carlos Marchi - Wednesday, November 28, 2012 4:09 PM -
0 Votes
Entity.Delete() on a 1..1 relationship.
that has a 1..1 relationship with another entity. However, when I SaveChanges(), I get an exception ...Answered | 3 Replies | 5427 Views | Created by MichaelD_ - Saturday, July 21, 2007 3:39 AM | Last reply by Shimmy Weitzhandler - Saturday, March 28, 2009 10:53 PM -
0 Votes
DataGridView.HitTestInfo.ColumnIndex value is always 0, -1 or 1
hit.ColumnIndex value is either 0, -1 or 1, no matter where I click. So the condition never met and the context menu never shows up. Why the values 0, ...Answered | 1 Replies | 692 Views | Created by Henry Vuong - Friday, May 23, 2014 2:26 AM | Last reply by Kareninstructor - Friday, May 23, 2014 3:39 AM -
0 Votes
Dilemma over 1 to 0..1 association.
. So after you create the edmx file in Entity Framework, the relationship of the two entities is one to zero or one. Best ...Answered | 3 Replies | 1972 Views | Created by swainjena - Sunday, April 22, 2012 4:05 AM | Last reply by Allen_MSDN - Tuesday, April 24, 2012 5:47 AM -
0 Votes
Mapping 1-0..1 Nightmare
http://blogs.msdn.com/b/adonet/archive/2008/12/05/table-splitting-mapping-multiple-entity-types-to-the-same-table.aspxAnswered | 1 Replies | 3457 Views | Created by bbbbbbzzzzzzzzzzzzz - Sunday, December 12, 2010 9:55 PM | Last reply by Jackie-Sun - Thursday, December 16, 2010 3:21 AM -
0 Votes
Foreign key on table with 0..1 relationship preventing insert?
model I see a 0..1 relationship between members and photos - so I don't understand why photos would be required here. How can I make it NOT required ...Answered | 4 Replies | 6770 Views | Created by anyeone - Tuesday, May 11, 2010 9:16 AM | Last reply by Colin Blair - Thursday, May 13, 2010 4:34 PM -
0 Votes
1-to-1 or 0..1 to 1 associations and the wcf ria service
it is possible to use wcf ria service with 1-to-1 or 0..1 to 1 ? and if ...Answered | 1 Replies | 1861 Views | Created by GabrielMNepomuceno - Friday, July 23, 2010 5:37 PM | Last reply by kylemc - Monday, July 26, 2010 12:18 PM -
0 Votes
Foreign key relationship when the binding is 1:0..1 rather then 1:*
-entity-framework.aspx). I got some help here in understanding how to properly manage the queries. I decided to modify my application such that a Blog can have only zero ...Answered | 2 Replies | 2857 Views | Created by Mark Stega - Monday, February 15, 2010 10:47 AM | Last reply by Mark Stega - Wednesday, February 17, 2010 8:55 AM -
0 Votes
Entity Framework - switch from database first to model first
Hi, I'm using entity framework and I started with database first. I want to know if it possible to change it to switch to model first. my database ...Answered | 2 Replies | 590 Views | Created by Barak Ganon - Tuesday, January 12, 2016 10:21 AM | Last reply by Fred Bao - Thursday, January 14, 2016 2:39 AM
No announcements