/// <summary> /// Initializes a new instance of the <see cref="Repository{T}"/> class. /// </summary> /// <param name="ctx">The CTX.</param> public Repository(HigherOrLowerContext ctx) { context = ctx; dbset = context.Set <T>(); }
/// <summary> /// Initializes a new instance of the <see cref="HigherOrLowerDataAccessor"/> class. /// </summary> /// <param name="context">The context.</param> public HigherOrLowerDataAccessor(HigherOrLowerContext context) => this.context = context;