Example #1
0
 /// <summary>Private CTor for deserialization</summary>
 /// <param name="info"></param>
 /// <param name="context"></param>
 protected GroupEntity(SerializationInfo info, StreamingContext context) : base(info, context)
 {
     _userGroups               = (Northwind.SSDAL.CollectionClasses.UserGroupCollection)info.GetValue("_userGroups", typeof(Northwind.SSDAL.CollectionClasses.UserGroupCollection));
     _alwaysFetchUserGroups    = info.GetBoolean("_alwaysFetchUserGroups");
     _alreadyFetchedUserGroups = info.GetBoolean("_alreadyFetchedUserGroups");
     this.FixupDeserialization(FieldInfoProviderSingleton.GetInstance(), PersistenceInfoProviderSingleton.GetInstance());
     // __LLBLGENPRO_USER_CODE_REGION_START DeserializationConstructor
     // __LLBLGENPRO_USER_CODE_REGION_END
 }
Example #2
0
        /// <summary> Initializes the class members</summary>
        private void InitClassMembers()
        {
            _userGroups = new Northwind.SSDAL.CollectionClasses.UserGroupCollection();
            _userGroups.SetContainingEntityInfo(this, "Group");
            PerformDependencyInjection();

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