Solved

VB.net Code Gerators

Posted on 2011-02-23
3
513 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
In this article you will learn how to create a free basic website on Bitbucket, a git service provider. Polymer creates dynamic HTML components, which allow more flexibility than static HTML. This tutorial uses Ubuntu Linux but can also be done on W…
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…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

724 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