Наследование: System.Data.Objects.DataClasses.EntityObject
Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Ministry EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMinistry(Ministry ministry)
 {
     base.AddObject("Ministry", ministry);
 }
Пример #2
0
 /// <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;
 }