コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the EmployeeDirectory EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEmployeeDirectory(EmployeeDirectory employeeDirectory)
 {
     base.AddObject("EmployeeDirectory", employeeDirectory);
 }
コード例 #2
0
 /// <summary>
 /// Create a new EmployeeDirectory object.
 /// </summary>
 /// <param name="employeeID">Initial value of the EmployeeID property.</param>
 public static EmployeeDirectory CreateEmployeeDirectory(global::System.Int32 employeeID)
 {
     EmployeeDirectory employeeDirectory = new EmployeeDirectory();
     employeeDirectory.EmployeeID = employeeID;
     return employeeDirectory;
 }