No announcements
Found 2413802 threads
-
0 Votes
regarding entity sets
srikanth, i have an customers entity with the properties added from two tables customer and contact info which are related using a foreign key relationship of customer id ...Answered | 6 Replies | 7630 Views | Created by swethak - Thursday, February 7, 2008 9:20 AM | Last reply by swethak - Wednesday, March 12, 2008 4:42 AM -
0 Votes
How to map a simple association and a composition in entity framework
FWIW: From a UML point of view the entity framework enables you to model UML Association using associations.Answered | 3 Replies | 8363 Views | Created by Pedro M. A. Salgueiro - Friday, November 13, 2009 4:11 PM | Last reply by Pedro M. A. Salgueiro - Tuesday, November 24, 2009 12:19 PM -
0 Votes
Creating a not-mapped association in EF 4.0
But nonetheless it should be possible to add the association only on the model side.Answered | 1 Replies | 3220 Views | Created by Helly Black - Monday, October 18, 2010 12:33 PM | Last reply by yspring - Monday, October 18, 2010 3:16 PM -
1 Votes
Error 2062: no mapping between entity set and association set?
That is correct: The model will not validate until all objects in the model are mapped to the database.Answered | 2 Replies | 33590 Views | Created by mpswaim - Friday, July 31, 2009 10:43 PM | Last reply by Roman S. Golubin - Friday, October 1, 2010 11:35 AM -
0 Votes
Error 11007: Entity type '[table name]' is not mapped
Hi Doug - In the EF, all entities must be mapped to tables, and all properties of an entity must be mapped to database columns.Answered | 3 Replies | 37402 Views | Created by Doug Marquardt - Friday, February 13, 2009 8:39 PM | Last reply by Mike Kaufman - MSFT - Wednesday, February 18, 2009 4:47 PM -
1 Votes
EF: Associations with child entities
In EF I've inherited Child from Base, and ditched the PK in Child and set the mapping to use the Base's PK column.Answered | 3 Replies | 3780 Views | Created by Alastair Grant - Tuesday, July 27, 2010 2:18 PM | Last reply by Michael Sun [MSFT] - Monday, August 2, 2010 6:16 AM -
0 Votes
Manually setting navigation properties for entity objects
But obviously you do not have CollaborationID or ProviderEnum in CollaborationPanelist entity, hence an association is not possible.Answered | 5 Replies | 4173 Views | Created by Joshua Beall - Tuesday, July 21, 2009 7:57 PM | Last reply by Joshua Beall - Wednesday, July 29, 2009 12:47 PM -
1 Votes
EF4.3.1: how to set up many-to-many relationship between existing entities?
Creating relationship between two entities in the database, in the common way, we often query out the two entities and assign one to the other entity's navigation ...Answered | 1 Replies | 1847 Views | Created by FiiS - Thursday, May 31, 2012 11:47 AM | Last reply by Allen_MSDN - Sunday, June 3, 2012 2:37 PM -
0 Votes
Map entity type to functionimport
An entity has to be mapped to a table (or tables) or view in the storage model (this is the error you are seeing).Answered | 3 Replies | 5415 Views | Created by Lars Lindgren - Monday, December 7, 2009 4:56 PM | Last reply by Brian Swan - MSFT - Monday, December 7, 2009 9:59 PM -
0 Votes
How to ignore error message: Entity type is not mapped?
I'm a bit unsure why you get a second error by setting partial on it.Answered | 3 Replies | 4884 Views | Created by KentZhou - Wednesday, June 15, 2011 5:42 PM | Last reply by Rune Gulbrandsen - Thursday, June 16, 2011 6:09 AM -
0 Votes
How to generate Entity Framework Model from database without Associations?
It should be that when the Association lines are removed between the entities in the model designer, it should remove the Associations out of the EDMX too.Answered | 3 Replies | 1678 Views | Created by Think About - Monday, September 9, 2013 10:04 AM | Last reply by darnold924 - Monday, September 23, 2013 6:35 AM -
0 Votes
Relationships between Entities and ID Properties
The adding of a new parent object that has a collection of new children objects, EF will make that association and foreign-key properties in objects are set correctly.Answered | 3 Replies | 625 Views | Created by Jako9225 - Saturday, April 26, 2014 8:14 AM | Last reply by darnold924 - Monday, April 28, 2014 11:35 AM -
0 Votes
Entity Not Mapped errors.
Also when you create the associations on the fly you cannot specify which are the columns in the relationship.Answered | 2 Replies | 7693 Views | Created by Nate Garvey - Wednesday, February 16, 2011 3:53 PM | Last reply by davidhouliston - Thursday, April 21, 2011 12:53 PM -
1 Votes
Update Exception attempting to remove an entity from an entity set.
Another way to accomplish that same sort of thing is to setup your model to have a referential integrity constraint between the dependent entity and the principle entity, ...Answered | 3 Replies | 4913 Views | Created by James Wanga - Friday, May 22, 2009 5:35 PM | Last reply by simmdan - Wednesday, August 12, 2009 6:17 AM -
0 Votes
EF4 code-only mutiple associations mapping
Regarding your Approach 2, is it possible to map that with code only in CTP3 or do I have to manually edit mapping file?Answered | 4 Replies | 5650 Views | Created by Ellis_ - Saturday, May 22, 2010 6:09 PM | Last reply by zeeshan hirani - Tuesday, May 25, 2010 2:45 PM -
1 Votes
Unable to determine the principal end of an association between the types
It would be nice to keep entity class and metadata together, with convention or anotations.Answered | 3 Replies | 35540 Views | Created by .otuyama - Thursday, May 12, 2011 5:08 AM | Last reply by .otuyama - Saturday, May 14, 2011 3:38 AM -
0 Votes
Load associated entity with stored procedure - no table or view mapping
But with my real problem, not all the conceptual model entities can be mapped.Answered | 10 Replies | 5537 Views | Created by John Cheng - Sunday, September 12, 2010 9:09 PM | Last reply by John Cheng - Wednesday, September 29, 2010 1:39 PM -
0 Votes
Entity Framework Inheritance Mapping
This is called TPC (Table Per Concrete Type Inheritance) mapping strategy in EF.Answered | 1 Replies | 3606 Views | Created by rha8502 - Monday, July 12, 2010 12:35 PM | Last reply by zubin wang - Thursday, July 22, 2010 1:14 AM -
1 Votes
Deleting Associations in the EDM Designer
The resulting model has an assocation between the entities and a navigation property on each entity.Answered | 1 Replies | 4973 Views | Created by Graham Hay - Friday, December 19, 2008 3:20 PM | Last reply by Noam Ben-Ami - MSFT1 - Friday, December 19, 2008 10:06 PM -
1 Votes
File Associations set to Notepad
I repeat "I have set the AV not to do this again.Answered | 7 Replies | 5330 Views | Created by robert_99 - Thursday, October 14, 2010 7:59 PM | Last reply by robert_99 - Thursday, October 21, 2010 11:38 PM - Items 1 to 20 of 2413802 Next ›
No announcements