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

Identify WITH as generally composable in FromSql #26484

Merged
merged 5 commits into from
Oct 29, 2021
Merged

Conversation

roji
Copy link
Member

@roji roji commented Oct 28, 2021

And specifically throw for SQL Server.

Fixes #26471

And specifically throw for SQL Server.

Fixes dotnet#26471
@roji roji requested a review from a team October 28, 2021 22:03
/// </summary>
/// <param name="sql">An trimmed SQL string to be checked for composability.</param>
/// <exception cref="InvalidOperationException">The given SQL isn't composable.</exception>
protected virtual void CheckComposableSqlTrimmed(ReadOnlySpan<char> sql)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We will revisit this in API review

@roji roji merged commit 93b378d into dotnet:main Oct 29, 2021
@roji roji deleted the SoCommon branch October 29, 2021 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Identify common table expressions (WITH) as composable for raw SQL
2 participants