在公元前我有以下规则: A project can be defined by an employer.
An approver should approve the project.
Then an employee can bid that project.
A project can be directed by a member (= an employer or an employ
这里是我的使用情况: case class Organization(id: String = UUID.randomUUID().toString, userId: String)
case class OrganizationState(organization: Option[Organization])
case CreateOrganization extends Organizat
我有以下型号: public class Team {
public Guid Id {get; set;}
public string Name {get; set;}
public string League {get; get;}
public int Rating {get; set;}
}
在创建新的团队在系统中,我发布事件:TeamCrea
我已在在QUERY侧PROJECT1其中主要包含接口 public interface IQueryResult {}
public interface IQuery<TResult> where TResult : IQueryResult {}
public interface IQueryHandler<TQuery, TResult>
where TQuery : IQuer
我是CQRS & DDD的新手,对于我正在使用MS WideWorldImporters数据库的练习,此刻我陷于采购订单放置命令,说实话我不知道它应该如何显示你能指导我吗? 我应该有1个PlaceOrderCommand和处理程序应该使用它来创建PurchaseOrder填充它的OrderLines并保存。如果是,如何命令应该是时域模型的样子: 样品域模型: public class Purcha