Print Page | Close Window

Two different assemblies mapping the same entity

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2010
Forum Discription: For .NET 4.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=3516
Printed Date: 13-May-2026 at 4:52am


Topic: Two different assemblies mapping the same entity
Posted By: pponzano
Subject: Two different assemblies mapping the same entity
Date Posted: 04-Jul-2012 at 8:05am
Hello in a SL 5 application I've different modules each one using each edmx (I've got a server part then a client part), in an admin module I need two reference two client assemblied that both defines an entity called EntityOne ..I got this error

Metadata mapping error: metadata for myClient.DomainModel.Admin.EntityOne ' was not found.  This can occur if the type does not inherit from entity, if multiple CLR types map to the same EDM type, or if invalid or incorrect metadata was loaded from the connection string.  Check the debug log for other related error messages.

What have I to do in orde to get it working?

Thanks



Replies:
Posted By: kimj
Date Posted: 05-Jul-2012 at 1:38pm
On your server, are the EDMXes defined in the web project, or in one or more class libraries deployed to the bin folder?  Also, which version of DevForce are you running?



Print Page | Close Window