Trying to create a new record in sql server with guid as primary key

Hi, I’m trying to create a new record from a form with the primary key mapping to a guid (i.e uniqueidentifier) primary key in sql server that has newid() defined as its default value. Is there a way to do this in Radzen? The only way I can get it to save the record is if I manually paste a guid in the primary key field of the form.

Hi @Lyndon_Voigt,

You can safely remove the Id field from Add/Edit pages Form component:




We will do our best to improve pages auto-generation to not include Form fields for primary keys with default values in the upcoming versions!

Best Regards,
Vladimir