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



Deploying Default Data with DDTExpand / Collapse
Author
Message
Posted 01/05/2007 2:33:52 AM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: Forum Members
Last Login: 03/12/2007 10:46:25 PM
Posts: 7, Visits: 25
Hi Trent,

I have a followup question to your last email to me.  Regarding your comment:

There are three different options of how data is deployed into the database.  We have this same need within our medical system.  For example, we have CPT Codes, Diagnosis Codes, Insurance Carriers, etc.  that have this same scenario.  You will want to use the Ignore or Merge options with the deployment data.

I don't think those options will work as the data should only be deployed at the time the database is created.  I can't use "Ignore" because the data might already exist (added by the user) under a different data key.  I have many tables in the application which need to be preset with some reference data....but only once.  Later, the user can add or delete the data according to their needs.

--Lenard

Post #5596
Posted 01/08/2007 11:58:41 AM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: Forum Members
Last Login: 03/12/2007 10:46:25 PM
Posts: 7, Visits: 25
So, Trent.....I take it that I won't be able to specify certain static data to be deployed only when new databases are created, correct?

Another question....is it possible to deploy a database to the same server using a different DB name and login creditentials? 

Thanks.

--Lenard

Post #5678
Posted 01/08/2007 12:03:08 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 3:31:03 AM
Posts: 4,586, Visits: 4,569
Then you will probably want to create your own data installer (very easy to do).  You can then manage the data install however you would like.  You can see a sample of this by downloading the samples here: http://forum.strataframe.net/Forum17-1.aspx .  If you are VB.NET then download the Database Installer Sample topic.  Otherwise download the CSharp Samples and it will be in there as well.

Another question....is it possible to deploy a database to the same server using a different DB name and login creditentials? 

Yes.  This is a feature that has been recently added.  Make sure you download the latest version of the framework from yout "My Account" are and even when deploying from within the designer you now have the ability to change the database name at the time od deployment.

Post #5679
Posted 01/08/2007 5:39:49 PM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: Forum Members
Last Login: 03/12/2007 10:46:25 PM
Posts: 7, Visits: 25
Hi Trent,

Are there any plans to add the ability to do it within DDT (instead of doing it via a separate installer)?  I can't be the only one with this requirement.  It sure would be a nice enhancement. 

Thanks.

--Lenard

Post #5687
Posted 01/08/2007 10:34:20 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 3:31:03 AM
Posts: 4,586, Visits: 4,569
Are there any plans to add the ability to do it within DDT (instead of doing it via a separate installer)? 

You can do it through the designer.  You were making references to deployment and I assumed you were referring to your installation.  You have control over this through the DDT designer as well.  You do not have to deploy the data and can in fact choose which data items get deployed.  Also, you can change the database name dynamically when deploying as well.  You will have to have the most recent update in order to do this, but you this ability already exists within the designer.  In fact, you can use the same deployment forms used within the designer programmatically.  This is one of the samples I mentioned earlier. 

Post #5689
« 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 5:58am

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