public MainWindow() { InitializeComponent(); var t = new AmoebaDBContext().GetType().Assembly; var x = new EFEntity <IEntity>().GetType().Assembly; var d = new NHDBContext(); BootStrapper.BootStrapper.Instance.StartUp(d, t, x); }
public void LoadIEntity() { var t = new AmoebaDBContext().GetType().Assembly; var x1 = new EFEntity().GetType().Assembly; var d = new NHDBContext(); BootStrapper.BootStrapper.Instance.StartUp(d, t, x1); EventMessageBus.Current.GetEvent <EntitySetLoaded <IEntities> >(msgSource).Subscribe(x => handleEntitiesLoaded(x.Entities)); EventMessageBus.Current.Publish(new LoadEntitySet <IEntities>(msgSource), msgSource); }
/// <summary> /// Constructor injection /// </summary> /// <param name="context"></param> public ApplicationInfoServices(NHDBContext context) { _context = context ?? throw new ArgumentNullException(nameof(context)); }
public ApplicationInfoController(NHDBContext context) { _context = context; }
/// <summary> /// DbContext Constructor injection /// </summary> /// <param name="context"></param> public BackgroundInfoService(NHDBContext context) { _context = context; }
public DriversLicenseService(NHDBContext context) { _context = context; }
public AddressService(NHDBContext context) { _context = context; }