{"action":"opened","issue":{"url":"https://api.github.com/repos/MarimerLLC/cslaforum/issues/550","repository_url":"https://api.github.com/repos/MarimerLLC/cslaforum","labels_url":"https://api.github.com/repos/MarimerLLC/cslaforum/issues/550/labels{/name}","comments_url":"https://api.github.com/repos/MarimerLLC/cslaforum/issues/550/comments","events_url":"https://api.github.com/repos/MarimerLLC/cslaforum/issues/550/events","html_url":"https://github.com/MarimerLLC/cslaforum/issues/550","id":327005102,"number":550,"title":"New Lazy Load sample","user":{"login":"tfreitasleal","id":3586655,"avatar_url":"https://avatars0.githubusercontent.com/u/3586655?v=4","gravatar_id":"","url":"https://api.github.com/users/tfreitasleal","html_url":"https://github.com/tfreitasleal","followers_url":"https://api.github.com/users/tfreitasleal/followers","following_url":"https://api.github.com/users/tfreitasleal/following{/other_user}","gists_url":"https://api.github.com/users/tfreitasleal/gists{/gist_id}","starred_url":"https://api.github.com/users/tfreitasleal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tfreitasleal/subscriptions","organizations_url":"https://api.github.com/users/tfreitasleal/orgs","repos_url":"https://api.github.com/users/tfreitasleal/repos","events_url":"https://api.github.com/users/tfreitasleal/events{/privacy}","received_events_url":"https://api.github.com/users/tfreitasleal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-28T12:10:17Z","updated_at":"2018-05-28T12:10:17Z","closed_at":null,"author_association":"MEMBER","body":"Hi all,\r\n\r\nYou might have heard about the (not so new) feature of CSLA .NET `LazyGetProperty` and `LazyReadProperty`. But there was no sample to document how to use the **Lazy Load** feature.\r\n\r\nNow you have [CslaLazyProperties](https://github.com/MarimerLLC/csla/tree/master/Samples/NET/cs/CslaLazyProperties) sample under **.../Samples/NET/cs**.\r\n\r\nThe business layer was generated by [CslaGenFork](https://github.com/CslaGenFork/CslaGenFork). So you will find the interesting code on the *.Designer,cs files.\r\n\r\nSome notes about lazy loading. To have lazy loading you must NOT load/show all the properties when the form shows up. This sample uses a tab to hide the lazy loaded part. But you could use a TreeView node that lazy loads on node click, or a hidden panel that is shown on a button click, or whatever other way that best fits your UI requirements.\r\n\r\nA second note to say that lazy loading is quite interesting when you have lots of data to display and the user might or might not need to see that data. The example is a supplier with contact details, and a hidden list or orders. If your user just wants to send an email, he doesn't need to see the order list. So lazy loading is a perfect solution."}}
{"actor":{"display_login":"tfreitasleal"}}