/// <summary> /// Deprecated Method for adding a new object to the TripType EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTripType(TripType tripType) { base.AddObject("TripType", tripType); }
/// <summary> /// Create a new TripType object. /// </summary> /// <param name="iDTripType">Initial value of the IDTripType property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="description">Initial value of the Description property.</param> public static TripType CreateTripType(global::System.Int32 iDTripType, global::System.String name, global::System.String description) { TripType tripType = new TripType(); tripType.IDTripType = iDTripType; tripType.Name = name; tripType.Description = description; return tripType; }