I moved my Entity Framework 4 model to a class library. Meta files are created in \ bin \ Debug
What connection string do I use to search for metafiles in the class library? I tried:
<add name="Models.DataModelConnectionString"
connectionString="metadata=res://MyClassLibrary, 1.0.0.0, neutral,
null/bin/Debug/Models.DataModel.csdl|res://MyClassLibrary, 1.0.0.0, neutral,
null/bin/Debug/Models.DataModel.ssdl|res://MyClassLibrary, 1.0.0.0, neutral,
null/bin/Debug/Models.DataModel.msl;provider=Devart.Data.Oracle;
....">
I still get the error "The specified metadata path is not valid."
Do I need to move metafiles to the root directory of the class library?
Edit
I tried to use res://*/Models.DataModel.csdl, etc., but got the error "Could not load the specified metadata resource." instead
source
share