/// <summary>Initializes the class members</summary> private void InitClassMembers() { _auditInfo = new SD.LLBLGen.Pro.Examples.Auditing.CollectionClasses.AuditInfoCollection(); _auditInfo.SetContainingEntityInfo(this, "AuditActionType"); _userCollectionViaAuditInfo = new SD.LLBLGen.Pro.Examples.Auditing.CollectionClasses.UserCollection(); PerformDependencyInjection(); // __LLBLGENPRO_USER_CODE_REGION_START InitClassMembers // __LLBLGENPRO_USER_CODE_REGION_END OnInitClassMembersComplete(); }
/// <summary>Private CTor for deserialization</summary> /// <param name="info"></param> /// <param name="context"></param> protected UserEntity(SerializationInfo info, StreamingContext context) : base(info, context) { _auditInfo = (SD.LLBLGen.Pro.Examples.Auditing.CollectionClasses.AuditInfoCollection)info.GetValue("_auditInfo", typeof(SD.LLBLGen.Pro.Examples.Auditing.CollectionClasses.AuditInfoCollection)); _alwaysFetchAuditInfo = info.GetBoolean("_alwaysFetchAuditInfo"); _alreadyFetchedAuditInfo = info.GetBoolean("_alreadyFetchedAuditInfo"); _auditActionTypeCollectionViaAuditInfo = (SD.LLBLGen.Pro.Examples.Auditing.CollectionClasses.AuditActionTypeCollection)info.GetValue("_auditActionTypeCollectionViaAuditInfo", typeof(SD.LLBLGen.Pro.Examples.Auditing.CollectionClasses.AuditActionTypeCollection)); _alwaysFetchAuditActionTypeCollectionViaAuditInfo = info.GetBoolean("_alwaysFetchAuditActionTypeCollectionViaAuditInfo"); _alreadyFetchedAuditActionTypeCollectionViaAuditInfo = info.GetBoolean("_alreadyFetchedAuditActionTypeCollectionViaAuditInfo"); this.FixupDeserialization(FieldInfoProviderSingleton.GetInstance(), PersistenceInfoProviderSingleton.GetInstance()); // __LLBLGENPRO_USER_CODE_REGION_START DeserializationConstructor // __LLBLGENPRO_USER_CODE_REGION_END }