public static void CreateForce()
        {
            var db = new MemberCardDbContext();

            db.Database.Initialize(false);
            MemberCardDbInitializer.InitializeIdentityForEF(db);
        }
Esempio n. 2
0
 public MemberCardManager(MemberCardDbContext dbContext)
     : this(new MemberCardStore(dbContext))
 {
 }
Esempio n. 3
0
 public MemberCardManager()
     : this(MemberCardDbContext.Create())
 {
 }
Esempio n. 4
0
 public ConsumptionManager(MemberCardDbContext dbContext)
     : this(new ConsumptionStore(dbContext))
 {
 }
Esempio n. 5
0
 public ConsumptionManager()
     : this(MemberCardDbContext.Create())
 {
 }