TestingUnitOfWorkFactory Class
Namespace: PTS.Modules.Tests.Infrastructure
Assembly: Modules.Tests.dll
Syntax
public static class TestingUnitOfWorkFactory
Inheritance
System.Object
TestingUnitOfWorkFactory
Methods
Create()
Factory method that creates TestingUnitOfWork which uses database.
Declaration
public static IUnitOfWork Create()
Returns
Type | Description |
---|---|
IUnitOfWork | Testing UnitOfWork using database. |
CreateInMemory()
Factory method that creates TestingInMemoryUnitOfWork which uses in memory repositories.
Declaration
public static IUnitOfWork CreateInMemory()
Returns
Type | Description |
---|---|
IUnitOfWork | Testing UnitOfWork using in memory repositories. |
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()