I am developing a desktop application using windows forms c#, I've created an unique index named Id in my database.
But now I want it when I send a class with field 'Id' empty so the database gives it a unique value by its own.
I am sorry for not illustrating well and also the problem may seem easy, but I don't know how because i am still a beginner
Thanks in advance.