コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ProductModelProductDescriptionCultures EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProductModelProductDescriptionCultures(ProductModelProductDescriptionCulture productModelProductDescriptionCulture)
 {
     base.AddObject("ProductModelProductDescriptionCultures", productModelProductDescriptionCulture);
 }
コード例 #2
0
 /// <summary>
 /// Create a new ProductModelProductDescriptionCulture object.
 /// </summary>
 /// <param name="productModelID">Initial value of the ProductModelID property.</param>
 /// <param name="productDescriptionID">Initial value of the ProductDescriptionID property.</param>
 /// <param name="cultureID">Initial value of the CultureID property.</param>
 /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param>
 public static ProductModelProductDescriptionCulture CreateProductModelProductDescriptionCulture(global::System.Int32 productModelID, global::System.Int32 productDescriptionID, global::System.String cultureID, global::System.DateTime modifiedDate)
 {
     ProductModelProductDescriptionCulture productModelProductDescriptionCulture = new ProductModelProductDescriptionCulture();
     productModelProductDescriptionCulture.ProductModelID = productModelID;
     productModelProductDescriptionCulture.ProductDescriptionID = productDescriptionID;
     productModelProductDescriptionCulture.CultureID = cultureID;
     productModelProductDescriptionCulture.ModifiedDate = modifiedDate;
     return productModelProductDescriptionCulture;
 }