Editor .NET - Optimize Distinct for duplicate tables

Editor .NET - Optimize Distinct for duplicate tables

washuit-iammwashuit-iamm Posts: 133Questions: 55Answers: 2

The following code results in multiple DISTINCT to same table:

.Field(new Field("InventoryServer.OSLevelId")
    .SetFormatter(Format.IfEmpty(null))
    .Options(new Options()
        .Table("Product")
        .Value("Id")
        .Label("Name")
    )
)
.Field(new Field("InventoryServer.ModelId")
    .SetFormatter(Format.IfEmpty(null))
    .Options(new Options()
        .Table("Product")
        .Value("Id")
        .Label("Name")
    )
)

Is there a way to tell Editor .NET and Editor Client to reference the same options collection?

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 62,858Questions: 1Answers: 10,344 Site admin
    Answer ✓

    At the moment, no there is not, sorry. Antler good idea for future enhancement though.

    Allan

Sign In or Register to comment.