How to implement method for IQuariable like below:
var trash = (from a in ContextBase.db.Users orderby a.FirstName select a).ToCollatedList();
In a result I want to see
SELECT * from [User] ORDER BY FirstName COLLATE SQL_SwedishStd_Pref_Cp1_CI_AS ASC
Thanks.
You can’t extend the Linq-to-Sql implementation to perform new functionality on the server.
The best you can do is a client-side implementation of collation.