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