public TE(PizzaToDoDTO dto) { this.CommandId = dto.CommandId; this.Date = dto.Date; this.Description = dto.Description; this.Quantity = dto.Quantity; this.Name = dto.Name; this.City = dto.City; }
public TE(PizzaToDoDTO dto) { this.PartitionKey = dto.City; this.RowKey = string.Format("{0}_{1}", dto.CommandId, dto.Description); this.CommandId = dto.CommandId; this.Date = dto.Date; this.Description = dto.Description; this.Quantity = dto.Quantity; this.Name = dto.Name; this.City = dto.City; }