/// <summary> /// Create a new ProductPhoto object. /// </summary> /// <param name="id">Initial value of the Id property.</param> public static ProductPhoto CreateProductPhoto(global::System.Int32 id) { ProductPhoto productPhoto = new ProductPhoto(); productPhoto.Id = id; return productPhoto; }
/// <summary> /// Deprecated Method for adding a new object to the ProductPhotos EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProductPhotos(ProductPhoto productPhoto) { base.AddObject("ProductPhotos", productPhoto); }