/// <summary> /// Create a new CursoExtensao object. /// </summary> /// <param name="cargaHoraria">Initial value of the CargaHoraria property.</param> /// <param name="descricao">Initial value of the Descricao property.</param> /// <param name="funcionarios_Id">Initial value of the Funcionarios_Id property.</param> /// <param name="id">Initial value of the Id property.</param> /// <param name="instituicao">Initial value of the Instituicao property.</param> public static CursoExtensao CreateCursoExtensao(global::System.Int64 cargaHoraria, global::System.String descricao, global::System.Int64 funcionarios_Id, global::System.Int64 id, global::System.String instituicao) { CursoExtensao cursoExtensao = new CursoExtensao(); cursoExtensao.CargaHoraria = cargaHoraria; cursoExtensao.Descricao = descricao; cursoExtensao.Funcionarios_Id = funcionarios_Id; cursoExtensao.Id = id; cursoExtensao.Instituicao = instituicao; return cursoExtensao; }
/// <summary> /// Deprecated Method for adding a new object to the CursosExtensao EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCursosExtensao(CursoExtensao cursoExtensao) { base.AddObject("CursosExtensao", cursoExtensao); }