示例#1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ProductDescriptions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProductDescriptions(ProductDescription productDescription)
 {
     base.AddObject("ProductDescriptions", productDescription);
 }
示例#2
0
 /// <summary>
 /// Create a new ProductDescription object.
 /// </summary>
 /// <param name="productDescriptionID">Initial value of the ProductDescriptionID property.</param>
 /// <param name="description">Initial value of the Description property.</param>
 /// <param name="rowguid">Initial value of the rowguid property.</param>
 /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param>
 public static ProductDescription CreateProductDescription(global::System.Int32 productDescriptionID, global::System.String description, global::System.Guid rowguid, global::System.DateTime modifiedDate)
 {
     ProductDescription productDescription = new ProductDescription();
     productDescription.ProductDescriptionID = productDescriptionID;
     productDescription.Description = description;
     productDescription.rowguid = rowguid;
     productDescription.ModifiedDate = modifiedDate;
     return productDescription;
 }