You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewArgumentException("ConnectionString and DataSource are null and ServiceProviderMode is set to None. You must specify connection with connection string, DataSource object or with ServiceProvider");
}
if(options.ConnectionStringis not null&&options.DataSourceis not null&&options.ServiceProviderMode==ServiceProviderObject.None)
{
thrownewArgumentException("Both ConnectionString and DataSource are provided. Please specify only one.");
NpgsqlRestMiddleware.SetLogger(factoryis not null?factory.CreateLogger(options.LoggerName??typeof(NpgsqlRestMiddlewareExtensions).Namespace??"NpgsqlRest"):app.Logger);