Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Products EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProducts(Products products)
 {
     base.AddObject("Products", products);
 }
Пример #2
0
 /// <summary>
 /// Create a new Products object.
 /// </summary>
 /// <param name="productId">Initial value of the ProductId property.</param>
 /// <param name="seoTitle">Initial value of the SeoTitle property.</param>
 /// <param name="createdDate">Initial value of the CreatedDate property.</param>
 /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param>
 /// <param name="expiryDate">Initial value of the ExpiryDate property.</param>
 public static Products CreateProducts(global::System.Int32 productId, global::System.String seoTitle, global::System.DateTime createdDate, global::System.DateTime modifiedDate, global::System.DateTime expiryDate)
 {
     Products products = new Products();
     products.ProductId = productId;
     products.SeoTitle = seoTitle;
     products.CreatedDate = createdDate;
     products.ModifiedDate = modifiedDate;
     products.ExpiryDate = expiryDate;
     return products;
 }