/// <summary> /// Deprecated Method for adding a new object to the Modelo EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToModelo(Modelo modelo) { base.AddObject("Modelo", modelo); }
/// <summary> /// Create a new Modelo object. /// </summary> /// <param name="idModelo">Initial value of the IdModelo property.</param> /// <param name="descricao">Initial value of the Descricao property.</param> /// <param name="idMarca">Initial value of the IdMarca property.</param> public static Modelo CreateModelo(global::System.Int32 idModelo, global::System.String descricao, global::System.Int32 idMarca) { Modelo modelo = new Modelo(); modelo.IdModelo = idModelo; modelo.Descricao = descricao; modelo.IdMarca = idMarca; return modelo; }