public FactStaff()
{
this._Bonus = new EntitySet<Bonus>(new Action<Bonus>(this.attach_Bonus), new Action<Bonus>(this.detach_Bonus));
this._Employee = default(EntityRef<Employee>);
this._WorkType = default(EntityRef<WorkType>);
this._Prikaz = default(EntityRef<Prikaz>);
this._Prikaz1 = default(EntityRef<Prikaz>);
this._PlanStaff = default(EntityRef<PlanStaff>);
OnCreated();
}