I am getting null value not allowed for objectID exception while saving a new object without manually assigning any objectId (autoGenerateObjectID is false) Contact contact=new Contact(); ...
ALTER PROCEDURE dbo.sp_select_get_object_id(@table_name sysname, @spid int = null, @object_id int output) ...