Hi,
I've just started working with version 2.0. I'm cobbling together some new classes based on some code that worked with Adapter code generated in 1.x. In my 2.0 generated code, I noticed that SortClauseFactory.cs was not present in the FactoryClasses dir, nor was PredicateFactory.cs, so my SortClauseFactory.Create method calls were no longer valid.
I looked at the templates used to generate the 2.0 code and saw that the templates to generate those classes were grayed out and marked as only used for backward compatibility. I don't need backward compatibility (and have moved that to the bottom of the list in the generator), as long as there is a new way to do the same thing, but am unable to find the new way to do the same thing.
In the docs, under "filtering and sorting, Adapter" it says:
"The SortClauseFactory.Create method has overloads which accept an object alias as well. In the previous section, Advanced Filtering, aliassing entities has been introduced, and you can refer to a specific field in a specific aliased entity by specifying the right alias with the SortClauseFactory.Create call. "
I can't find any info about how to do it without those classes in 2.0. ???
TIA,
Jack