C2017-003: Support SQL Server for storing of Referenced Object data
This commit is contained in:
@@ -882,6 +882,8 @@ namespace Volian.Controls.Library
|
||||
ROFSTLookup.rochild roch = (ROFSTLookup.rochild)obj;
|
||||
_SelectedRoidBeforeRoEditor = roch.roid;
|
||||
string args = "\"" + _MyROFST.MyRODb.FolderPath + "\" " + roch.roid.ToLower();
|
||||
// C2017-003: ro data in sql server, check for sql connection string
|
||||
if (_MyROFST.MyRODb.DBConnectionString != "cstring") args = args + " \"" + _MyROFST.MyRODb.DBConnectionString + "\"";
|
||||
System.Diagnostics.Process.Start(roapp, args);
|
||||
}
|
||||
}
|
||||
@@ -922,6 +924,8 @@ namespace Volian.Controls.Library
|
||||
FlexibleMessageBox.Show(string.Format("RO Database directory does not exist: {0}", _MyROFST.MyRODb.FolderPath));
|
||||
return;
|
||||
}
|
||||
// C2017-003: ro data in sql server, check for sql connection string
|
||||
if (_MyROFST.MyRODb.DBConnectionString != "cstring") args = args + " \"" + _MyROFST.MyRODb.DBConnectionString + "\"";
|
||||
System.Diagnostics.Process.Start(roapp, args);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user