Inheritance: System.Data.Objects.DataClasses.EntityObject
 /// <summary>
 /// Deprecated Method for adding a new object to the staffs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTostaffs(staff staff)
 {
     base.AddObject("staffs", staff);
 }
 /// <summary>
 /// Create a new staff object.
 /// </summary>
 /// <param name="staff_id">Initial value of the staff_id 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>
 /// <param name="address_id">Initial value of the address_id property.</param>
 /// <param name="store_id">Initial value of the store_id property.</param>
 /// <param name="active">Initial value of the active property.</param>
 /// <param name="username">Initial value of the username property.</param>
 /// <param name="last_update">Initial value of the last_update property.</param>
 public static staff Createstaff(global::System.Byte staff_id, global::System.String first_name, global::System.String last_name, global::System.Int32 address_id, global::System.Byte store_id, global::System.Boolean active, global::System.String username, global::System.DateTime last_update)
 {
     staff staff = new staff();
     staff.staff_id = staff_id;
     staff.first_name = first_name;
     staff.last_name = last_name;
     staff.address_id = address_id;
     staff.store_id = store_id;
     staff.active = active;
     staff.username = username;
     staff.last_update = last_update;
     return staff;
 }