Samophobia
Explore posts from serversSynchronizing 2 tables's ID between eachother using EntityFramework Core
Hello, I don't know if someone here is proficient with EntityFramework Core, but I've got a question about if sharing an id between tables is possible.
Lets say I got a table
EmployeeTickets
and a table CustomersTickets
. Both table have a Id
field, but that id field is like a primary key for both tables. Eg: If EmployeeTickets
have a row with Id 1, If I insert something in CustomersTicket
, the Id must be 2, and not 1.
Does EntityFramework provide a way to handle that kind of stuff, or do I need to do it manually5 replies
SIASapphire - Imagine a framework
•Created by Samophobia on 3/13/2024 in #sapphire-support
Who is Sapphire for ?
I was reading about the framework. So if I understand, that is basically just adding an opiniated structure to your code?
Assuming you have made big bots and know your way with ts/js, is that something that is still commonly used by proficient bot developers, or is it something whos more aimed at helping beginners with their journey?
8 replies