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
thilanka isharaPosted Aug 22, 2014, 12:30 AM
i think this error
Nimit JoshiPosted Aug 21, 2014, 11:57 PM
You can review the following article for further reference:
http://www.c-sharpcorner.com/UploadFile/4b0136/working-with-stored-procedures-using-entity-framework-part/