Hello everyone,
I'm planning to change the current backend for my company. I'm planning to create new web service with asp.net core and ef core. To be honest I'm stuck with the architecture.
I don't know how should I implement the relationships between the tables for Entity Framework. There is more than one positions as employees. And I don't want to implement a role layer for this architecture. So I've created tables like this: Employees, Cashiers, Packers, ... etc. And designed them like this: Employees (EmployeeId, EmployeeName, ...) Cashiers (EmployeeId, Fee, ...)
But I've read somewhere there is no way to use 1 to 1 relationships in sql. So how can I implement this relationship?
ER Diagram: Entity Relationships