/// <summary> /// Deprecated Method for adding a new object to the ExperienciasProfissionais EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToExperienciasProfissionais(ExperienciaProfissional experienciaProfissional) { base.AddObject("ExperienciasProfissionais", experienciaProfissional); }
/// <summary> /// Create a new ExperienciaProfissional object. /// </summary> /// <param name="cargo">Initial value of the Cargo property.</param> /// <param name="dataEntrada">Initial value of the DataEntrada property.</param> /// <param name="empresa">Initial value of the Empresa property.</param> /// <param name="funcionarios_Id">Initial value of the Funcionarios_Id property.</param> /// <param name="id">Initial value of the Id property.</param> public static ExperienciaProfissional CreateExperienciaProfissional(global::System.String cargo, global::System.DateTime dataEntrada, global::System.String empresa, global::System.Int64 funcionarios_Id, global::System.Int64 id) { ExperienciaProfissional experienciaProfissional = new ExperienciaProfissional(); experienciaProfissional.Cargo = cargo; experienciaProfissional.DataEntrada = dataEntrada; experienciaProfissional.Empresa = empresa; experienciaProfissional.Funcionarios_Id = funcionarios_Id; experienciaProfissional.Id = id; return experienciaProfissional; }