protected NewsCategoryTemplateEntity(SerializationInfo info, StreamingContext context)
: base(info, context)
{
if(SerializationHelper.Optimization != SerializationOptimization.Fast)
{
_newsCategory = (NewsCategoryEntity)info.GetValue("_newsCategory", typeof(NewsCategoryEntity));
if(_newsCategory!=null)
{
_newsCategory.AfterSave+=new EventHandler(OnEntityAfterSave);
}
this.FixupDeserialization(FieldInfoProviderSingleton.GetInstance());
}
// __LLBLGENPRO_USER_CODE_REGION_START DeserializationConstructor
// __LLBLGENPRO_USER_CODE_REGION_END
}