![getting the problem domain of the database back in focus getting the problem domain of the database back in focus](https://venturebeat.com/wp-content/uploads/2018/08/IMG_20180830_095804.jpg)
There is literally not a single scrap of code from the DomainService created by the Wizard that could be moved into a generated file, it is 100% user maintained code. If you split the DomainService into generated class code and a second file with user extensions the generated class code would have: partial public class MyDomainServiceĪnd the "user extensions" file would have everything else. If a domain service class would be updated by the EDM only the codegenerated files would be overwritten. I would also love to see a file based separation of generated class code and user extensions to this classes, so that No possibility to reflect the changes in the underlying EDM and to regenerate the domain service class. I think this is a must. I just use the DataForm for formatting my text boxes and labels nicely.ģ. I don't allow the DataForm to control the OK and Cancel buttons anyway, I do that from my ViewModel. For a control which is used in every single tutorial on how to use Silverlight, and that has been around for two releases of Silverlight, continuing to pretend it is only a preview is rather Yeah, that Preview notation on the DataForm needs to get fixed. The OK and CANCEL buttons will only be enabled if i edit values of the base table. To use a related table and run into a bug in edit mode with AutoCommit=False. Some minutes later and crawled google again for documentation but didn't found so much. I saw the DataForm and thought "This is it!", but it's only preview band. Silverlight controls have different quality bands. If you want to see a good tutorial of RIA Services and Silverlight, check outĢ. Of the "intro" tutorials show you isn't very good for doing much more then editing a single table, but then I don't use the DomainDataSource for anything. I will grant you that using the DomainDataSource like most It is when databases aren't properly normalized that it has problems. Well, you can blame the particular video/tutorials you were looking at, but RIA Services is designed for normalized databases. So there is definetly missing documentation on this part ( and. I googled a lot to find out how to show related tables in a datagrid. I think every good database in a business application uses normalized entities, so that it's almost never the case that I have only one table to look at, update or The first that got me was that every video/tutorial focused on only one table. I would have loved to go this way,īut it needs some more maturity. The result is that I feel I got so much things to handcode to fulfill the requirements for a good normalized database and simple crud operation that it would be faster to stay on asp.net and webforms and stored procedures. Use database constraints for the validation properties of the domain service metadata (string length, required) I would also love to see a file based separation of generated class code and user extensions to this classes, so that if aĭomain service class would be updated by the EDM only the codegenerated files would be overwritten.Ĥ. So this is sadly not usable and would be the perfect control for crud operations. Related table and run into a bug in edit mode with AutoCommit=False.
![getting the problem domain of the database back in focus getting the problem domain of the database back in focus](https://venturebeat.com/wp-content/uploads/2019/04/chrome-remove-animations.png)
I think every good database in a business application uses normalized entities, so that it's almost never the case that I have only one table to look at, update or insert in. I must say that I am also new to silverlight and was evaluating it the same time.ġ.
![getting the problem domain of the database back in focus getting the problem domain of the database back in focus](https://farm6.staticflickr.com/5602/15819415871_c07377ef91_z.jpg)
But the deeper I got into it, the more problems I run into. After watching some of the videos it sounded great. I was evaluating WCF Ria services some days now.