type
CascadeActions = public flags(CascadingNone = 0, CascadingDeletes, CascadingUpdates);
FKDirections = public flags(Unknown = 0, Parent2Child, Child2Parent);
FKSource = public flags(Database, DataAnnotations, UserSpecified);
FKTuple = tuple of (Parent: SQLExtProperty, Child: SQLExtProperty, Attr: ForeignKeyAttribute, Source: FKSource, Action: CascadeActions, Direction: FKDirections);
var CheckFK: FKTuple;
var ForeignKey: FKTuple;
ForeignKey := (CheckFK.Parent, CheckFK.Child, CheckFK.Attr, CheckFK.Source or FKSource.DataAnnotations, CheckFK.Action, CheckFK.Direction);
I get the following error on the assignment of ForeignKey: (E64) Type mismatch, cannot find operator to evaluate “T4” or “FKSource”.
When I compile under .NET Framework 4.62 this compiles.
(I have also tried 4.7, 4.71, and 4.72 with no success)
Any ideas???