Compile error Fluent Mapping

Compile error Fluent Mapping

Postby nealk3nc » Tue 07 Aug 2012 12:31

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?
nealk3nc
 
Posts: 2
Joined: Fri 02 Jan 2009 22:17
Location: Virginia

Re: Compile error Fluent Mapping

Postby MariiaI » Wed 08 Aug 2012 10:06

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.
MariiaI
Devart Team
 
Posts: 1472
Joined: Mon 13 Feb 2012 08:17

Re: Compile error Fluent Mapping

Postby MariiaI » Mon 13 Aug 2012 06:45

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
MariiaI
Devart Team
 
Posts: 1472
Joined: Mon 13 Feb 2012 08:17


Return to LinqConnect (LINQ to SQL support)