All Forums Connectivity
Jasonviera 1 post Joined 02/12
26 Mar 2012
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;

Only a fool tests the depths of the water with both feet.
NetFx 346 posts Joined 09/06
07 Jun 2012

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

 

You must sign in to leave a comment.