/// <summary> /// Deprecated Method for adding a new object to the Ministry EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToMinistry(Ministry ministry) { base.AddObject("Ministry", ministry); }
/// <summary> /// Create a new Ministry object. /// </summary> /// <param name="ministryId">Initial value of the MinistryId property.</param> public static Ministry CreateMinistry(global::System.Int32 ministryId) { Ministry ministry = new Ministry(); ministry.MinistryId = ministryId; return ministry; }