C# Class ObjectModel.Company

Inheritance: System.MarshalByRefObject
Afficher le fichier Open project: bamboo/Bamboo.Prevalence

Protected Properties

Свойство Type Description
_departments DepartmentCollection
_objects System.Collections.Hashtable

Méthodes publiques

Méthode Description
AddDepartment ( Department department ) : void
AddEmployee ( Employee employee ) : void
Company ( ) : System
RemoveEmployee ( System.Guid employeeID ) : void
UpdateEmployee ( Employee employee ) : void

Méthodes protégées

Méthode Description
RegisterObject ( BusinessObject bo ) : void
UnregisterObject ( System.Guid objectID ) : void

Private Methods

Méthode Description
GetEmployee ( System.Guid employeeID ) : Employee

Method Details

AddDepartment() public méthode

public AddDepartment ( Department department ) : void
department Department
Résultat void

AddEmployee() public méthode

public AddEmployee ( Employee employee ) : void
employee Employee
Résultat void

Company() public méthode

public Company ( ) : System
Résultat System

RegisterObject() protected méthode

protected RegisterObject ( BusinessObject bo ) : void
bo BusinessObject
Résultat void

RemoveEmployee() public méthode

public RemoveEmployee ( System.Guid employeeID ) : void
employeeID System.Guid
Résultat void

UnregisterObject() protected méthode

protected UnregisterObject ( System.Guid objectID ) : void
objectID System.Guid
Résultat void

UpdateEmployee() public méthode

public UpdateEmployee ( Employee employee ) : void
employee Employee
Résultat void

Property Details

_departments protected_oe property

protected DepartmentCollection,ObjectModel _departments
Résultat DepartmentCollection

_objects protected_oe property

A hashtable to make possible to instantly find any object in the system.
protected Hashtable,System.Collections _objects
Résultat System.Collections.Hashtable