Hi,
I am using the Devart POCO Entity Template and when I run my project I am getting the following error with the generated ObjectContext file:
"public ClearingDataModelEntities() :
Line 37: base(@"metadata=res://*/ClearingDataModel.csdl|res://*/ClearingDataModel.ssdl|res://*/ClearingDataModel.msl;provider=Devart.Data.Oracle;provider connection string=""User Id=INTUIT;Password=intuit;Server=SR.ADMIN.SWAN.AC.UK;Home=oraclient10g_home1;Persist Security Info=True""", "ClearingDataModelEntities")
Line 38: {"
When I look at the ssdl, cdsl and msl files in the obj.Debug folder they are named slightly differently : DataModels.ClearingDataModel.csdl, DataModels.ClearingDataModel.msl and DataModels.ClearingDataModel.ssdl. The code generator for these files has pre-pended the name with the folder where the data model has been defined (i.e DataModels) but the code generator for the POCO Entities doesn't do the same.
Can you tell me if there is a quick config change I can make to resolve this? Alternatively, and as a last resort, please tell me how to edit the POCO template instead so that it includes the folder name in the metadata string.
Also, I notice that the app.config entry also doesn't include the folder name either but I guess I will have to hack that manually before copying to web.config? Can you give any idea as to if this is a known bug and when it will be fixed please?
Thanks,
Rob.
POCO Entity Template Problem with Generated ObjectContext
-
- Posts: 33
- Joined: Thu 20 May 2010 08:57
- Location: Wales, UK.
-
- Posts: 33
- Joined: Thu 20 May 2010 08:57
- Location: Wales, UK.