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