Ejemplo n.º 1
0
 /// <summary>
 /// Create a new Auto object.
 /// </summary>
 /// <param name="number">Initial value of the Number property.</param>
 /// <param name="bodyType">Initial value of the BodyType property.</param>
 /// <param name="insuaranceId">Initial value of the InsuaranceId property.</param>
 /// <param name="year">Initial value of the Year property.</param>
 /// <param name="mileage">Initial value of the Mileage property.</param>
 /// <param name="engine">Initial value of the Engine property.</param>
 /// <param name="colorGroup">Initial value of the ColorGroup property.</param>
 /// <param name="status">Initial value of the Status property.</param>
 public static Auto CreateAuto(global::System.String number, global::System.Int32 bodyType, global::System.String insuaranceId, global::System.Int16 year, global::System.Int32 mileage, global::System.Int32 engine, global::System.String colorGroup, global::System.Int16 status)
 {
     Auto auto = new Auto();
     auto.Number = number;
     auto.BodyType = bodyType;
     auto.InsuaranceId = insuaranceId;
     auto.Year = year;
     auto.Mileage = mileage;
     auto.Engine = engine;
     auto.ColorGroup = colorGroup;
     auto.Status = status;
     return auto;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Auto EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAuto(Auto auto)
 {
     base.AddObject("Auto", auto);
 }