protected IncidentEntity(SerializationInfo info, StreamingContext context) : base(info, context) { if (SerializationHelper.Optimization != SerializationOptimization.Fast) { _actorIncidents = (EntityCollection <ActorIncidentEntity>)info.GetValue("_actorIncidents", typeof(EntityCollection <ActorIncidentEntity>)); _actorCollectionViaActorIncident = (EntityCollection <ActorEntity>)info.GetValue("_actorCollectionViaActorIncident", typeof(EntityCollection <ActorEntity>)); _collection = (CollectionEntity)info.GetValue("_collection", typeof(CollectionEntity)); if (_collection != null) { _collection.AfterSave += new EventHandler(OnEntityAfterSave); } _item = (ItemEntity)info.GetValue("_item", typeof(ItemEntity)); if (_item != null) { _item.AfterSave += new EventHandler(OnEntityAfterSave); } this.FixupDeserialization(FieldInfoProviderSingleton.GetInstance()); } // __LLBLGENPRO_USER_CODE_REGION_START DeserializationConstructor // __LLBLGENPRO_USER_CODE_REGION_END }