StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Code RegionsExpand / Collapse
Author
Message
Posted 01/06/2006 3:08:21 PM


StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: Today @ 12:34:12 PM
Posts: 363, Visits: 1,799

I’m looking for a way to enforce basic code structure among developers.

It would be nice to have some way of customizing the Regions that are created when a new Business Object is added to a project. In addition to the ones currently created I’d like a Business Rules Region, Custom Fields, etc.  Other people may want something different.  

Post #418
Posted 01/24/2006 8:58:44 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: 09/26/2008 8:30:36 AM
Posts: 2,685, Visits: 1,886
You can change the business object template within the C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ItemTemplatesCache\CSharp\1033 folder. If you didn't install Visual Studio to the default folder, then alter that path correspondingly. Within this folder, you will find a folder for each object. Open up the SF_BusinessObject.zip folder and modify the component.cs file to have the regions you want. We do this with most of the default .NET templates (like Class.vb) so that we can start the new object off with our default regions.

Don't forget to save the regions you entered, as you'll have to re-do this process if you uninstall/reinstall StrataFrame because it re-deploys the templates which will overwrite your changes.

P.S. Sorry about the slow response... this post didn't show up in my "Recent Posts" list, so it never got answered


www.bungie.net
Post #467
Posted 01/24/2006 12:26:40 PM


StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: Today @ 12:34:12 PM
Posts: 363, Visits: 1,799
Thanks... works great

-Larry

Post #469
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 1:37pm

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.078. 10 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.