TestingDbContextFactory Class
Namespace: PTS.Modules.Tests.Infrastructure
Assembly: Modules.Tests.dll
Syntax
public static class TestingDbContextFactory
Inheritance
System.Object
TestingDbContextFactory
Methods
Create()
Factory method for creating TestingDbContext.
Declaration
public static TestingDbContext Create()
Returns
Type | Description |
---|---|
TestingDbContext | Testing database context. |
CreateAsync()
Factory method for creating TestingDbContext asynchronously.
Declaration
public static Task<TestingDbContext> CreateAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TestingDbContext> | Testing database context. |
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()