예제 #1
0
 public ItemAccessLayer(GameZorkDbContext context) : base(context)
 {
 }
예제 #2
0
 public CellAccessLayer(GameZorkDbContext context) : base(context)
 {
 }
 public MonsterAccessLayer(GameZorkDbContext context) : base(context)
 {
 }
예제 #4
0
 public Seeder(GameZorkDbContext dbContext)
 {
     this.dbContext = dbContext;
 }
 public WeaponsAccessLayer(GameZorkDbContext context) : base(context)
 {
 }
예제 #6
0
        /// <summary>
        ///     Initializes a new instance of the <see cref="BaseAccessLayer{TModel}" /> class.
        /// </summary>
        /// <param name="context">The context.</param>
        protected BaseAccessLayer(GameZorkDbContext context)
        {
            this.context = context;

            this.modelSet = this.context.Set <TModel>();
        }