public Prikaz()
{
this._FactStaffs = new EntitySet<FactStaff>(new Action<FactStaff>(this.attach_FactStaffs), new Action<FactStaff>(this.detach_FactStaffs));
this._FactStaffs1 = new EntitySet<FactStaff>(new Action<FactStaff>(this.attach_FactStaffs1), new Action<FactStaff>(this.detach_FactStaffs1));
this._Bonus = new EntitySet<Bonus>(new Action<Bonus>(this.attach_Bonus), new Action<Bonus>(this.detach_Bonus));
this._PlanStaffs = new EntitySet<PlanStaff>(new Action<PlanStaff>(this.attach_PlanStaffs), new Action<PlanStaff>(this.detach_PlanStaffs));
this._PlanStaffs1 = new EntitySet<PlanStaff>(new Action<PlanStaff>(this.attach_PlanStaffs1), new Action<PlanStaff>(this.detach_PlanStaffs1));
this._PrikazType = default(EntityRef<PrikazType>);
OnCreated();
}