developers.de
daenet's .NET Community

Entity Framework compiling error

Damir Dobric Posts

 

Damir@Phone    



My upcoming sessions:

AppFabric Applications at
NRW Conf 2011
09.Sept.2011 Wuppertal

HTML5 widgets in WP7+
Monodroid
Mobility Day
21.Sept.2011 - Zagreb

AppFabric and WCF sessions at
Advanced Developer Conference
26.-27. Oktober 2011 in Frankenthal

AppFabric Applications, queues, topics and more at
Prio Conference
02. - 03. November 2011 in Meistersingerhalle Nürnberg

AppFabric Applications deep dive hosted by
.NET User Group Frankfurt
17.Nov.2011 18.30-22.30 Microsoft - Bad Homburg 

 

 

Error    67    Error 3026: Problem in Mapping Fragment(s) starting at line(s) (982, 1103, 1112, 1121, 1129): Data loss or key constraint violation is possible in table TAggregationEvent.
The following C-side state is not preserved upon retrieving persisted data from the store. An Entity instance e with Key (k) such that:
  ((k) plays role 'TAggregationEvent' in Association Set 'FK_TAggregationEvent_TBusinessLocation1' AND ((k) does NOT play role 'TAggregationEvent' in Association Set 'FK_TAggregationEvent_TBusinessLocation' OR (k) is NOT in 'TAggregationEvent' Entity Set OR (k) does NOT play role 'TAggregationEvent' in Association Set 'FK_TAggregationEvent_TEPCISEvent'))
    D:\Tfs\hyperion\DaenetProjects\RFID\Daenet.Epcis\Daenet.EpcisService\EntityModel.edmx    1113    11    Daenet.EpcisService

 

Error    68    Error 3012: Problem in Mapping Fragment(s) starting at line(s) (982, 1103, 1112, 1121, 1129): Data loss is possible in FK_TAggregationEvent_TBusinessLocation1.TBusinessLocation.ID.
The following C-side state is not preserved upon retrieving persisted data from the store. An Entity instance e with Key (k) such that:
  (e.TBusinessLocation.ID is not NULL AND ((k) does NOT play role 'TAggregationEvent' in Association Set 'FK_TAggregationEvent_TBusinessLocation' OR (k) is NOT in 'TAggregationEvent' Entity Set OR (k) does NOT play role 'TAggregationEvent' in Association Set 'FK_TAggregationEvent_TEPCISEvent') AND (k) plays role 'TAggregationEvent' in Association Set 'FK_TAggregationEvent_TBusinessLocation1')
    D:\Tfs\hyperion\DaenetProjects\RFID\Daenet.Epcis\Daenet.EpcisService\EntityModel.edmx    1104    11    Daenet.EpcisService

 

Error    69    'EpcisDbModel.TAggregationEvent' does not contain a definition for 'BusinessLocationID' and no extension method 'BusinessLocationID' accepting a first argument of type 'EpcisDbModel.TAggregationEvent' could be found (are you missing a using directive or an assembly reference?)    D:\Tfs\hyperion\DaenetProjects\RFID\Daenet.Epcis\Daenet.EpcisService\EpcisService.cs    35    24    Daenet.EpcisService

 

 

image


Posted Aug 10 2008, 12:40 PM by Damir Dobric
Filed under:

Add a Comment

(required)  
(optional)
(required)  
Remember Me?
daenet GmbH