/// <summary> /// Create a new OfficeAssigned object. /// </summary> /// <param name="officeID">Initial value of the OfficeID property.</param> /// <param name="officeName">Initial value of the OfficeName property.</param> public static OfficeAssigned CreateOfficeAssigned(global::System.Int32 officeID, global::System.String officeName) { OfficeAssigned officeAssigned = new OfficeAssigned(); officeAssigned.OfficeID = officeID; officeAssigned.OfficeName = officeName; return officeAssigned; }
/// <summary> /// Deprecated Method for adding a new object to the OfficeAssigneds EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOfficeAssigneds(OfficeAssigned officeAssigned) { base.AddObject("OfficeAssigneds", officeAssigned); }