Editor .NET - Optimize Distinct for duplicate tables

Editor .NET - Optimize Distinct for duplicate tables

washuit-iammwashuit-iamm Posts: 121Questions: 51Answers: 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: 61,972Questions: 1Answers: 10,160 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.