/// <summary> /// Create a new Plan object. /// </summary> /// <param name="planID">Initial value of the PlanID property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="monthlyFee">Initial value of the MonthlyFee property.</param> public static Plan CreatePlan(global::System.Int32 planID, global::System.String name, global::System.Int32 monthlyFee) { Plan plan = new Plan(); plan.PlanID = planID; plan.Name = name; plan.MonthlyFee = monthlyFee; return plan; }
/// <summary> /// Deprecated Method for adding a new object to the Plans EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPlans(Plan plan) { base.AddObject("Plans", plan); }