DDD Example - Version 1
public class OrderItem | |
{ | |
public OrderItem(int orderId, string orderName) | |
{ | |
OrderId = orderId; | |
OrderName = orderName; | |
} | |
public int OrderId { get; private set; } | |
public string OrderName { get; private set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment