/// <summary> /// Initializes a new instance of the <see cref="GenericRepository{T}"/> class. /// </summary> /// <param name="dBContext">The d b context.</param> protected GenericRepository(HahnDatabaseContext dBContext) { this.dBContext = dBContext; }
/// <summary> /// Initializes a new instance of the <see cref="UnitOfWork" /> class. /// </summary> /// <param name="dBContext">The d b context.</param> /// <param name="assetInformation">The asset information.</param> public UnitOfWork(HahnDatabaseContext dBContext, IAssetInformation assetInformation) { this.dBContext = dBContext; this.assetInformation = assetInformation; }
/// <summary> /// Initializes a new instance of the <see cref="AssetInformation"/> class. /// </summary> /// <param name="dbContext">The database context.</param> public AssetInformation(HahnDatabaseContext dbContext) : base(dbContext) { }