Solved

VB.net Code Gerators

Posted on 2011-02-23
3
506 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 30

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

738 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