コード例 #1
0
 /// <summary>
 /// Create a new BrandName object.
 /// </summary>
 /// <param name="brandNameID">Initial value of the BrandNameID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static BrandName CreateBrandName(global::System.Int32 brandNameID, global::System.String name)
 {
     BrandName brandName = new BrandName();
     brandName.BrandNameID = brandNameID;
     brandName.Name = name;
     return brandName;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the BrandNames EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToBrandNames(BrandName brandName)
 {
     base.AddObject("BrandNames", brandName);
 }