Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LearningModuleTagRepository"/> class.
 /// </summary>
 /// <param name="context">The Entity framework database context class to work with entities.</param>
 public LearningModuleTagRepository(LearnNowContext context)
     : base(context)
 {
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TagRepository"/> class.
 /// </summary>
 /// <param name="context">The Entity framework database context class to work with entities.</param>
 public TagRepository(LearnNowContext context)
     : base(context)
 {
 }
#pragma warning restore CA1051 // Context needs to be accessed by child classes.
#pragma warning restore SA1401 // Context needs to be accessed by child classes.

        /// <summary>
        /// Initializes a new instance of the <see cref="BaseRepository{T}"/> class.
        /// </summary>
        /// <param name="context">The Entity framework database context class to work with entities.</param>
        public BaseRepository(LearnNowContext context)
        {
            this.context = context;
        }
Пример #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UserLearningModuleRepository"/> class.
 /// </summary>
 /// <param name="context">The Entity framework database context class to work with entities.</param>
 public UserLearningModuleRepository(LearnNowContext context)
     : base(context)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="GradeRepository"/> class.
 /// </summary>
 /// <param name="context">The Entity framework database context class to work with entities.</param>
 public GradeRepository(LearnNowContext context)
     : base(context)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ResourceRepository"/> class.
 /// </summary>
 /// <param name="context">The Entity framework database context class to work with entities.</param>
 public ResourceRepository(LearnNowContext context)
     : base(context)
 {
 }
Пример #7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UserSettingRepository"/> class.
 /// </summary>
 /// <param name="context">The Entity framework database context class to work with entities.</param>
 public UserSettingRepository(LearnNowContext context)
     : base(context)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="TabConfigurationRepository"/> class.
 /// </summary>
 /// <param name="context">The Entity framework database context class to work with entities.</param>
 public TabConfigurationRepository(LearnNowContext context)
     : base(context)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="SubjectRepository"/> class.
 /// </summary>
 /// <param name="context">The Entity framework database context class to work with entities.</param>
 public SubjectRepository(LearnNowContext context)
     : base(context)
 {
 }