C# Class ObjectModel.Company

Inheritance: System.MarshalByRefObject
ファイルを表示 Open project: bamboo/Bamboo.Prevalence

Protected Properties

Property Type Description
_departments DepartmentCollection
_objects System.Collections.Hashtable

Public Methods

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

Protected Methods

Method Description
RegisterObject ( BusinessObject bo ) : void
UnregisterObject ( System.Guid objectID ) : void

Private Methods

Method Description
GetEmployee ( System.Guid employeeID ) : Employee

Method Details

AddDepartment() public method

public AddDepartment ( Department department ) : void
department Department
return void

AddEmployee() public method

public AddEmployee ( Employee employee ) : void
employee Employee
return void

Company() public method

public Company ( ) : System
return System

RegisterObject() protected method

protected RegisterObject ( BusinessObject bo ) : void
bo BusinessObject
return void

RemoveEmployee() public method

public RemoveEmployee ( System.Guid employeeID ) : void
employeeID System.Guid
return void

UnregisterObject() protected method

protected UnregisterObject ( System.Guid objectID ) : void
objectID System.Guid
return void

UpdateEmployee() public method

public UpdateEmployee ( Employee employee ) : void
employee Employee
return void

Property Details

_departments protected_oe property

protected DepartmentCollection,ObjectModel _departments
return DepartmentCollection

_objects protected_oe property

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