.net core unique numeric value for record

Hello All,

I am looking to one unique numeric field in the document which will be auto increment and will be unique for all the records in the document, please note I don’t want to explicitly write logic to auto increment.

Can anyone please help ? Thanks in advance.