Solved

VB.net Code Gerators

Posted on 2011-02-23
3
480 Views
Last Modified: 2013-11-18
Hi All,

Just looking for some info.  Very new to this.
When using a code generator to create business/persistence objects.  Would I be able to change the prefix of a sproc?
Meaning I have seen some code generatos prefix a sproc with xxx_sprocname.  Our naming conventions is ksp_sprocname...Is there one out there that would allow me to use our naming conventions?
0
Comment
Question by:mark1per
3 Comments
 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 34966774
If you don't get a better answer, you could use find/replace inside of VS. Using the "regular expressions" option would allow you to specify the pattern to search for. This pattern should be adequate:

Find:
<xxx_

Replace:
ksp
0
 
LVL 29

Accepted Solution

by:
anarki_jimbel earned 500 total points
ID: 34966992
I don't know what code generator you are using but something tells me that things like you are talking about should be configurable.Usually templates are used.

Replacing something in a generated code not  a very good idea because if you regenerate again - you loose all changes.
0
 

Author Closing Comment

by:mark1per
ID: 34997109
Yes after looking futher in to it.  These options are configurable.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Windows Service to Receive TCP Packets 4 117
Need to pass a connection through class/Method 1 39
Class object 2 26
Where can I ask about my ASP.NET MVC project? 6 12
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
I made this because I wanted to get e-mail with a attached csv file so I'd would be able to import user input into a MS Excel template, but I also wanted to register/save all inputs from each day in a file on the server. 1st - It creates a temp C…
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now