stored-proceduresdata-structuressubsonicdbtype

Using dbtype.structure with SubSonic 2?


When sending data to a stored procedure through SubSonic, how can I pass a dbtype.structure?

I have a TVP defined as READONLY, and when SubSonic generates the StoredProcedures.cs file, the parameter shows up as a string type.

What is the way to accomplish this?

Thank you.


Solution

  • So I basically rolled my own: SubSonic 2.x StoredProcedure parameter data types?