Question

Is there any way I can do

Select TableName.SomeColumn As SomeAlias FROM TableName

In Subsonic v2.2

Was it helpful?

Solution

How about:

DAL.DB.Select(DAL.MyTable.MyColumn.QualifiedName + " AS SomeAlias")
    .From<DAL.MyTable>()
    ....
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top