Creating multiple BOs and want to auto-wrap code with Namespace


Author
Message
Charles R Hankey
Charles R Hankey
StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)
Group: Forum Members
Posts: 524, Visits: 30K
I have a nice utility that let's me highlight a block of code, right click, and add it to a new or existing region.



Now I find myself creating a huge number of BOs and I want each one to be part of the Lookups namespace. They alloinherit from a common LookupBaseBO, also in the Lookups namespace but my understanding is that namepace is not inherited. So I create each BO, then open the code, wrap the class code with Namespace Lookups ... end Namespace, then open the designer file and do it again. ( Hey, guess what, namespace names are case sensitive - who knew? )



(this is VB)



Anyway, does anybody know a faster way to do this - a macro, a snippet, a namespace wrapper ... suggestions ?







GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search