/// <summary>Private CTor for deserialization</summary> /// <param name="info"></param> /// <param name="context"></param> protected CategoryEntity(SerializationInfo info, StreamingContext context) : base(info, context) { _products = (SD.LLBLGen.Pro.Examples.Auditing.CollectionClasses.ProductCollection)info.GetValue("_products", typeof(SD.LLBLGen.Pro.Examples.Auditing.CollectionClasses.ProductCollection)); _alwaysFetchProducts = info.GetBoolean("_alwaysFetchProducts"); _alreadyFetchedProducts = info.GetBoolean("_alreadyFetchedProducts"); _suppliersCollectionViaProducts = (SD.LLBLGen.Pro.Examples.Auditing.CollectionClasses.SupplierCollection)info.GetValue("_suppliersCollectionViaProducts", typeof(SD.LLBLGen.Pro.Examples.Auditing.CollectionClasses.SupplierCollection)); _alwaysFetchSuppliersCollectionViaProducts = info.GetBoolean("_alwaysFetchSuppliersCollectionViaProducts"); _alreadyFetchedSuppliersCollectionViaProducts = info.GetBoolean("_alreadyFetchedSuppliersCollectionViaProducts"); this.FixupDeserialization(FieldInfoProviderSingleton.GetInstance(), PersistenceInfoProviderSingleton.GetInstance()); // __LLBLGENPRO_USER_CODE_REGION_START DeserializationConstructor // __LLBLGENPRO_USER_CODE_REGION_END }