/// <summary> /// Deprecated Method for adding a new object to the Applications EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToApplications(Application application) { base.AddObject("Applications", application); }
/// <summary> /// Create a new Application object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="year">Initial value of the Year property.</param> /// <param name="batch">Initial value of the Batch property.</param> /// <param name="applicationSequence">Initial value of the ApplicationSequence property.</param> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="specialityId">Initial value of the SpecialityId property.</param> /// <param name="isAccepted">Initial value of the IsAccepted property.</param> /// <param name="applyTime">Initial value of the ApplyTime property.</param> /// <param name="universityId">Initial value of the UniversityId property.</param> public static Application CreateApplication(global::System.Guid id, global::System.Int32 year, global::System.String batch, global::System.Int32 applicationSequence, global::System.Guid userId, global::System.Guid specialityId, global::System.Boolean isAccepted, global::System.DateTime applyTime, global::System.Guid universityId) { Application application = new Application(); application.Id = id; application.Year = year; application.Batch = batch; application.ApplicationSequence = applicationSequence; application.UserId = userId; application.SpecialityId = specialityId; application.IsAccepted = isAccepted; application.ApplyTime = applyTime; application.UniversityId = universityId; return application; }