/// <summary> /// Deprecated Method for adding a new object to the DeliveryTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDeliveryTypes(DeliveryType deliveryType) { base.AddObject("DeliveryTypes", deliveryType); }
/// <summary> /// Create a new DeliveryType object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="cost">Initial value of the Cost property.</param> public static DeliveryType CreateDeliveryType(global::System.Int32 id, global::System.String name, global::System.Decimal cost) { DeliveryType deliveryType = new DeliveryType(); deliveryType.Id = id; deliveryType.Name = name; deliveryType.Cost = cost; return deliveryType; }