public PlanStaff()
{
this._FactStaffs = new EntitySet<FactStaff>(new Action<FactStaff>(this.attach_FactStaffs), new Action<FactStaff>(this.detach_FactStaffs));
this._Departments = new EntitySet<Department>(new Action<Department>(this.attach_Departments), new Action<Department>(this.detach_Departments));
this._PlanStaffSalaries = new EntitySet<PlanStaffSalary>(new Action<PlanStaffSalary>(this.attach_PlanStaffSalaries), new Action<PlanStaffSalary>(this.detach_PlanStaffSalaries));
this._Category = default(EntityRef<Category>);
this._Department = default(EntityRef<Department>);
this._FinancingSource = default(EntityRef<FinancingSource>);
this._Post = default(EntityRef<Post>);
this._Prikaz = default(EntityRef<Prikaz>);
this._Prikaz1 = default(EntityRef<Prikaz>);
OnCreated();
}