/// <summary> /// Create a new Employe object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="firstName">Initial value of the FirstName property.</param> /// <param name="family">Initial value of the Family property.</param> /// <param name="phone">Initial value of the Phone property.</param> /// <param name="hireDate">Initial value of the HireDate property.</param> public static Employe CreateEmploye(global::System.Guid id, global::System.String firstName, global::System.String family, global::System.String phone, global::System.DateTime hireDate) { Employe employe = new Employe(); employe.Id = id; employe.FirstName = firstName; employe.Family = family; employe.Phone = phone; employe.HireDate = hireDate; return employe; }
/// <summary> /// Deprecated Method for adding a new object to the Employes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEmployes(Employe employe) { base.AddObject("Employes", employe); }