/// <summary>
 /// Create a new cargo object.
 /// </summary>
 /// <param name="idCargo">Initial value of the idCargo property.</param>
 /// <param name="nome">Initial value of the nome property.</param>
 public static cargo Createcargo(global::System.Int32 idCargo, global::System.String nome)
 {
     cargo cargo = new cargo();
     cargo.idCargo = idCargo;
     cargo.nome = nome;
     return cargo;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the cargo EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTocargo(cargo cargo)
 {
     base.AddObject("cargo", cargo);
 }