/// <summary> /// Create a new Driver object. /// </summary> /// <param name="iDDriver">Initial value of the IDDriver property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="description">Initial value of the Description property.</param> /// <param name="mobile">Initial value of the Mobile property.</param> /// <param name="phone">Initial value of the Phone property.</param> public static Driver CreateDriver(global::System.Int32 iDDriver, global::System.String name, global::System.String description, global::System.String mobile, global::System.String phone) { Driver driver = new Driver(); driver.IDDriver = iDDriver; driver.Name = name; driver.Description = description; driver.Mobile = mobile; driver.Phone = phone; return driver; }
/// <summary> /// Deprecated Method for adding a new object to the Driver EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDriver(Driver driver) { base.AddObject("Driver", driver); }