XPO Simplified Criteria Syntax allows you to obtain your persistent objects properties via Object Orientated method. This is plugin is meant to replicate Oliver Sturms XPOFieldSync, and hopefully in time improve from the excellent idea of Olivers. Instead of: Dim MyCustomersStartingWithB as XPCollection(Of Customer)(New BinaryOperator("CompanyTradingName", "B%", Like)) After running XPOEasyFields you can now do: Dim MyCustomersStartingWithB as XPCollection(Of Customer)(New BinaryOperator(Customer.Fields.CompanyTradingName, "B%", Like)) This not only easier to identify fields and relations via Intellisense, but is Strongly Typed, meaning if you wanted to Refactor your object and change the CompanyTradingName property to say TradingName, you will end up with Compile Errors highlighting where you have used that field, unlike the string representation which is perfectly valid code until it executes at Runtime and collapes in a heap ;) There are some differences between XPO_EasyFields? and XPOFieldSync
More details on this plugin are available here. This plugin requires CodeRush. You can locate a free trial of CodeRush here. CodeRush is a powerful productivity tool built byDevExpress. It is designed to help you produce higher quality, more readable code with far less effort and in a fraction of the time. |