/// <summary>
 /// Create a new EnrollPlan object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="year">Initial value of the Year property.</param>
 /// <param name="province">Initial value of the Province property.</param>
 /// <param name="plannedEnrollNumber">Initial value of the PlannedEnrollNumber property.</param>
 /// <param name="universitySpecialityId">Initial value of the UniversitySpecialityId property.</param>
 /// <param name="batch">Initial value of the Batch property.</param>
 /// <param name="isDirectional">Initial value of the IsDirectional property.</param>
 /// <param name="universityId">Initial value of the UniversityId property.</param>
 /// <param name="specialityId">Initial value of the SpecialityId property.</param>
 public static EnrollPlan CreateEnrollPlan(global::System.Guid id, global::System.DateTime year, global::System.String province, global::System.Int32 plannedEnrollNumber, global::System.Guid universitySpecialityId, global::System.String batch, global::System.Boolean isDirectional, global::System.Guid universityId, global::System.Guid specialityId)
 {
     EnrollPlan enrollPlan = new EnrollPlan();
     enrollPlan.Id = id;
     enrollPlan.Year = year;
     enrollPlan.Province = province;
     enrollPlan.PlannedEnrollNumber = plannedEnrollNumber;
     enrollPlan.UniversitySpecialityId = universitySpecialityId;
     enrollPlan.Batch = batch;
     enrollPlan.IsDirectional = isDirectional;
     enrollPlan.UniversityId = universityId;
     enrollPlan.SpecialityId = specialityId;
     return enrollPlan;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the EnrollPlans EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEnrollPlans(EnrollPlan enrollPlan)
 {
     base.AddObject("EnrollPlans", enrollPlan);
 }