Black Knight
❔ Polymorphic relationships in EF Core / .NET Core
take a look at this
https://devblogs.microsoft.com/dotnet/announcing-ef7-preview5/
12 replies
❔ Polymorphic relationships in EF Core / .NET Core
Hi,
general advice: when u coding in dotnet try to not be a Laravel thinker, yes you can implement what u had learn in Laravel here and transfer this knowledge , however remember each community have their own preferences of doing things .
can i ask u why u want it to be a Morphic relationship?
12 replies
❔ Confused about one of my Unit Testing
Hi,
be more specific about ur question...
I have some general comments on those screens:
u may consider using
1.
ArgumentNullException.ThrowIfNull()
instead of this if
checks
2. try to follow the AAA
rule when u constructing tests as u can.
3. that _
after every single world in ur test case names is not preferred, u may want to read this article
https://learn.microsoft.com/en-us/dotnet/core/testing/unit-testing-best-practices10 replies