Changing datatype of port from string to int

This commit is contained in:
Florian Zevedei 2024-01-30 15:08:40 +01:00
parent 00dafd59a3
commit f60e1000c3

View File

@ -44,7 +44,7 @@ namespace TelegramBotBase.Extensions.Serializer.Database.PostgreSql
/// <returns>The language selection stage builder.</returns>
public static ILanguageSelectionStage UsePostgreSqlDatabase(
this ISessionSerializationStage builder,
string hostOrIp, string port,
string hostOrIp, int port,
string databaseName, string userId,
string password, Type fallbackForm = null,
string tablePrefix = "tgb_")
@ -71,7 +71,7 @@ namespace TelegramBotBase.Extensions.Serializer.Database.PostgreSql
/// <returns>The language selection stage builder.</returns>
public static ILanguageSelectionStage UsePostgreSqlDatabase(
this ISessionSerializationStage builder,
string hostOrIp, string port,
string hostOrIp, int port,
string databaseName, bool integratedSecurity = true,
Type fallbackForm = null, string tablePrefix = "tgb_")
{