示例#1
0
 /// <summary>
 /// Create a new Carbrand object.
 /// </summary>
 /// <param name="carbrandID">Initial value of the CarbrandID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="clicks">Initial value of the Clicks property.</param>
 public static Carbrand CreateCarbrand(global::System.Int32 carbrandID, global::System.String name, global::System.Int32 clicks)
 {
     Carbrand carbrand = new Carbrand();
     carbrand.CarbrandID = carbrandID;
     carbrand.Name = name;
     carbrand.Clicks = clicks;
     return carbrand;
 }
示例#2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Carbrands EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCarbrands(Carbrand carbrand)
 {
     base.AddObject("Carbrands", carbrand);
 }