MonoSoftware.MonoX.DAL.EntityClasses.SnNoteEntity.SnNoteEntity C# (CSharp) Method

SnNoteEntity() private method

private SnNoteEntity ( SerializationInfo info, StreamingContext context ) : System.Runtime.Serialization
info SerializationInfo
context StreamingContext
return System.Runtime.Serialization
        protected SnNoteEntity(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
            if(SerializationHelper.Optimization != SerializationOptimization.Fast)
            {
                _snEvents = (EntityCollection<SnEventEntity>)info.GetValue("_snEvents", typeof(EntityCollection<SnEventEntity>));
                _snRelationships = (EntityCollection<SnRelationshipEntity>)info.GetValue("_snRelationships", typeof(EntityCollection<SnRelationshipEntity>));
                _aspnetApplication = (AspnetApplicationsEntity)info.GetValue("_aspnetApplication", typeof(AspnetApplicationsEntity));
                if(_aspnetApplication!=null)
                {
                    _aspnetApplication.AfterSave+=new EventHandler(OnEntityAfterSave);
                }
                _aspnetUserAuthor = (AspnetUsersEntity)info.GetValue("_aspnetUserAuthor", typeof(AspnetUsersEntity));
                if(_aspnetUserAuthor!=null)
                {
                    _aspnetUserAuthor.AfterSave+=new EventHandler(OnEntityAfterSave);
                }
                _aspnetUserPostedTo = (AspnetUsersEntity)info.GetValue("_aspnetUserPostedTo", typeof(AspnetUsersEntity));
                if(_aspnetUserPostedTo!=null)
                {
                    _aspnetUserPostedTo.AfterSave+=new EventHandler(OnEntityAfterSave);
                }
                _language = (LanguageEntity)info.GetValue("_language", typeof(LanguageEntity));
                if(_language!=null)
                {
                    _language.AfterSave+=new EventHandler(OnEntityAfterSave);
                }
                _privacyLevel = (PrivacyLevelEntity)info.GetValue("_privacyLevel", typeof(PrivacyLevelEntity));
                if(_privacyLevel!=null)
                {
                    _privacyLevel.AfterSave+=new EventHandler(OnEntityAfterSave);
                }
                _snGroup = (SnGroupEntity)info.GetValue("_snGroup", typeof(SnGroupEntity));
                if(_snGroup!=null)
                {
                    _snGroup.AfterSave+=new EventHandler(OnEntityAfterSave);
                }
                this.FixupDeserialization(FieldInfoProviderSingleton.GetInstance());
            }
            // __LLBLGENPRO_USER_CODE_REGION_START DeserializationConstructor
            // __LLBLGENPRO_USER_CODE_REGION_END
        }

Same methods

SnNoteEntity::SnNoteEntity ( ) : System.Runtime.Serialization
SnNoteEntity::SnNoteEntity ( IEntityFields2 fields ) : System.Runtime.Serialization
SnNoteEntity::SnNoteEntity ( IValidator validator ) : System.Runtime.Serialization
SnNoteEntity::SnNoteEntity ( System id ) : System.Runtime.Serialization
SnNoteEntity::SnNoteEntity ( System id, IValidator validator ) : System.Runtime.Serialization