Data model conditions - Simplified list VM code

Data model conditions - When selecting a different type, recheck if a new preferred operator is available
This commit is contained in:
SpoinkyNL committed 2020-10-31 19:44:24 +01:00
1 parent 13df88ca40
commit e1eb03667e
10 files changed
+60 -110

No files matched your search

@@ -93,18 +93,6 @@ namespace Artemis.Core
#region Modification
/// <summary>
/// Updates the left side of the predicate
/// </summary>
/// <param name="path">The path pointing to the left side value inside the list</param>
public override void UpdateLeftSide(DataModelPath? path)
{
if (DataModelConditionList.IsPrimitiveList)
throw new ArtemisCoreException("Cannot apply a left side to a predicate inside a primitive list");
base.UpdateLeftSide(path);
}
/// <inheritdoc />
public override Type? GetPreferredRightSideType()
{