Пример #1
0
 internal Product(string code, string name, DrugTerminology terminology, long?groupId, string groupName)
 {
     Reference = new RxProduct.Reference(code, name, terminology);
     Group     = groupId.HasValue ? new RxProduct.Grouping(groupId.Value, groupName) : RxProduct.Grouping.Empty;
 }
Пример #2
0
 public ProductBuilder WithGroup(RxProduct.Grouping group)
 {
     this.group = group;
     return(this);
 }