コード例 #1
0
 /// <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;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the OfficeAssigneds EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOfficeAssigneds(OfficeAssigned officeAssigned)
 {
     base.AddObject("OfficeAssigneds", officeAssigned);
 }