Linq The specified type 'string' is not a valid provider type?

I'm pretty sure it's this line causing the problem.

I'm pretty sure it's this line causing the problem: Column(Storage = "_Date", DbType = "string NULL") Specifically the "string" bit. It should be the datatype the field is defined as in the stored proc. Eg varchar(...), ntext etc.

Yes, Thanks that was the issue. When I first added the stored proc to the designer I had the argument as char(4). Then I received the above error.So I changed the argument to varchar(4).

I must have transposed the string argument. In testing I removed the stored procedure, replaced the argument as char(4) and re added the proc.It now maps as varchar(4) even though it is a char(4) in the stored procedure. Thanks for the help.

– Joe Pitz Apr 21 '10 at 22:53 Thanks for saving my head from a few bonks against the wall. – roufamatic Nov 30 '10 at 0:27.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions