This question is locked. New answers and comments are not allowed.
Hello,
I have an entity/table with two fields:
Id (identity, database calculated)
RowVersion (Timestamp)
In CUD Mapping, if I select "Map Procedure" for Create SP (without parameter, by design) and I update "Database from Model...", The following error is displayed:
System.InvalidOperationException
So, is it possible to map a stored procedure for INSERT without parameter like this:
CREATE PROCEDURE [dbo].[sp_oa_ins__myTable]
AS
INSERT INTO myTable DEFAULT VALUES
SELECT scope_identity()
GO
Thanks in advance.
Pierrick