I want to write a T-Sql query which queries the base table from a TargetPerEntity hierarchy and can identify the leaf type without doing a left join to the leaf tables.
Entity framework adds a column to a base table that stores the type identifier. Is LLBLGen able to similarly do this automatically?
Otherwise, what is an easy way of managing a type field such that its hidden from the client code? For example, it would be good to have the client code not need to set the column when creating an instance of a type from the hierarchy.