mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 05:23:31 -07:00
More better joins, some minor MDM changes for paging
This commit is contained in:
parent
32431540c5
commit
3602822572
7 changed files with 20 additions and 9 deletions
|
@ -182,7 +182,12 @@ namespace Marr.Data.QGen
|
|||
}
|
||||
|
||||
string columnName = DataHelper.GetColumnName(declaringType, member.Name, _useAltName);
|
||||
return _dialect.CreateToken(string.Format("{0}.{1}", table.Alias, columnName));
|
||||
|
||||
if (!_useAltName)
|
||||
return _dialect.CreateToken(string.Format("{0}.{1}", table.Alias, columnName));
|
||||
|
||||
else
|
||||
return _dialect.CreateToken(string.Format("{0}", columnName));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue