예제 #1
0
 /// <summary>
 /// Create a new Carmodel object.
 /// </summary>
 /// <param name="carmodelID">Initial value of the CarmodelID property.</param>
 /// <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 Carmodel CreateCarmodel(global::System.Int32 carmodelID, global::System.Int32 carbrandID, global::System.String name, global::System.Int32 clicks)
 {
     Carmodel carmodel = new Carmodel();
     carmodel.CarmodelID = carmodelID;
     carmodel.CarbrandID = carbrandID;
     carmodel.Name = name;
     carmodel.Clicks = clicks;
     return carmodel;
 }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Carmodels EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCarmodels(Carmodel carmodel)
 {
     base.AddObject("Carmodels", carmodel);
 }