-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Add overloads of UsingEntity() that could take a shared-type entity type #21505
Comments
Part of #9914 |
|
To clarify, the only required overloads are: EntityTypeBuilder UsingEntity(
[NotNull] name,
[NotNull] Func<EntityTypeBuilder, ReferenceCollectionBuilder> configureRight,
[NotNull] Func<EntityTypeBuilder, ReferenceCollectionBuilder> configureLeft);
EntityTypeBuilder<TLeftEntity> UsingEntity(
[NotNull] name,
[NotNull] Func<EntityTypeBuilder, ReferenceCollectionBuilder> configureRight,
[NotNull] Func<EntityTypeBuilder, ReferenceCollectionBuilder> configureLeft,
[NotNull] Action<EntityTypeBuilder> configureAssociation); If the specified Other overloads will be implemented in #21535 |
@AndriySvyryd - #21552 adds overloads of UsingEntity which takes only name when generic and takes name & type when non-generic, just like any other place configuring relationship with STET. Above overloads are non-generic and does not take type either (which you mentioned that we will assume Dictionary<string, object>. Do you want me to add them too? |
The reason I chose these is that I don't expect other types to be used for STETs frequently. But these can be added later, along with #21535 |
#21552 fixed this |
No description provided.
The text was updated successfully, but these errors were encountered: