コード例 #1
0
ファイル: DB.Designer.cs プロジェクト: staxmanade/Scutex
 /// <summary>
 /// Deprecated Method for adding a new object to the ProductEditions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProductEditions(ProductEdition productEdition)
 {
     base.AddObject("ProductEditions", productEdition);
 }
コード例 #2
0
ファイル: DB.Designer.cs プロジェクト: staxmanade/Scutex
 /// <summary>
 /// Create a new ProductEdition object.
 /// </summary>
 /// <param name="productEditionId">Initial value of the ProductEditionId property.</param>
 /// <param name="productId">Initial value of the ProductId property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static ProductEdition CreateProductEdition(global::System.Int32 productEditionId, global::System.Int32 productId, global::System.String name)
 {
     ProductEdition productEdition = new ProductEdition();
     productEdition.ProductEditionId = productEditionId;
     productEdition.ProductId = productId;
     productEdition.Name = name;
     return productEdition;
 }