DataAccess.teletonEntities.AddTocargos C# (CSharp) Method

AddTocargos() public method

Deprecated Method for adding a new object to the cargos EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddTocargos ( cargo cargo ) : void
cargo cargo
return void
        public void AddTocargos(cargo cargo)
        {
            base.AddObject("cargos", cargo);
        }