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;
 }
Beispiel #2
0
 public DbCredential(IDbCredential credential)
     : this(credential.UserName, credential.CipheredPassword)
 {
 }