public static void Initialize(BeSafeContext context)
 {
     //if (StaticConfigs.GetConfig("UseInMemoryDatabase") != "true")
     //{
     //    context.Database.EnsureCreated();
     //}
 }
 public CategoryRepository(BeSafeContext context)
     : base(context)
 {
     beSafeContext = context;
 }
Example #3
0
 public UserRepository(BeSafeContext context)
     : base(context)
 {
     beSafeContext = context;
 }
 public MasterItemRepository(BeSafeContext context)
     : base(context)
 {
     beSafeContext = context;
 }