예제 #1
0
 public static string Decrypt(this string text)
 {
     return(Encription.Decrypt(text));
 }
예제 #2
0
 public static string GetConnectionString(this AppClaim appClaim)
 {
     return($"Server={Constants.SqlServer};Initial Catalog={appClaim.DBName};Persist Security Info=False;User ID={Encription.Decrypt(appClaim.DBUserId)};Password={Encription.Decrypt(appClaim.DBUserPassword)};MultipleActiveResultSets=true;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30;");
 }