Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: Stored Procedure Wrapper Class


Message #1 by Rami Laiho <rami@l...> on Mon, 11 Mar 2002 20:12:35 GMT



Hi.



Does anyone know nice tool to atomatically make a wrapper class (c#) for

sql server stored procedures. A command line interface would nice so it

could be included in make scripts.



R.



--

rami@l... 

Message #2 by <zivf@m...> on Tue, 12 Mar 2002 08:07:03 +0200
Have you thought of using the System.Data.SqlClient.SqlCommand class?



-----Original Message-----

From: Rami Laiho [mailto:rami@l...]

Sent: Monday, March 11, 2002 10:13 PM

To: ASP+

Subject: [aspx] Stored Procedure Wrapper Class









Hi.



Does anyone know nice tool to atomatically make a wrapper class (c#) for

sql server stored procedures. A command line interface would nice so it

could be included in make scripts.



R.



--

rami@l...






Message #3 by "Rami Laiho" <Rami.Laiho@i...> on Tue, 12 Mar 2002 10:29:18 +0200



I meant that component code for example in IBuySpy components whould be

autogenerated.

It can be done via sql server metadata and I found some examples in  old

asp.



The wrapper should make a class for Stored procedure that has Properties

for SP arguments and an execute method.



I know Visual Studio makes something like this, but I want to use text

editor for coding.



R.



> -----Original Message-----

> From: zivf@m... [mailto:zivf@m...] 

> Sent: 12. maaliskuuta 2002 8:07

> To: ASP+

> Subject: [aspx] RE: Stored Procedure Wrapper Class

> 

> 

> Have you thought of using the System.Data.SqlClient.SqlCommand class?

> 

> -----Original Message-----

> From: Rami Laiho [mailto:rami@l...]

> Sent: Monday, March 11, 2002 10:13 PM

> To: ASP+

> Subject: [aspx] Stored Procedure Wrapper Class

> 

> 

> 

> 

> Hi.

> 

> Does anyone know nice tool to atomatically make a wrapper 

> class (c#) for sql server stored procedures. A command line 

> interface would nice so it could be included in make scripts.

> 

> R.

> 

> --

> rami@l... 

> 




> 




> 




  Return to Index