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?
Compile error Fluent Mapping
Re: Compile error Fluent Mapping
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()
you should replace them with
- save changes and re-generate the code.
Please let us know if this helps.
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;
Code: Select all
using Devart.Data.Linq.Mapping.Fluent;
Please let us know if this helps.
Re: Compile error Fluent Mapping
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
For more information, please refer to http://forums.devart.com/viewtopic.php?f=31&t=24669