OpenRIAServices / OpenRiaServices

The Open RIA Services project continues what was previously known as WCF RIA Services.
https://openriaservices.gitbook.io/openriaservices/
Apache License 2.0
54 stars 47 forks source link

Fluent API #4

Open Daniel-Svensson opened 6 years ago

Daniel-Svensson commented 6 years ago

Open RIA Services needs to move to a Fluent API as the default configuration method.

This work item was migrated from CodePlex

CodePlex work item ID: '4' Vote count: '1'

Daniel-Svensson commented 6 years ago

[APErebus@2013-10-17] I'm curious to know what the process of this would be.

Are we using the fluent config instead of the data attributes (for [Include], [Exclude] etc.?)

Daniel-Svensson commented 6 years ago

[ColinBlair@2013-10-23] Yes, there was a fluent configuration add-on for WCF RIA Services but with Open RIA Services we will make it the default configuration. Implementation wise it will be very similar to Entity Framework's fluent configuration.

Daniel-Svensson commented 10 months ago

The community project was migrated to https://github.com/OpenRIAServices/OpenRiaServices.FluentMetadata .

The solution is somewhat elegant but have some drawbacks for shared entities. where it is not clear that the configuration of an entity type needs to be the same in alla services (since there is only 1 client side version of it generated)