public DbConnection(string name, string externalSettings, bool?isCodeFirst, IDbEndpoint endpoint, IDbCredential credential) { this.Name = name; this.ExternalSettings = externalSettings; this.IsCodeFirst = isCodeFirst ?? true; this.Endpoint = endpoint; this.Credential = credential; }
public DbEndpoint(IDbEndpoint endpoint) : this(endpoint.DbName, endpoint.IPAdress, endpoint.Port) { }