File: AzureNpgsqlEntityFrameworkCorePostgreSQLSettings.cs
Web Access
Project: src\src\Components\Aspire.Azure.Npgsql.EntityFrameworkCore.PostgreSQL\Aspire.Azure.Npgsql.EntityFrameworkCore.PostgreSQL.csproj (Aspire.Azure.Npgsql.EntityFrameworkCore.PostgreSQL)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using Aspire.Npgsql.EntityFrameworkCore.PostgreSQL;
using Azure.Core;
 
namespace Aspire.Azure.Npgsql.EntityFrameworkCore.PostgreSQL;
 
/// <summary>
/// Provides the client configuration settings for connecting to an Azure Database for PostgreSQL using EntityFrameworkCore.
/// </summary>
public sealed class AzureNpgsqlEntityFrameworkCorePostgreSQLSettings : NpgsqlEntityFrameworkCorePostgreSQLSettings
{
    /// <summary>
    /// Gets or sets the credential used to authenticate to the Azure Database for PostgreSQL.
    /// </summary>
    public TokenCredential? Credential { get; set; }
}