Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

T4 generated code are not sorted alphabetically #4375

Closed
igor-tkachev opened this issue Jan 19, 2024 Discussed in #4367 · 0 comments · Fixed by #4376
Closed

T4 generated code are not sorted alphabetically #4375

igor-tkachev opened this issue Jan 19, 2024 Discussed in #4367 · 0 comments · Fixed by #4376
Assignees
Milestone

Comments

@igor-tkachev
Copy link
Member

Discussed in #4367

Originally posted by ndc January 11, 2024
Hello,

I have a problem using the T4 template of linq2db.SqlServer version 5.3.2. The generated code from my machine is different from my colleague's. Looks like it is sorted alphabetically in my colleague's machine but not sorted in my machine, but only for certain areas.
For example the tables are sorted alphabetically both in my machine and my colleague's.
But in 'Table Functions' I have a function called 'DelimitedSplit8K' that appears before 'CommaSeparatedListToTable' while in my colleague's machine it's the other way around.
Stored procedures and SqlFunctions are not ordered alphabetically either in my machine while they are in my colleague's machine.
TableExtensions are ordered alphabetically both in my machine and my colleague's.

This behavior makes it look like I change a lot of things in my commit.

Is it possible to add a command in the template so all parts are ordered alphabetically?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

2 participants