Show / Hide Table of Contents

Class TestDataBuilder

Inheritance
object
TestDataBuilder
Implements
ITransientDependency
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, Guid> personRepository
ICityRepository cityRepository
IRepository<EntityWithIntPk, int> entityWithIntPksRepository
IRepository<Product, Guid> productRepository

Properties

IstanbulCityId

Declaration
public static Guid IstanbulCityId { get; }
Property Value
Type Description
Guid

LondonCityId

Declaration
public static Guid LondonCityId { get; }
Property Value
Type Description
Guid

ProductId

Declaration
public static Guid ProductId { get; }
Property Value
Type Description
Guid

TenantId1

Declaration
public static Guid TenantId1 { get; }
Property Value
Type Description
Guid

TenantId2

Declaration
public static Guid TenantId2 { get; }
Property Value
Type Description
Guid

UserDouglasId

Declaration
public static Guid UserDouglasId { get; }
Property Value
Type Description
Guid

UserJohnDeletedId

Declaration
public static Guid UserJohnDeletedId { get; }
Property Value
Type Description
Guid

Methods

BuildAsync()

Declaration
public Task BuildAsync()
Returns
Type Description
Task

Implements

ITransientDependency

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform