public Food_FoodFoodTypeMappingDTO(FoodFoodTypeMapping FoodFoodTypeMapping)
 {
     this.Id         = FoodFoodTypeMapping.Id;
     this.FoodId     = FoodFoodTypeMapping.FoodId;
     this.FoodTypeId = FoodFoodTypeMapping.FoodTypeId;
     this.Food       = FoodFoodTypeMapping.Food == null ? null : new Food_FoodDTO(FoodFoodTypeMapping.Food);
     this.FoodType   = FoodFoodTypeMapping.FoodType == null ? null : new Food_FoodTypeDTO(FoodFoodTypeMapping.FoodType);
     this.Errors     = FoodFoodTypeMapping.Errors;
 }
Beispiel #2
0
        public OrderContent_FoodFoodTypeMappingDTO(FoodFoodTypeMapping FoodFoodTypeMapping)
        {
            this.Id = FoodFoodTypeMapping.Id;

            this.FoodId = FoodFoodTypeMapping.FoodId;

            this.FoodTypeId = FoodFoodTypeMapping.FoodTypeId;

            this.Errors = FoodFoodTypeMapping.Errors;
        }