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