VideoRentalService.SakilaEntities.AddTostaffs C# (CSharp) Method

AddTostaffs() public method

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
return void
        public void AddTostaffs(staff staff)
        {
            base.AddObject("staffs", staff);
        }