sthiakos
sthiakos
This was useful for me in the following Scenarios: - Undo default conventions applied by EF using DbModelBuilder *\* Creating an IStoreModelConvention for AssociationType to remove underscore from FK names,...
Thanks for the info Rowan, I'll just need to explicitly load my entities in this method for my domain assembly: ``` c# protected override void OnModelCreating(ModelBuilder modelBuilder) { var entityTypes...
What's interesting is when a Many-To-Many relationship has additional attributes/columns (e.g. DateOfAssociation, Priority, etc.) it becomes an observed entity. I can see that consistency would drive towards creating an intermediate...
While considered an essential, there is a workaround and someone could argue that it's an optimization. Remember that once the relationship has some other attribute (e.g. Association Date) it suddenly...
I'm okay with Composition for TPT for now. @ToddThomson makes a very good recommendation to use composition, rather than inheritance, for TPT scenarios. The one drawback is that our object...
Given ``` sql CREATE TABLE Base ( BaseId INT NOT NULL Identity, BaseProperty INT NOT NULL, CONSTRAINT PK_Base PRIMARY KEY (BaseId) ) CREATE TABLE Sub ( BaseId INT NOT NULL,...
I _think_ you're right @crozone.
I'd say TPC is not an anti-pattern nor contrary to 3NF. In TPC there is no repeating data _within_ the table. "fixing" TPC would imply having one table for the...
+1 For Me - Note to all that you should "thumbs up" the initial post by @satyajit-behera to vote up this issue. This and TPC is how DB's are/should be...
+1 For Me - Note to all that you should "thumbs up" the initial post by @rowanmiller to vote up this issue. This and TPT is how DB's are/should be...