Changing datatype of port from string to int
This commit is contained in:
parent
00dafd59a3
commit
f60e1000c3
@ -44,7 +44,7 @@ namespace TelegramBotBase.Extensions.Serializer.Database.PostgreSql
|
|||||||
/// <returns>The language selection stage builder.</returns>
|
/// <returns>The language selection stage builder.</returns>
|
||||||
public static ILanguageSelectionStage UsePostgreSqlDatabase(
|
public static ILanguageSelectionStage UsePostgreSqlDatabase(
|
||||||
this ISessionSerializationStage builder,
|
this ISessionSerializationStage builder,
|
||||||
string hostOrIp, string port,
|
string hostOrIp, int port,
|
||||||
string databaseName, string userId,
|
string databaseName, string userId,
|
||||||
string password, Type fallbackForm = null,
|
string password, Type fallbackForm = null,
|
||||||
string tablePrefix = "tgb_")
|
string tablePrefix = "tgb_")
|
||||||
@ -71,7 +71,7 @@ namespace TelegramBotBase.Extensions.Serializer.Database.PostgreSql
|
|||||||
/// <returns>The language selection stage builder.</returns>
|
/// <returns>The language selection stage builder.</returns>
|
||||||
public static ILanguageSelectionStage UsePostgreSqlDatabase(
|
public static ILanguageSelectionStage UsePostgreSqlDatabase(
|
||||||
this ISessionSerializationStage builder,
|
this ISessionSerializationStage builder,
|
||||||
string hostOrIp, string port,
|
string hostOrIp, int port,
|
||||||
string databaseName, bool integratedSecurity = true,
|
string databaseName, bool integratedSecurity = true,
|
||||||
Type fallbackForm = null, string tablePrefix = "tgb_")
|
Type fallbackForm = null, string tablePrefix = "tgb_")
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user