This repo contains a sample application based on a Garage Management System for Pitstop - a fictitious garage. The primary goal of this sample is to demonstrate several software-architecture concepts like: Microservices, CQRS, Event Sourcing, Domain Driven Design (DDD), Eventual Consistency.
I have one quick question that I can see where WorkshopManagementEventStore databse is being created but i am unable to locate where WorkshopManagement db is being created
// create database string sql = "IF NOT EXISTS(SELECT * FROM master.sys.databases WHERE name='WorkshopManagementEventStore') CREATE DATABASE WorkshopManagementEventStore;"; conn.Execute(sql);
This database is created by the WorkshopManagementEventHandler. This is the service that fills the readmodels in this database by ingesting events from the message broker.
Hi
I have one quick question that I can see where WorkshopManagementEventStore databse is being created but i am unable to locate where WorkshopManagement db is being created
// create database string sql = "IF NOT EXISTS(SELECT * FROM master.sys.databases WHERE name='WorkshopManagementEventStore') CREATE DATABASE WorkshopManagementEventStore;"; conn.Execute(sql);