/// <summary>Private CTor for deserialization</summary> /// <param name="info"></param> /// <param name="context"></param> protected AssetCategoryEntity(SerializationInfo info, StreamingContext context) : base(info, context) { _assetType = (Reliant.RenuOil.DAL.CollectionClasses.AssetTypeCollection)info.GetValue("_assetType", typeof(Reliant.RenuOil.DAL.CollectionClasses.AssetTypeCollection)); _alwaysFetchAssetType = info.GetBoolean("_alwaysFetchAssetType"); _alreadyFetchedAssetType = info.GetBoolean("_alreadyFetchedAssetType"); base.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() { _assetType = new Reliant.RenuOil.DAL.CollectionClasses.AssetTypeCollection(new AssetTypeEntityFactory()); _assetType.SetContainingEntityInfo(this, "AssetCategory"); _alwaysFetchAssetType = false; _alreadyFetchedAssetType = false; PerformDependencyInjection(); // __LLBLGENPRO_USER_CODE_REGION_START InitClassMembers // __LLBLGENPRO_USER_CODE_REGION_END OnInitClassMembersComplete(); }