/// <summary> /// Create a new EmployeeWithCT object. /// </summary> /// <param name="employeeID">Initial value of the EmployeeID property.</param> /// <param name="contactInfo">Initial value of the ContactInfo property.</param> public static EmployeeWithCT CreateEmployeeWithCT(global::System.Int32 employeeID, ContactInfoCT contactInfo) { EmployeeWithCT employeeWithCT = new EmployeeWithCT(); employeeWithCT.EmployeeID = employeeID; employeeWithCT.ContactInfo = StructuralObject.VerifyComplexObjectIsNotNull(contactInfo, "ContactInfo"); return(employeeWithCT); }
/// <summary> /// Create a new EmployeeWithCT object. /// </summary> /// <param name="employeeID">Initial value of the EmployeeID property.</param> /// <param name="contactInfo">Initial value of the ContactInfo property.</param> public static EmployeeWithCT CreateEmployeeWithCT(global::System.Int32 employeeID, ContactInfoCT contactInfo) { EmployeeWithCT employeeWithCT = new EmployeeWithCT(); employeeWithCT.EmployeeID = employeeID; employeeWithCT.ContactInfo = StructuralObject.VerifyComplexObjectIsNotNull(contactInfo, "ContactInfo"); return employeeWithCT; }
/// <summary> /// Deprecated Method for adding a new object to the EmployeeWithCTs EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEmployeeWithCTs(EmployeeWithCT employeeWithCT) { base.AddObject("EmployeeWithCTs", employeeWithCT); }
/// <summary> /// Deprecated Method for adding a new object to the EmployeeWithCTs EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEmployeeWithCTs(EmployeeWithCT employeeWithCT) { base.AddObject("EmployeeWithCTs", employeeWithCT); }