示例#1
0
 public InterSystemsDatabase(string serverName, string databaseName, InterSystemsCredentials credentials = null)
     : this(serverName, databaseName, databaseName, credentials)
 {
 }
示例#2
0
 public InterSystemsDatabase(string serverName, string databaseName, string connectionName, InterSystemsCredentials credentials = null)
     : base()
 {
     ConnectionStringResolver = new InterSystemsConnectionStringResolver(serverName, databaseName, credentials);
     ConnectionName           = connectionName;
     Register();
 }
示例#3
0
 public InterSystemsConnectionStringResolver(string serverName, string databaseName, InterSystemsCredentials credentials = null)
 {
     this.ServerName        = serverName;
     this.DatabaseName      = databaseName;
     this.Credentials       = credentials;
     this.TrustedConnection = credentials == null;
 }