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 | |
| System.Action<T><NpgsqlDbContextOptionsBuilder> | postgreSqlOptionsAction |
Returns
| Type | Description |
|---|---|
| Microsoft.EntityFrameworkCore.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 | |
| System.Action<T><NpgsqlDbContextOptionsBuilder> | postgreSqlOptionsAction |
Returns
| Type | Description |
|---|---|
| Microsoft.EntityFrameworkCore.DbContextOptionsBuilder |