tagged [union]
Group by with union mysql select query
Group by with union mysql select query ``` (SELECT COUNT(motorbike.`owner_id`) as count,owner.`name`,transport.`type` FROM transport,owner,motorbike WHERE transport.type='motobike' AND owner.`owner_id...
How do I correctly use EF Core with AutoMapper ProjectTo and Unions?
How do I correctly use EF Core with AutoMapper ProjectTo and Unions? ## My Setup - - - --- ## Problem I have a project with a DTO called `PersonDetail` and an Entity called `Person`. When I call I do ...
- Modified
- 11 Nov at 13:21
Discriminated union in C#
Discriminated union in C# [Note: This question had the original title "" but as Jeff's comment informed me, apparently this structure is called a 'discriminated union'] Excuse the verbosity of this qu...
- Modified
- 18 Dec at 22:47
How can I duplicate the F# discriminated union type in C#?
How can I duplicate the F# discriminated union type in C#? I've created a new class called Actor which processes messages passed to it. The problem I am running into is figuring out what is the most e...
- Modified
- 24 Feb at 16:30