Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UnitOfWork"/> class.
 /// </summary>
 public UnitOfWork()
 {
     context = new CoupeQuachVanKeContext();
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Repository{T}"/> class.
 /// </summary>
 /// <param name="context">The context.</param>
 public Repository(CoupeQuachVanKeContext context)
 {
     this.context = context;
 }
Example #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UnitOfWork"/> class.
 /// </summary>
 /// <param name="context">The context.</param>
 public UnitOfWork(CoupeQuachVanKeContext context)
 {
     this.context = context;
 }