LINQ To Mysql - GetCommand loses aliases

Discussion of open issues, suggestions and bugs regarding LinqConnect – Devart's LINQ to SQL compatible ORM
Post Reply
zach175
Posts: 1
Joined: Tue 09 Feb 2010 15:51

LINQ To Mysql - GetCommand loses aliases

Post by zach175 » Tue 09 Feb 2010 15:55

I have a LINQ-to-SQL query that I use in the datacontext.GetCommand() function which then fills a dataset. The LINQ query has aliases that it defines.

This works as expected in LINQ-to-SQL when MSSQL is the database. However, using the DevArt LINQ-toMySQL supporting connector, the aliases are lost when getCommand is called. But, the aliases do work in the regular LINQ query, they just do not maintain when GetCommand is called.

Is this not supported in the devart linq tools?

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Tue 09 Feb 2010 17:06

Please specify what aliases are lost in your case. Is the problem with table names or column names?
Please provide the query you plan to get and the one you have got, this will help us to identify the problem.

Post Reply