Ejemplo n.º 1
0
 public void Login(ISqlClient sqlClient)
 {
     if (LoginType == SqlEESettings.LogonType.SqlUser)
     {
         sqlClient.Connect(Instance, Catalog, Username, PasswordEncryption.Decrypt(Password));
     }
     else
     {
         sqlClient.Connect(Instance, Catalog);
     }
 }