R
Ryan Liu
Hi,
I am using linq to sql as data access layer, and it works fine for most
store procs.
But seems it can not generate the method for the stroed proc which uses user
defined table type as parameter.
It generates an compile error:
Error 7 Build failed due to validation errors in xxx.dbml.
Open the file and resolve the issues in the Error List, then try rebuilding
the project.
And the method signature in dbml method panel using object instead of
DataTable and no actual method is genereated in cs file.
Is there a way to work around this? Since I am using linq to sql, I hope I
don't have no introduce tradintional ADO.NET data access way back into
project just for this method.
Thanks a lot!
Ryan
I am using linq to sql as data access layer, and it works fine for most
store procs.
But seems it can not generate the method for the stroed proc which uses user
defined table type as parameter.
It generates an compile error:
Error 7 Build failed due to validation errors in xxx.dbml.
Open the file and resolve the issues in the Error List, then try rebuilding
the project.
And the method signature in dbml method panel using object instead of
DataTable and no actual method is genereated in cs file.
Is there a way to work around this? Since I am using linq to sql, I hope I
don't have no introduce tradintional ADO.NET data access way back into
project just for this method.
Thanks a lot!
Ryan