In my database I have Customers, Logins and Tickets.
- Tickets have Customers OR Logins on the CreatedByID
- Customers DO NOT have Logins and viceversa
- Designate between a Customer or Login using the CreatedByType column on Ticket
I'm unable to get entity framework to work with it and haven't had any luck reading about it. How do you make this function with Entity Framework?