/// <summary>Private CTor for deserialization</summary> /// <param name="info"></param> /// <param name="context"></param> protected MessageEntity(SerializationInfo info, StreamingContext context) : base(info, context) { _deviceMessages = (EPICCentralDL.CollectionClasses.DeviceMessageCollection)info.GetValue("_deviceMessages", typeof(EPICCentralDL.CollectionClasses.DeviceMessageCollection)); _alwaysFetchDeviceMessages = info.GetBoolean("_alwaysFetchDeviceMessages"); _alreadyFetchedDeviceMessages = info.GetBoolean("_alreadyFetchedDeviceMessages"); this.FixupDeserialization(FieldInfoProviderSingleton.GetInstance(), PersistenceInfoProviderSingleton.GetInstance()); // __LLBLGENPRO_USER_CODE_REGION_START DeserializationConstructor // __LLBLGENPRO_USER_CODE_REGION_END }
/// <summary> Initializes the class members</summary> private void InitClassMembers() { _deviceMessages = new EPICCentralDL.CollectionClasses.DeviceMessageCollection(); _deviceMessages.SetContainingEntityInfo(this, "Message"); PerformDependencyInjection(); // __LLBLGENPRO_USER_CODE_REGION_START InitClassMembers // __LLBLGENPRO_USER_CODE_REGION_END OnInitClassMembersComplete(); }