Programatically changing database for BO's & application


Author
Message
JKelly
JKelly
StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)
Group: Forum Members
Posts: 19, Visits: 149
Hello,

I have a deployed winform ap with ~ 50 bo's that I am now maintaining. Among the modifications needed are schema changes so I have (of course) a dev environment and DB. The thing is, when I go from one env to the other (dev to prod) I just can not figure out how to do it w/o changing the "Database Name" property for each bo.

I've changed the values in Appmain & Appconfig as well as the db value in the conn string for the project in the bo mapper as well as all of the database properties in each of the designer files but nothing "sticks" - when ever the bo mapper is run the db property is reset to the prior value.

Having to use the bo mapper to remap each bo each time I move from dev to production is a huge time sink. Is there a way around this that I am just not seeing?

Tx - J

    Public Overrides ReadOnly Property Database() As String
        Get
            Return "CommitPayments"
        End Get
    End Property

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