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

adding documentation for query null semantics #2865

Merged
merged 1 commit into from
Jan 8, 2021
Merged

Conversation

maumar
Copy link
Contributor

@maumar maumar commented Nov 11, 2020

Fixes #1612

@maumar maumar force-pushed the null_semantics branch 2 times, most recently from 2c9d3e2 to 9238d9d Compare November 11, 2020 23:24
Copy link
Member

@roji roji left a comment

Choose a reason for hiding this comment

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

This is a really nice addition to our docs.

Once general comment about the samples, is that in some cases the queries don't seem like something users would actually write, and might therefore be confusing:

For example:

var query1 = context.Entities.Where(e => context.ConcatStrings(e.String1, e.String2) != null);

It's hard to imagine someone writing this (as opposed to comparing the result of ConcatStrings to some constant).

samples/core/Samples.sln Outdated Show resolved Hide resolved
samples/core/Querying/NullSemantics/NullSemantics.csproj Outdated Show resolved Hide resolved
samples/core/Querying/NullSemantics/NullSemantics.csproj Outdated Show resolved Hide resolved
entity-framework/core/querying/null-semantics.md Outdated Show resolved Hide resolved
entity-framework/core/querying/null-semantics.md Outdated Show resolved Hide resolved
samples/core/Querying/NullSemantics/Program.cs Outdated Show resolved Hide resolved
entity-framework/core/querying/null-semantics.md Outdated Show resolved Hide resolved
entity-framework/core/querying/null-semantics.md Outdated Show resolved Hide resolved
entity-framework/core/querying/null-semantics.md Outdated Show resolved Hide resolved
entity-framework/core/querying/null-semantics.md Outdated Show resolved Hide resolved
@maumar maumar force-pushed the null_semantics branch 2 times, most recently from 4614db5 to 0fc406d Compare January 8, 2021 06:53
@maumar
Copy link
Contributor Author

maumar commented Jan 8, 2021

updated

@maumar maumar force-pushed the null_semantics branch 3 times, most recently from 42646ab to e302e3f Compare January 8, 2021 07:17
Copy link
Member

@roji roji left a comment

Choose a reason for hiding this comment

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

Looks good from my perspective!

@roji
Copy link
Member

roji commented Jan 8, 2021

BTW just noticed there there's both null-comparisons.md and null-semantics.md (duplicate)

@maumar maumar merged commit d03e8c5 into master Jan 8, 2021
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.

Create topic for relational vs. in-memory null equality/semantics
3 participants