Teradata.Net Provider and Entity Framework Entity Not being filled by Stored Procedure

Connectivity

Teradata.Net Provider and Entity Framework Entity Not being filled by Stored Procedure

After following the the example shown here :

http://developer.teradata.com/blog/tnguyen/2010/11/retrieving-entity-types-with-a-stored-procedure

I get this error when EF trys to execute the stored procedure:

'((result).ElementType).DeclaringMethod' threw an exception of type 'System.InvalidOperationException'

{"Method may only be called on a Type for which Type.IsGenericParameter is true."}

Anyone have any ideas why this procedure would be doing this:

REPLACE Procedure WOFDWINT.PROC_GET_DATA_LIST(IN vin varchar(20))

Dynamic Result Sets 1

BEGIN

   Declare cur1 cursor with return only to client for

   Select VIN, MK_NM, MDL_YR, MDL_NM, MDL_NBR, STYL_DESC, TRIM_DESC,

MSRP_AM, INVC_AM, VNDR_NM, DW_INSR_MAPG_NM, DW_INSR_TS, DW_RCD_STAT_CD,

DW_LST_UPDT_MAPG_NM, DW_LST_UPDT_TS from WOFDWINT.VIN_VLDN where WOFDWINT.VIN_VLDN.VIN =:vin;

   open cur1;

END;

1 REPLY
Teradata Employee

Re: Teradata.Net Provider and Entity Framework Entity Not being filled by Stored Procedure

Can you post the stack trace and the DDL for WOFDWINT.VIN_VLDN table?