1- using System ;
1+ using System ;
22using System . Data ;
33using System . Security . Cryptography . X509Certificates ;
44using System . Text . RegularExpressions ;
@@ -165,6 +165,13 @@ public static void PostgresqlDatabase(this SupportedDatabasesForEnsureDatabase s
165165 PostgresqlDatabase ( supported , connectionString , logger , new PostgresqlConnectionOptions ( ) ) ;
166166 }
167167
168+ /// <summary>
169+ /// Ensures that the database specified in the connection string exists using SSL for the connection.
170+ /// </summary>
171+ /// <param name="supported">Fluent helper type.</param>
172+ /// <param name="connectionString">The connection string.</param>
173+ /// <param name="logger">The <see cref="DbUp.Engine.Output.IUpgradeLog"/> used to record actions.</param>
174+ /// <param name="certificate">Certificate for securing connection.</param>
168175 public static void PostgresqlDatabase ( this SupportedDatabasesForEnsureDatabase supported , string connectionString , IUpgradeLog logger , X509Certificate2 certificate )
169176 {
170177 var options = new PostgresqlConnectionOptions
@@ -174,6 +181,13 @@ public static void PostgresqlDatabase(this SupportedDatabasesForEnsureDatabase s
174181 PostgresqlDatabase ( supported , connectionString , logger , options ) ;
175182 }
176183
184+ /// <summary>
185+ /// Ensures that the database specified in the connection string exists using SSL for the connection.
186+ /// </summary>
187+ /// <param name="supported">Fluent helper type.</param>
188+ /// <param name="connectionString">The connection string.</param>
189+ /// <param name="logger">The <see cref="DbUp.Engine.Output.IUpgradeLog"/> used to record actions.</param>
190+ /// <param name="connectionOptions">Connection options to set SSL parameters</param>
177191 public static void PostgresqlDatabase (
178192 this SupportedDatabasesForEnsureDatabase supported ,
179193 string connectionString ,
@@ -292,6 +306,13 @@ public static void PostgresqlDatabase(this SupportedDatabasesForDropDatabase sup
292306 PostgresqlDatabase ( supported , connectionString , logger , new PostgresqlConnectionOptions ( ) ) ;
293307 }
294308
309+ /// <summary>
310+ /// Drops the database specified in the connection string if it exists using SSL for the connection.
311+ /// </summary>
312+ /// <param name="supported">Fluent helper type.</param>
313+ /// <param name="connectionString">The connection string.</param>
314+ /// <param name="logger">The <see cref="DbUp.Engine.Output.IUpgradeLog"/> used to record actions.</param>
315+ /// <param name="certificate">Certificate for securing connection.</param>
295316 public static void PostgresqlDatabase ( this SupportedDatabasesForDropDatabase supported , string connectionString , IUpgradeLog logger , X509Certificate2 certificate )
296317 {
297318 var options = new PostgresqlConnectionOptions
@@ -301,6 +322,13 @@ public static void PostgresqlDatabase(this SupportedDatabasesForDropDatabase sup
301322 PostgresqlDatabase ( supported , connectionString , logger , options ) ;
302323 }
303324
325+ /// <summary>
326+ /// Drops the database specified in the connection string if it exists using SSL for the connection.
327+ /// </summary>
328+ /// <param name="supported">Fluent helper type.</param>
329+ /// <param name="connectionString">The connection string.</param>
330+ /// <param name="logger">The <see cref="DbUp.Engine.Output.IUpgradeLog"/> used to record actions.</param>
331+ /// <param name="connectionOptions">Connection options to set SSL parameters</param>
304332 public static void PostgresqlDatabase (
305333 this SupportedDatabasesForDropDatabase supported ,
306334 string connectionString ,
0 commit comments