Example #1
0
 /// <summary>
 /// Create a new CarmodelType object.
 /// </summary>
 /// <param name="carmodelTypeID">Initial value of the CarmodelTypeID property.</param>
 /// <param name="carmodelID">Initial value of the CarmodelID property.</param>
 /// <param name="wheelbase">Initial value of the Wheelbase property.</param>
 /// <param name="cubic">Initial value of the Cubic property.</param>
 /// <param name="clicks">Initial value of the Clicks property.</param>
 public static CarmodelType CreateCarmodelType(global::System.Int32 carmodelTypeID, global::System.Int32 carmodelID, global::System.Int32 wheelbase, global::System.String cubic, global::System.Int32 clicks)
 {
     CarmodelType carmodelType = new CarmodelType();
     carmodelType.CarmodelTypeID = carmodelTypeID;
     carmodelType.CarmodelID = carmodelID;
     carmodelType.Wheelbase = wheelbase;
     carmodelType.Cubic = cubic;
     carmodelType.Clicks = clicks;
     return carmodelType;
 }
Example #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the CarmodelTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCarmodelTypes(CarmodelType carmodelType)
 {
     base.AddObject("CarmodelTypes", carmodelType);
 }