예제 #1
0
 /// <summary>
 /// Create a new Administrator object.
 /// </summary>
 /// <param name="adminID">Initial value of the AdminID property.</param>
 /// <param name="first_Name">Initial value of the First_Name property.</param>
 /// <param name="last_Name">Initial value of the Last_Name property.</param>
 public static Administrator CreateAdministrator(global::System.Int32 adminID, global::System.String first_Name, global::System.String last_Name)
 {
     Administrator administrator = new Administrator();
     administrator.AdminID = adminID;
     administrator.First_Name = first_Name;
     administrator.Last_Name = last_Name;
     return administrator;
 }
예제 #2
0
 /// <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);
 }