/// <summary> /// Create a new Plan object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="dateStart">Initial value of the DateStart property.</param> /// <param name="dateEnd">Initial value of the DateEnd property.</param> public static Plan CreatePlan(global::System.Int32 id, global::System.String name, global::System.DateTime dateStart, global::System.DateTime dateEnd) { Plan plan = new Plan(); plan.ID = id; plan.Name = name; plan.DateStart = dateStart; plan.DateEnd = dateEnd; 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); }