Class TestDataBuilder
Inheritance
object
TestDataBuilder
Implements
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.TestApp
Assembly: Volo.Abp.TestApp.dll
Syntax
public class TestDataBuilder : ITransientDependency
Constructors
TestDataBuilder(IBasicRepository<Person, Guid>, ICityRepository, IRepository<EntityWithIntPk, int>, IRepository<Product, Guid>)
Declaration
public TestDataBuilder(IBasicRepository<Person, Guid> personRepository, ICityRepository cityRepository, IRepository<EntityWithIntPk, int> entityWithIntPksRepository, IRepository<Product, Guid> productRepository)
Parameters
| Type | Name | Description |
|---|---|---|
| IBasicRepository<Person, System.Guid> | personRepository | |
| ICityRepository | cityRepository | |
| IRepository<EntityWithIntPk, int> | entityWithIntPksRepository | |
| IRepository<Product, System.Guid> | productRepository |
Properties
IstanbulCityId
Declaration
public static Guid IstanbulCityId { get; }
Property Value
| Type | Description |
|---|---|
| System.Guid |
LondonCityId
Declaration
public static Guid LondonCityId { get; }
Property Value
| Type | Description |
|---|---|
| System.Guid |
ProductId
Declaration
public static Guid ProductId { get; }
Property Value
| Type | Description |
|---|---|
| System.Guid |
TenantId1
Declaration
public static Guid TenantId1 { get; }
Property Value
| Type | Description |
|---|---|
| System.Guid |
TenantId2
Declaration
public static Guid TenantId2 { get; }
Property Value
| Type | Description |
|---|---|
| System.Guid |
UserDouglasId
Declaration
public static Guid UserDouglasId { get; }
Property Value
| Type | Description |
|---|---|
| System.Guid |
UserJohnDeletedId
Declaration
public static Guid UserJohnDeletedId { get; }
Property Value
| Type | Description |
|---|---|
| System.Guid |
Methods
BuildAsync()
Declaration
public Task BuildAsync()
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |