예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Modelo EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToModelo(Modelo modelo)
 {
     base.AddObject("Modelo", modelo);
 }
예제 #2
0
 /// <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;
 }