EntityAffinityDbContextOptionsExtensions Class
Namespace: PTS
Assembly: PTS.EntityLayer.Affinity.dll
Syntax
public static class EntityAffinityDbContextOptionsExtensions
Inheritance
System.Object
EntityAffinityDbContextOptionsExtensions
Methods
UseEntityContextAffinity<TContext>(DbContextOptionsBuilder<TContext>)
Declaration
public static DbContextOptionsBuilder<TContext> UseEntityContextAffinity<TContext>(this DbContextOptionsBuilder<TContext> optionBuilder)
where TContext : DbContext, IEntityServiceProvider
Parameters
Type | Name | Description |
---|---|---|
Microsoft.EntityFrameworkCore.DbContextOptionsBuilder<TContext> | optionBuilder |
Returns
Type | Description |
---|---|
Microsoft.EntityFrameworkCore.DbContextOptionsBuilder<TContext> |
Type Parameters
Name | Description |
---|---|
TContext |
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()