I create a Stored procedure with visual Studio 2008 R2 and it consist with a User define Table type
When Adding EF Model a Will appear and Say "Identifire is Null or Empty"
my Table Type
CREATE TYPE [dbo].[DeviceList] AS TABLE(
[Device] [int] NOT NULL
)
my Stored Procedure
ALTER PROCEDURE [Cen].[AllocateUsersToDevice]
(
--@TblDeviceList DeviceList READONLY
)
AS
DECLARE @EmpNO varchar(50),
@DeviceNo int
DECLARE @cus_EmpList CURSOR
DECLARE @cus_DeviceList CURSOR
BEGIN
- ----Code Goes here
END

Nimit JoshiRank #75 · 24.7K reputationPosted Aug 21, 2014, 7:57 PM EDT
You can review the following article for further reference:
http://www.c-sharpcorner.com/UploadFile/4b0136/working-with-stored-procedures-using-entity-framework-part/
thilanka ishara16 reputationPosted Aug 21, 2014, 8:30 PM EDT
i think this error