We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
var splittedTableNames = tables.Select(t => { var parts = t.Split('.', StringSplitOptions.TrimEntries); var schema = parts[0].TrimStart('[').TrimEnd(']'); var name = parts[1].TrimStart('[').TrimEnd(']'); return new { Schema = schema, Name = name }; });
This can "easily" break, as this is a valid CREATE TABLE statement:
CREATE TABLE "[.[Ew!l💩]" ( Id int )
One possible solution could be to create an abstraction like:
public class Table { string? Schema { get; set;} string Name { get; set;} }
Happy to create a PR if interested?
The text was updated successfully, but these errors were encountered:
Of course, feel free to make a PR for this improvement. Thank you for your contribution!
Sorry, something went wrong.
I reopen and assign to me this issue because I think it is an important improvement.
@marcominerva Cool, I looked at it and it snowballed.. 😆
marcominerva
No branches or pull requests
This can "easily" break, as this is a valid CREATE TABLE statement:
One possible solution could be to create an abstraction like:
Happy to create a PR if interested?
The text was updated successfully, but these errors were encountered: