Exemplo n.º 1
0
        protected override void SetRelatedEntity(IEntityCore relatedEntity, string fieldName)
        {
            switch (fieldName)
            {
            case "Forums":
                _forums.Add((ForumEntity)relatedEntity);
                break;

            default:
                break;
            }
        }
Exemplo n.º 2
0
        protected override void SetRelatedEntity(IEntityCore relatedEntity, string fieldName)
        {
            switch (fieldName)
            {
            case "DefaultForForums":
                _defaultForForums.Add((ForumEntity)relatedEntity);
                break;

            case "SupportQueueThreads":
                _supportQueueThreads.Add((SupportQueueThreadEntity)relatedEntity);
                break;

            default:
                break;
            }
        }