/// <summary>Private CTor for deserialization</summary> /// <param name="info"></param> /// <param name="context"></param> protected CourseEntity(SerializationInfo info, StreamingContext context) : base(info, context) { _offerings = (KSI.CollectionClasses.OfferingCollection)info.GetValue("_offerings", typeof(KSI.CollectionClasses.OfferingCollection)); _alwaysFetchOfferings = info.GetBoolean("_alwaysFetchOfferings"); _alreadyFetchedOfferings = info.GetBoolean("_alreadyFetchedOfferings"); 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() { _offerings = new KSI.CollectionClasses.OfferingCollection(); _offerings.SetContainingEntityInfo(this, "Course"); PerformDependencyInjection(); // __LLBLGENPRO_USER_CODE_REGION_START InitClassMembers // __LLBLGENPRO_USER_CODE_REGION_END OnInitClassMembersComplete(); }