I am aware of this and I think I also understand the difference between relational model and domain model. However, I think that objects like this:
public class SomeFact
{
public DimensionX DimensionX { get; set; }
public DimensionY DimensionY { get; set; }
public double SomeValue { get; set; }
}
are perfectly reasonable in a DDD world as well as a relational world (star schema, dimensional model). Here DimensionX and DimensionY are entities. You could deem the above class as value object, as it would not exist without neither entity. However, usually a value object is part of an entity. Can I force EF to create a corresponding table for the above class (without primary key)? I know I could introduce a fake primary key but this would mean that I lose the clustered index which may become important for other things.