public static class Functions
{
[Projectable]
public static int Foo(int v1, int v2) => v1 + v2;
}
and an entity
public class MyEntity
{
public int Prop1 { get; set; }
public int Prop2 { get; set; }
[Projectable]
public int Projection => Functions.Foo(Prop1, Prop2);
}
Everything works fine.
However, when I qualify the method call using the namespace,
public class MyEntity
{
public int Prop1 { get; set; }
public int Prop2 { get; set; }
[Projectable]
public int Projection => My.Namespace.Functions.Foo(Prop1, Prop2);
}
It fails.
'Unable to resolve generated expression for MyEntity.Projection'
I created a static method
and an entity
Everything works fine.
However, when I qualify the method call using the namespace,
It fails.
'Unable to resolve generated expression for MyEntity.Projection'