示例#1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Industries EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToIndustries(Industry industry)
 {
     base.AddObject("Industries", industry);
 }
示例#2
0
 /// <summary>
 /// Create a new Industry object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 public static Industry CreateIndustry(global::System.Int32 id)
 {
     Industry industry = new Industry();
     industry.Id = id;
     return industry;
 }