Show / Hide Table of Contents

Class AbpDbContextConfigurationContextPostgreSqlExtensions

Inheritance
object
AbpDbContextConfigurationContextPostgreSqlExtensions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.EntityFrameworkCore
Assembly: Volo.Abp.EntityFrameworkCore.PostgreSql.dll
Syntax
public static class AbpDbContextConfigurationContextPostgreSqlExtensions

Methods

UseNpgsql(AbpDbContextConfigurationContext, Action<NpgsqlDbContextOptionsBuilder>?)

Declaration
public static DbContextOptionsBuilder UseNpgsql(this AbpDbContextConfigurationContext context, Action<NpgsqlDbContextOptionsBuilder>? postgreSqlOptionsAction = null)
Parameters
Type Name Description
AbpDbContextConfigurationContext context
Action<NpgsqlDbContextOptionsBuilder> postgreSqlOptionsAction
Returns
Type Description
DbContextOptionsBuilder

UsePostgreSql(AbpDbContextConfigurationContext, Action<NpgsqlDbContextOptionsBuilder>?)

Declaration
[Obsolete("Use 'UseNpgsql(...)' method instead. This will be removed in future versions.")]
public static DbContextOptionsBuilder UsePostgreSql(this AbpDbContextConfigurationContext context, Action<NpgsqlDbContextOptionsBuilder>? postgreSqlOptionsAction = null)
Parameters
Type Name Description
AbpDbContextConfigurationContext context
Action<NpgsqlDbContextOptionsBuilder> postgreSqlOptionsAction
Returns
Type Description
DbContextOptionsBuilder
In this article
Back to top Powered by ABP.IO Platform