public TpUser()
{
this._TpUsers = new EntitySet<TpUser>(new Action<TpUser>(this.attach_TpUsers), new Action<TpUser>(this.detach_TpUsers));
this._Generals = new EntitySet<General>(new Action<General>(this.attach_Generals), new Action<General>(this.detach_Generals));
this._Generals1 = new EntitySet<General>(new Action<General>(this.attach_Generals1), new Action<General>(this.detach_Generals1));
this._Generals2 = new EntitySet<General>(new Action<General>(this.attach_Generals2), new Action<General>(this.detach_Generals2));
this._Comments = new EntitySet<Comment>(new Action<Comment>(this.attach_Comments), new Action<Comment>(this.detach_Comments));
this._Attachments = new EntitySet<Attachment>(new Action<Attachment>(this.attach_Attachments), new Action<Attachment>(this.detach_Attachments));
this._ProjectMembers = new EntitySet<ProjectMember>(new Action<ProjectMember>(this.attach_ProjectMembers), new Action<ProjectMember>(this.detach_ProjectMembers));
this._Teams = new EntitySet<Team>(new Action<Team>(this.attach_Teams), new Action<Team>(this.detach_Teams));
this._TpUser1 = default(EntityRef<TpUser>);
this._Role = default(EntityRef<Role>);
OnCreated();
}