Skip to content

Metadata - #3

Closed
anpete wants to merge 16 commits into
masterfrom
dev
Closed

anpete wants to merge 16 commits into
masterfrom
dev

Conversation

@anpete

@anpete anpete commented Jan 29, 2014

Copy link
Copy Markdown
Contributor

This is a dummy PR for the EF team to review early metadata and basic infra work. NB: This will not be pushed to master :-)

@davidfowl

Copy link
Copy Markdown
Member

You mean dev

@anpete

anpete commented Jan 29, 2014

Copy link
Copy Markdown
Contributor Author

@davidfowl - RTFM! :-)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Should be EntityType; entities are instances of entity types.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Not sure this distinction actually matters here:

  • This type is in Metadata.
  • Would we have another type called Entity representing an instance?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

My initial thought was also EntityType, but I'm willing to try without the type for now and see how it ends up feeling.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

One of my college professors always insisted on using the proper terminologies, so anything but entity type just feels wrong to me. I also got a little confused in the Model class at first thinking it was the change tracker (since it was adding entities and not entity types).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

But the current fluent api also doesn't feel wrong since I read mb.Entity<Person>() as "Entities of type Person..."

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@bricelam Are you arguing that it is not "mathematically correct"? :-P

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Yes, but I was very careful to avoid that phrase. ;)

@davidfowl

Copy link
Copy Markdown
Member

I'm generally against the internal keyword but some of those extension methods should be internal.

@anpete

anpete commented Feb 5, 2014

Copy link
Copy Markdown
Contributor Author

Merged.

@anpete anpete closed this Feb 5, 2014
fitzchak pushed a commit to fitzchak/EntityFramework that referenced this pull request Nov 30, 2016
…SelectRows statistics. Take dotnet#2: Use the DiagnosticSource on RelationalDataReader. Take dotnet#3: Fix requested changes.
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.

6 participants