VideoRentalService.SakilaEntities.AddTostaffs C# (CSharp) Méthode

AddTostaffs() public méthode

Deprecated Method for adding a new object to the staffs EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddTostaffs ( staff staff ) : void
staff staff
Résultat void
        public void AddTostaffs(staff staff)
        {
            base.AddObject("staffs", staff);
        }