PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft ADO .NET
Designer Generated Code
Forums
Newsgroups
Microsoft DotNet
Microsoft ADO .NET
Designer Generated Code
![]() |
Designer Generated Code |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
Hi All,
Does anyone know how to modify the rules visual studio (or the designer) uses to generate it's dataset, datatable, datarow, datatableadapter classes when you use the wizard to generate a strongly typed dataset from a database table/stored proc? I want the code that it outputs to be slightly modified. I do not want to extend or use partial classes to customise the class and I do not mean that I want to modify the designer generated code by hand. I want to modify the rules that the designer uses to generate that code. I have been informed that this is possible but know nothing more. Can anyone help me with this? Thanks, Jesse |
|
|
|
#2 |
|
Guest
Posts: n/a
|
You're looking for the Template directory.
A couple of links that can get you started. Funny...I was playing around with modifying the templates last night. http://www.google.com/search?hl=en&...o+templates+vsz http://msdn2.microsoft.com/en-us/library/ms242498.aspx http://www.codeproject.com/useritem...te_in_VSNet.asp "Jessard" <Jessard@discussions.microsoft.com> wrote in message news:C7B00D31-023D-4092-99C7-692C370CC289@microsoft.com... > Hi All, > > Does anyone know how to modify the rules visual studio (or the designer) > uses to generate it's dataset, datatable, datarow, datatableadapter > classes > when you use the wizard to generate a strongly typed dataset from a > database > table/stored proc? I want the code that it outputs to be slightly > modified. > I do not want to extend or use partial classes to customise the class and > I > do not mean that I want to modify the designer generated code by hand. I > want to modify the rules that the designer uses to generate that code. I > have been informed that this is possible but know nothing more. Can > anyone > help me with this? > > Thanks, > Jesse |
|
|
|
#3 |
|
Guest
Posts: n/a
|
Thanks for the direction Scott,
I'll look into it. Jesse "Scott Glasgow" wrote: > You're looking for the Template directory. > > A couple of links that can get you started. Funny...I was playing around > with modifying the templates last night. > > http://www.google.com/search?hl=en&...o+templates+vsz > http://msdn2.microsoft.com/en-us/library/ms242498.aspx > http://www.codeproject.com/useritem...te_in_VSNet.asp > > "Jessard" <Jessard@discussions.microsoft.com> wrote in message > news:C7B00D31-023D-4092-99C7-692C370CC289@microsoft.com... > > Hi All, > > > > Does anyone know how to modify the rules visual studio (or the designer) > > uses to generate it's dataset, datatable, datarow, datatableadapter > > classes > > when you use the wizard to generate a strongly typed dataset from a > > database > > table/stored proc? I want the code that it outputs to be slightly > > modified. > > I do not want to extend or use partial classes to customise the class and > > I > > do not mean that I want to modify the designer generated code by hand. I > > want to modify the rules that the designer uses to generate that code. I > > have been informed that this is possible but know nothing more. Can > > anyone > > help me with this? > > > > Thanks, > > Jesse > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

