Ejemplo n.º 1
0
 /// <summary>
 /// Create a new Cargo object.
 /// </summary>
 /// <param name="descricao">Initial value of the Descricao property.</param>
 /// <param name="id">Initial value of the Id property.</param>
 public static Cargo CreateCargo(global::System.String descricao, global::System.Int64 id)
 {
     Cargo cargo = new Cargo();
     cargo.Descricao = descricao;
     cargo.Id = id;
     return cargo;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Cargos EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCargos(Cargo cargo)
 {
     base.AddObject("Cargos", cargo);
 }