You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using [email protected] which has a dependency on [email protected] and I'm getting an exception Methods on type 'Enum' are not accessible (at index 3) with query
varstatus=Status.Active|Status.Inactive;query=query.Where("@0.HasFlag(StatusColumn)",status);// I believe Enum.HasFlag() is triggering the error.
I'm using
[email protected]
which has a dependency on[email protected]
and I'm getting an exceptionMethods on type 'Enum' are not accessible (at index 3)
with querystatus
is an enum as follows:I have tried both methods ([DynamicLinqTypeAttribute] and CustomTypeProvider) mentioned in #689 (comment)
to no avail.
How do I call a method on an
enum
, not aclass
.The text was updated successfully, but these errors were encountered: