Page 1 of 1
Compile error Fluent Mapping
Posted: Tue 07 Aug 2012 12:31
by nealk3nc
I am experimenting with the Fluent Mapping capability and have generated a test class library but it generates a compile error under VS2012 for not finding the following namespaces:
using Devart.Data.Linq.FluentMapping;
using Devart.Data.Linq.FluentMapping.Conventions;.
What am I doing wrong?
Re: Compile error Fluent Mapping
Posted: Wed 08 Aug 2012 10:06
by MariiaI
Thank you for the report. We will correct this error and inform you when the fix is available.
As a workaround, you could try performing the following:
- open used template in the Model Explorer (to make the template available for editing, copy it to the Model Folder -'Copy to Model Folder' by right-click on the template in the Model Explorer);
- find the next lines in the Method GenerateFileHeader()
Code: Select all
using Devart.Data.Linq.FluentMapping;
using Devart.Data.Linq.FluentMapping.Conventions;
using Devart.Data.Linq.Provider;
you should replace them with
Code: Select all
using Devart.Data.Linq.Mapping.Fluent;
- save changes and re-generate the code.
Please let us know if this helps.
Re: Compile error Fluent Mapping
Posted: Mon 13 Aug 2012 06:45
by MariiaI
The fix that refers to Fluent Mapping error is available in new build of LinqConnect 4.0.63. It can be downloaded from
http://www.devart.com/linqconnect/download.html (trial version) or from Registered Users' Area (for users with active subscription only).
For more information, please refer to
http://forums.devart.com/viewtopic.php?f=31&t=24669