using PowerEasy.WebFuture.DataMigrations.Foundation.Enum;
using PowerEasy.WebFuture.DataMigrations.Foundation.MigrationProgramme;

namespace PowerEasy.WebFuture.DataMigrations.MigrationProgramme.SiteFactoryProgramme
{
    /// <summary>
    /// SiteFactory迁移方案示例。
    /// </summary>
    public class SiteFactoryProgramme : BaseMigrationProgramme
    {
        /// <summary>
        /// 构造函数。
        /// </summary>
        public SiteFactoryProgramme()
        {
            this.MigrationProgrammeName = "SiteFactory迁移方案";

            // 源数据库初始化信息。
            this.SourceDataBaseType = DatabaseType.SqlServer;
            this.SourceDataBaseServer = ".";
            this.SourceDataBasePort = string.Empty;
            this.SourceDataBaseName = "SiteFactory6.2.1.0";
            this.SourceDataBaseUserName = "sa";
            this.SourceDataBasePassword = "123456";

            // 目标数据库初始化信息。
            this.TargetDataBaseType = DatabaseType.SqlServer;
            this.TargetDataBaseServer = ".";
            this.TargetDataBasePort = string.Empty;
            this.TargetDataBaseName = "SmartGovPortal15.2.0";
            this.TargetDataBaseUserName = "sa";
            this.TargetDataBasePassword = "123456";
        }
    }
}
