Solved

VB.net Code Gerators

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Graphics 2 32
HttpPostedFile 1 30
Get distinct values from excel or comm seperated file 4 32
C# MVC Insert Multiple Row into DB 2 32
This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
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…

828 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