/// <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="Repository{T}"/> class. /// </summary> /// <param name="ctx">The CTX.</param> public Repository(HigherOrLowerContext ctx) { context = ctx; dbset = context.Set <T>(); }