select method
Entity include always maps a full child row. A DTO belongs on the
parent query's select, not here: dropping columns would make
fromRow invent nulls for fields the SELECT never returned.
Implementation
MssqlRelation<TParent, TChild> select(List<MssqlExpression> _) {
throw StateError(
'Relation "$name" cannot project a subset of columns: the child is '
'mapped as a full ${targetBinding.qualifiedName} row. Use a parent '
'MssqlProjection when the result should be a DTO, not an entity graph.',
);
}