Quantcast
Channel: patterns & practices: Prism
Viewing all articles
Browse latest Browse all 1878

New Post: Entity Connection and Modules

$
0
0

Connection String Meta :

                        res://Xz.Business.xModule/Model.RecordzModel.csdl|
                        res://Xz.Business.xModule/Model.RecordzModel.ssdl|
                        res://Xz.Business.xModule/Model.RecordzModel.msl;

---
Errors :

After Adding Business.xModule into the Config File :

+        base    {"Unable to load the specified metadata resource."}    System.Data.EntityException {System.Data.MetadataException}

After Adding Business.xModule into the Config File :
+        base    {"Unable to resolve assembly 'Xz.Business.xModule'.":null}    System.IO.IOException {System.IO.FileNotFoundException}
---
xModule Info :
The Assembly Name : Business.xModule
Default Namespace : Xz.Business.xModule
------
Folder Locations :
Solution Folder and xModule Module Folder

Solution Location\..\x1\x2\xModule Location

Modules Location
Solution Location\..\Build

Notes :

  1. The modules have Post-Build Action which place the result assemblies into the "Build Folder"
  2. Other pieces of the config are correct.
  3. Unity, SQL CE, EF 5.0 were used.
  4. Entities are located in the DAL module and Our main module is going to use it, ( Referenced it.)

I know that Entities weren't fully supported but I think if I build this final structure I could make it work in some project lines.

Thanks in advance


Viewing all articles
Browse latest Browse all 1878

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>