/// <summary>Private CTor for deserialization</summary>
 /// <param name="info"></param>
 /// <param name="context"></param>
 protected GradeItemEntity(SerializationInfo info, StreamingContext context) : base(info, context)
 {
     _gradeBooks               = (KSI.CollectionClasses.GradeBookCollection)info.GetValue("_gradeBooks", typeof(KSI.CollectionClasses.GradeBookCollection));
     _alwaysFetchGradeBooks    = info.GetBoolean("_alwaysFetchGradeBooks");
     _alreadyFetchedGradeBooks = info.GetBoolean("_alreadyFetchedGradeBooks");
     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()
        {
            _gradeBooks = new KSI.CollectionClasses.GradeBookCollection();
            _gradeBooks.SetContainingEntityInfo(this, "GradeItem");
            PerformDependencyInjection();

            // __LLBLGENPRO_USER_CODE_REGION_START InitClassMembers
            // __LLBLGENPRO_USER_CODE_REGION_END
            OnInitClassMembersComplete();
        }