public FirebirdSqlDatabase(string serverName, string databaseName, string connectionName, FirebirdSqlCredentials credentials = null) { ColumnNameProvider = (c) => "\"{0}\""._Format(c.Name); ConnectionStringResolver = new FirebirdSqlConnectionStringResolver(serverName, databaseName, credentials); ConnectionName = connectionName; Register(); }
public FirebirdSqlConnectionStringResolver(string serverName, string databaseName, FirebirdSqlCredentials credentials = null) { ServerName = serverName; DatabaseName = databaseName; Credentials = credentials ?? new FirebirdSqlCredentials(); Role = string.Empty; Pooling = true; Port = 3050; ConnectionLifetime = 15; PacketSize = 8192; }
public FirebirdSqlDatabase(string serverName, string databaseName, FirebirdSqlCredentials credentials = null) : this(serverName, databaseName, databaseName, credentials) { }
public FirebirdSqlConnectionStringResolver(string databaseName, FirebirdSqlCredentials credentials = null) : this("localhost", databaseName, credentials) { }