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

            case "OrganSystemOrgans":
                _organSystemOrgans.Add((OrganSystemOrganEntity)relatedEntity);
                break;

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

            case "Severities":
                _severities.Add((SeverityEntity)relatedEntity);
                break;

            default:
                break;
            }
        }