/// <summary> /// Create a new Carro object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="modelo">Initial value of the Modelo property.</param> /// <param name="marcaId">Initial value of the MarcaId property.</param> public static Carro CreateCarro(global::System.Int64 id, global::System.String modelo, global::System.Int64 marcaId) { Carro carro = new Carro(); carro.Id = id; carro.Modelo = modelo; carro.MarcaId = marcaId; return carro; }
/// <summary> /// Deprecated Method for adding a new object to the Carros EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCarros(Carro carro) { base.AddObject("Carros", carro); }