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



Allow Specification of Database name during...Expand / Collapse
Author
Message
Posted 08/18/2006 11:33:32 AM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: Forum Members
Last Login: 08/30/2007 12:23:01 PM
Posts: 25, Visits: 64
In the scenarios that we are currently envisioning, we are picturing multiple databases for our application.

Each containing a full version of the Tables / Schema / Etc.

Our plan is to have a Base package, then an Specific part per (Customer / System) that we need to integrate to.

Many times we need to integrate to multiple systems on a single server, all w/ the same stuff, just a different package.

We produce add-on packages, so have basically no control over the systems that we integrate to, so if I need to integrate to a Jim1 system than I'm hoping to be able to indicate that, in a single run, the Database name to create and the ERP package.

So develop a solution, all within one DB, Solution1

Need to install it twice, against Jim1Instance1 and Jim1Instance2

Would hope to have a Jim1Instance1_CustomSolution1 DB AND a Jim1Instance2_CustomSolution1 database possible (Schema within the CustomSolution the same, but business rules pointing to different Instances, and views also specific to the Instance)

Not sure if this is possible currently, if going to add probably could allow this as an option within the ToolKit on the Database Level (Prompt during deployment or something), and if selected ask for each DB with this option selected during the Deployment wizard
Post #2276
Posted 08/18/2006 11:48:40 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: 12/02/2008 4:42:46 PM
Posts: 2,686, Visits: 1,890
Yes, that enhancement request has already been mentioned.  When you choose to deploy a database, right now the database is "hard-coded" in the profile.  So, you cannot deploy the same package to two different database names within the same instance of SQL Server. 

So, if we allowed you to select the database name when deploying, then that would take care of you're only issue.


www.bungie.net
Post #2279
Posted 08/18/2006 12:04:07 PM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: Forum Members
Last Login: 08/30/2007 12:23:01 PM
Posts: 25, Visits: 64
Yup, that change would do it.

Ideal would be slightly stronger -
Allow selection of "Correct" databases, and for me to validate them (e.g. If I know a particular table that must exist in the database that I link to, would like to be able to limit the selection to only databases with that table existing. Better if post an event per Database on that server, allowing subscription to that event, and letting a flag be set indicating "Invalid Database". I explicitly shouldn't alter the database that I'm linking into, which fits well in the dynamic sql scenarios, but could cause trouble installing). This might not belong in the Database area, but rather the DataSource Selection part of hooking up the application, not sure, you'd be a better judge of that!
Post #2281
Posted 08/18/2006 1:54:29 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: 12/02/2008 4:42:46 PM
Posts: 2,686, Visits: 1,890
You can deploy the database programmatically using the MicroFour.StrataFrame.DBEngine assembly.  When we add the ability for you to choose the database name, you can determine the possible databases through whatever logic is necessary and just provide the correct one when you call DatabaseMigrator.DeployMetaData().


www.bungie.net
Post #2285
« 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 2:55am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.078. 14 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.