public BonusType() { this._Bonus = new EntitySet<Bonus>(new Action<Bonus>(this.attach_Bonus), new Action<Bonus>(this.detach_Bonus)); this._BonusSuperType = default(EntityRef<BonusSuperType>); OnCreated(); }