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