Exemplo n.º 1
0
        public static void Boot()
        {
            //should consider this
            new CreateDatabaseIfNotExists <TestDbContext>().InitializeDatabase(new TestDbContext());

            //if dont want manual regist = code
            //can use reflection to load dll from folder Bin eg:
            MemoryMessageBuss.AutoRegisterExecutingAssembly();

            //manual register command handle and event handle
            //EventHandleRegister();
            //CommandHandleRegister();

            MemoryQueue.Boot();
        }