feat: 修改了错别字
This commit is contained in:
parent
eb80f9abb8
commit
a0889310d7
6 changed files with 14 additions and 12 deletions
|
@ -21,10 +21,12 @@ public class DirFileConfig
|
|||
/// 本地文件信息,也是即将发布的文件信息,通常是最新的版本
|
||||
/// </summary>
|
||||
public Dir? LocalDirInfo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 差异文件信息
|
||||
/// </summary>
|
||||
public Dir? DiffDirInfo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 远程文件信息,通常是较旧的版本
|
||||
/// </summary>
|
||||
|
@ -41,7 +43,7 @@ public class MSSqlConfig
|
|||
/// <summary>
|
||||
/// db名称
|
||||
/// </summary>
|
||||
public required string DatebaseName { get; set; }
|
||||
public required string DatabaseName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 用户
|
||||
|
|
|
@ -323,7 +323,7 @@ public class DeployMSSqlHelper(LocalSyncServer context)
|
|||
// 不要log file 了
|
||||
//+ $" /DiagnosticsFile:{LocalSyncServer.TempRootFile}/{Context.NotNullSyncConfig.Id.ToString()}/{Context.NotNullSyncConfig.Id.ToString()}.log"
|
||||
+ $" /p:ExtractAllTableData=false /p:VerifyExtraction=true /SourceServerName:{Context.NotNullSyncConfig.SrcDb.ServerName}"
|
||||
+ $" /SourceDatabaseName:{Context.NotNullSyncConfig.SrcDb.DatebaseName} /SourceUser:{Context.NotNullSyncConfig.SrcDb.User}"
|
||||
+ $" /SourceDatabaseName:{Context.NotNullSyncConfig.SrcDb.DatabaseName} /SourceUser:{Context.NotNullSyncConfig.SrcDb.User}"
|
||||
+ $" /SourcePassword:{Context.NotNullSyncConfig.SrcDb.Password} /SourceTrustServerCertificate:{Context.NotNullSyncConfig.SrcDb.TrustServerCertificate}"
|
||||
+ $" /p:ExtractReferencedServerScopedElements=False /p:IgnoreUserLoginMappings=True /p:IgnorePermissions=True";
|
||||
if (Context.NotNullSyncConfig.SrcDb.SyncTablesData != null)
|
||||
|
|
|
@ -151,7 +151,7 @@ public class FinallyPublishHelper(RemoteSyncServer context)
|
|||
{
|
||||
var arguments =
|
||||
$" /Action:Publish /SourceFile:{RemoteSyncServer.TempRootFile}/{Context.NotNullSyncConfig.Id.ToString()}/{Context.NotNullSyncConfig.Id}.dacpac"
|
||||
+ $" /TargetServerName:{Context.NotNullSyncConfig.DstDb.ServerName} /TargetDatabaseName:{Context.NotNullSyncConfig.DstDb.DatebaseName}"
|
||||
+ $" /TargetServerName:{Context.NotNullSyncConfig.DstDb.ServerName} /TargetDatabaseName:{Context.NotNullSyncConfig.DstDb.DatabaseName}"
|
||||
+ $" /TargetUser:{Context.NotNullSyncConfig.DstDb.User} /TargetPassword:{Context.NotNullSyncConfig.DstDb.Password} /TargetTrustServerCertificate:True";
|
||||
|
||||
ProcessStartInfo startInfo =
|
||||
|
|
|
@ -22,7 +22,7 @@ public class PipeSeed : IDisposable
|
|||
SrcDb = new MSSqlConfig
|
||||
{
|
||||
ServerName = "172.16.12.2",
|
||||
DatebaseName = "HMES_H7_HNFYMF",
|
||||
DatabaseName = "HMES_H7_HNFYMF",
|
||||
User = "hmes-h7",
|
||||
Password = "Hmes-h7666",
|
||||
TrustServerCertificate = "True",
|
||||
|
@ -37,7 +37,7 @@ public class PipeSeed : IDisposable
|
|||
DstDb = new MSSqlConfig
|
||||
{
|
||||
ServerName = "127.0.0.1",
|
||||
DatebaseName = "HMES_H7_HNFYMF",
|
||||
DatabaseName = "HMES_H7_HNFYMF",
|
||||
User = "sa",
|
||||
Password = "0",
|
||||
TrustServerCertificate = "True"
|
||||
|
|
|
@ -27,7 +27,7 @@ const example_config = {
|
|||
//Host
|
||||
ServerName: "172.16.12.2",
|
||||
//数据库名
|
||||
DatebaseName: "HMES_H7_HNFYMF",
|
||||
DatabaseName: "HMES_H7_HNFYMF",
|
||||
User: "hmes-h7",
|
||||
Password: "Hmes-h7666",
|
||||
//是否信任服务器证书
|
||||
|
@ -43,7 +43,7 @@ const example_config = {
|
|||
//目标数据库配置 sqlserver
|
||||
DstDb: {
|
||||
ServerName: "127.0.0.1",
|
||||
DatebaseName: "HMES_H7_HNFYMF",
|
||||
DatabaseName: "HMES_H7_HNFYMF",
|
||||
User: "sa",
|
||||
Password: "0",
|
||||
TrustServerCertificate: "True",
|
||||
|
@ -81,7 +81,7 @@ const config = {
|
|||
//Host
|
||||
ServerName: "172.16.12.2",
|
||||
//数据库名
|
||||
DatebaseName: "HMES_H7_HNFYMF",
|
||||
DatabaseName: "HMES_H7_HNFYMF",
|
||||
User: "hmes-h7",
|
||||
Password: "Hmes-h7666",
|
||||
//是否信任服务器证书
|
||||
|
@ -97,7 +97,7 @@ const config = {
|
|||
//目标数据库配置 sqlserver
|
||||
DstDb: {
|
||||
ServerName: "127.0.0.1",
|
||||
DatebaseName: "HMES_H7_HNFYMF",
|
||||
DatabaseName: "HMES_H7_HNFYMF",
|
||||
User: "sa",
|
||||
Password: "0",
|
||||
TrustServerCertificate: "True",
|
||||
|
|
|
@ -28,7 +28,7 @@ config = {
|
|||
RemoteRootPath: "D:/FileSyncTest/dst",
|
||||
SrcDb: {
|
||||
ServerName: "172.16.12.2",
|
||||
DatebaseName: "HMES_H7_HNFYMF",
|
||||
DatabaseName: "HMES_H7_HNFYMF",
|
||||
User: "hmes-h7",
|
||||
Password: "Hmes-h7666",
|
||||
TrustServerCertificate: "True",
|
||||
|
@ -41,7 +41,7 @@ config = {
|
|||
},
|
||||
DstDb: {
|
||||
ServerName: "127.0.0.1",
|
||||
DatebaseName: "HMES_H7_HNFYMF",
|
||||
DatabaseName: "HMES_H7_HNFYMF",
|
||||
User: "sa",
|
||||
Password: "0",
|
||||
TrustServerCertificate: "True",
|
||||
|
|
Loading…
Reference in a new issue