Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

entity save example in c# model first

exec sp_executesql N'INSERT [dbo].[Student]([StudentName], [StandardId])
VALUES (@0, NULL)
SELECT [StudentID] FROM [dbo].[Student]
WHERE @@ROWCOUNT > 0 AND [StudentID] = scope_identity(),@0='Bill'
Source by www.entityframeworktutorial.net #
 
PREVIOUS NEXT
Tagged: #entity #save #model
ADD COMMENT
Topic
Name
2+5 =