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

Cleanup some of the internal API usage in Relational #20388

Merged
merged 1 commit into from
Mar 24, 2020

Conversation

smitpatel
Copy link
Member

  • Make EnumerableExtensions shared internal
  • Make ExpressionEqualityComparer public
  • Suppress Internal usage in EntityFrameworkRelationalServicesBuilder
  • Make ConfigurationSourceExtensions public
  • Suppress convention-less modelBuilder creation in Migration/Snapshot

@smitpatel smitpatel requested a review from a team March 23, 2020 23:05
@@ -54,6 +65,14 @@ public static IEnumerable<IMutableEntityType> GetDerivedTypesInclusive([NotNull]
public static IEnumerable<IMutableEntityType> GetDirectlyDerivedTypes([NotNull] this IMutableEntityType entityType)
=> ((EntityType)entityType).GetDirectlyDerivedTypes();

/// <summary>
/// Returns all types in hierarchy of the given <see cref="IMutableEntityType" />.
Copy link
Member

Choose a reason for hiding this comment

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

Technically it only returns all base and derived types (no siblings)

- Make EnumerableExtensions shared internal
- Make ExpressionEqualityComparer public
- Suppress Internal usage in EntityFrameworkRelationalServicesBuilder
- Make ConfigurationSourceExtensions public
- Suppress convention-less modelBuilder creation in Migration/Snapshot
@smitpatel smitpatel merged commit c9f9c33 into master Mar 24, 2020
@smitpatel smitpatel deleted the smit/BinomialDistribution branch March 24, 2020 19:44
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.

2 participants