/// <summary>
 /// Create a new ProductProductPhoto object.
 /// </summary>
 /// <param name="productID">Initial value of the ProductID property.</param>
 /// <param name="productPhotoID">Initial value of the ProductPhotoID property.</param>
 /// <param name="primary">Initial value of the Primary property.</param>
 /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param>
 public static ProductProductPhoto CreateProductProductPhoto(global::System.Int32 productID, global::System.Int32 productPhotoID, global::System.Boolean primary, global::System.DateTime modifiedDate)
 {
     ProductProductPhoto productProductPhoto = new ProductProductPhoto();
     productProductPhoto.ProductID = productID;
     productProductPhoto.ProductPhotoID = productPhotoID;
     productProductPhoto.Primary = primary;
     productProductPhoto.ModifiedDate = modifiedDate;
     return productProductPhoto;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the ProductProductPhotoes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProductProductPhotoes(ProductProductPhoto productProductPhoto)
 {
     base.AddObject("ProductProductPhotoes", productProductPhoto);
 }
Example #3
0
 public static ProductProductPhoto Updating(this ProductProductPhoto x, [Injected] DateTime now) => x with