SeedService Class
Assembly: ConsoleTestApp.dll
Syntax
public class SeedService : UnitOfWorkService, ISeedService, ISeedWork<ISeedService>
Inheritance
System.Object
SeedService
Constructors
SeedService(IUnitOfWork)
Declaration
public SeedService(IUnitOfWork unitOfWork)
Parameters
Type |
Name |
Description |
IUnitOfWork |
unitOfWork |
|
Properties
Events
Declaration
protected IRepository<Event> Events { get; }
Property Value
Type |
Description |
IRepository<Event> |
|
Times
Declaration
protected IRepository<EventTime> Times { get; }
Property Value
Type |
Description |
IRepository<EventTime> |
|
Users
Declaration
protected IRepository<User> Users { get; }
Property Value
Type |
Description |
IRepository<User> |
|
Methods
SeedRandomUsers(Int32)
Declaration
public void SeedRandomUsers(int recordCount)
Parameters
Type |
Name |
Description |
System.Int32 |
recordCount |
|
Implements
ISeedWork<>
Extension Methods