/// <summary> /// Create a new PhonePlan object. /// </summary> /// <param name="phonePlanId">Initial value of the PhonePlanId property.</param> /// <param name="minutes">Initial value of the Minutes property.</param> /// <param name="cost">Initial value of the Cost property.</param> /// <param name="timeStamp">Initial value of the TimeStamp property.</param> public static PhonePlan CreatePhonePlan(global::System.Int32 phonePlanId, global::System.Int32 minutes, global::System.Decimal cost, global::System.Byte[] timeStamp) { PhonePlan phonePlan = new PhonePlan(); phonePlan.PhonePlanId = phonePlanId; phonePlan.Minutes = minutes; phonePlan.Cost = cost; phonePlan.TimeStamp = timeStamp; return(phonePlan); }
/// <summary> /// Deprecated Method for adding a new object to the PhonePlans EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPhonePlans(PhonePlan phonePlan) { base.AddObject("PhonePlans", phonePlan); }