No announcements
Found 1606160 threads
-
0 Votes
Mapping 1:0 without FK
have a quite old Database, one details have 0 or 1 trainer. TABLE [dbo].[DETAILS] ( ...Unanswered | 1 Replies | 587 Views | Created by HannesPreishuber - Saturday, September 22, 2018 5:46 PM | Last reply by Zhanglong Wu - Tuesday, September 25, 2018 2:59 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 | 3452 Views | Created by bbbbbbzzzzzzzzzzzzz - Sunday, December 12, 2010 9:55 PM | Last reply by Jackie-Sun - Thursday, December 16, 2010 3:21 AM -
1 Votes
Mapping Question 1 to 0..1 CTP 5
().ToTable("Admin"); modelBuilder.Entity<User>().ToTable("Normal"); to create TPT it should create naturally the ...Answered | 2 Replies | 4146 Views | Created by bbbbbbzzzzzzzzzzzzz - Saturday, December 11, 2010 10:39 PM | Last reply by bbbbbbzzzzzzzzzzzzz - Saturday, December 11, 2010 11:44 PM -
0 Votes
select 1 | 1 & 0 --> 0 !!! ???
Code Block select 1|1&0 as [1|1&0] select ...Answered | 10 Replies | 9968 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
Association without PK/FK
Of course there are issues with this: 1) If there is more than one relationship using different unique ...Answered | 3 Replies | 4930 Views | Created by NickChadwickUK - Wednesday, January 9, 2008 4:14 PM | Last reply by NickChadwickUK - Friday, January 11, 2008 9:35 AM -
0 Votes
Mapping Properties to FK fields in CTP5
Hi, Take a look at this blog post describing changes in mapping in ...Unanswered | 1 Replies | 4139 Views | Created by jakkwylde - Wednesday, December 15, 2010 3:29 PM | Last reply by Pawel Kadluczka - Wednesday, December 15, 2010 5:16 PM -
0 Votes
LazyLoading entities with 1 to 0..01 mapping
Hi, how do I lazyload the child entities when I have a 1 to 0..01 mapping between say Product 1 (parent) <---> 0..1 ProductInfo (child) ...Answered | 2 Replies | 3251 Views | Created by liuoye - Saturday, October 2, 2010 12:44 AM | Last reply by liurong luo - Wednesday, October 6, 2010 7:52 AM -
0 Votes
1 to 0..1 Association with PK as FK (Code First)
first will infer 1:* relationships by default so you need to let it know it's a 1:0..1. ~RowanAnswered | 3 Replies | 4465 Views | Created by Erbse - Wednesday, June 1, 2011 2:10 PM | Last reply by zeeshan hirani - Thursday, June 9, 2011 5:14 AM -
0 Votes
EF 4.1 Code First Mapping to FK only
Hi, sorry maybe I did not explain. I'm asking how to do code first mapping to a table without a PK. There is only a FK... Surely someone in the community can ...Unanswered | 2 Replies | 2796 Views | Created by Marty Spallone - Wednesday, June 15, 2011 7:11 PM | Last reply by Marty Spallone - Wednesday, June 29, 2011 3:51 PM -
5 Votes
select (0/0)=1 or select (0/0)=0
ISNULL(0/NULLIF(0,0),0) select ISNULL(1/NULLIF(0,0),0) select COALESCE(0 / NULLIF(0,0), 0) select COALESCE(1 / NULLIF(0,0), ...Answered | 5 Replies | 1880 Views | Created by Khushi N - Wednesday, January 29, 2014 1:23 PM | Last reply by Venkat786 - Wednesday, January 29, 2014 1:35 PM -
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 has the correct ...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 -
0 Votes
FK Relationships 0..1 to many ... maybe i'm doing this wrong...
Hi, Can you share your code that defines the association and navigation properties between AppRequest and HiringRequest. It looks like the intention of the relationship is ...Answered | 2 Replies | 2706 Views | Created by Jonathan Manley - Monday, January 10, 2011 11:50 PM | Last reply by Jonathan Manley - Tuesday, January 25, 2011 10:11 PM -
1 Votes
MERGE ON 1=0
I used this solution many times, for example, when doing parent/child new inserts. One needs the 'mapping' between source ID and the actual DB created ID to set the FK values for ...Answered | 4 Replies | 7560 Views | Created by Greg Borota - Monday, October 11, 2010 7:33 PM | Last reply by Dmitri Korotkevitch - Monday, October 11, 2010 8:54 PM -
1 Votes
Dynamic Element Mapping from minOccurs="0" to MinOccurs="1"
Hallo all I have this little problem.. I have an Element of type string = TaxCode Optional and another Element of type string = PaymentType is a must ...Answered | 3 Replies | 5905 Views | Created by Akaschmid - Friday, April 29, 2011 7:42 AM | Last reply by Abdul Rafay - Friday, April 29, 2011 7:42 PM -
0 Votes
0..1 to 1 Multiplicity
string associationName = string.Format("{0}_{1}", setName, propertyName); returnAnswered | 7 Replies | 5725 Views | Created by Colin Burn - Thursday, October 6, 2011 12:34 AM | Last reply by Colin Burn - Wednesday, October 12, 2011 5:47 PM -
1 Votes
1 - 0..1 and 1-1. Please help me out ...
. I think that to be 0..1 I need to make the FK null. But I am not sure how to make it 1-1. ...Answered | 3 Replies | 3134 Views | Created by MDMoura - Monday, August 10, 2009 2:31 PM | Last reply by Yichun_Feng - Friday, August 14, 2009 7:14 AM -
2 Votes
Column & 1= 0 means?
& is the Bitwise And operator. A bitwise And with the number 1 will return a 0 if the number is evenAnswered | 3 Replies | 2179 Views | Created by Naren M - Monday, November 14, 2011 1:03 PM | Last reply by Naren M - Monday, November 14, 2011 1:24 PM -
0 Votes
Child table without an FK constraint
CONTACTADDRESSES and ORGANISATIONADDRESSES. and keep a FK from CONTACTS to CONTACTADDRESSES (one to many and same for ORG). In this you will have redundant data. You can ...Discussion | 1 Replies | 6565 Views | Created by TCD67 - Tuesday, May 19, 2009 3:28 AM | Last reply by Madhu K Nair - Tuesday, May 19, 2009 4:53 AM -
0 Votes
Problem with 0..1 - 1 relation
Walkthrough: Mapping an Entity to Multiple Tables - Creates a new entity (Instructor - derived from Person) and maps it to the Person andProposed | 2 Replies | 4013 Views | Created by Viconia - Wednesday, April 1, 2009 11:51 AM | Last reply by Brian Swan - MSFT - Thursday, April 2, 2009 3:20 PM -
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 rights.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 - Items 1 to 20 of 1606160 Next ›
No announcements