public Activity() { this._Collections = new EntitySet<Collection>(new Action<Collection>(this.attach_Collections), new Action<Collection>(this.detach_Collections)); this._Location = default(EntityRef<Location>); OnCreated(); }