/// <summary>
 /// Deprecated Method for adding a new object to the Secretaries EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSecretaries(Secretary secretary)
 {
     base.AddObject("Secretaries", secretary);
 }
 /// <summary>
 /// Create a new Secretary object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="practiceId">Initial value of the PracticeId property.</param>
 public static Secretary CreateSecretary(global::System.Int32 id, global::System.Int32 practiceId)
 {
     Secretary secretary = new Secretary();
     secretary.Id = id;
     secretary.PracticeId = practiceId;
     return secretary;
 }
Beispiel #3
0
 public void DelSecretary(Secretary secretary)
 {
     this.DelUser(secretary.Users.Single());
 }