poopee wrote:But of course, the assumption is that db schema change is a very rare occurence, but it's still possible, no?
Best Regards, Kit Kai, MVP (SharePoint Portal Server)
poopee wrote:Hey you know what, I personally find stored procedures cumbersome, and in fact, difficult to maintain since they're stored inside SQL Server. Iif we have a data access layer not only can we could work on data objects very flexibly, but also code readibility will be significantly improved.
poopee wrote:But since your wizard creates stored procedures, maybe in future versions you could enhance the flexibility for stored procedures as well (i.e. changes in code access to the Paladin framework automatically alters the stored procedures to the point that it's transparent to the coder -- i.e. the coder doesn't even have to know the app works on sps!).
poopee wrote:Yeah... I think people who traditionally code in Java actually do that. They don't rely on SPs that much. However, the Microsoft courseware strongly advocates SPs for performance reasons. But that can be pretty cumbersome especially since SPs are not OO and have no inheritance and hierarchy and stuff, so it's akin to storing as many SQL statements as one needs in SPs. Database schema changes can mean hell as individual SPs may have to be changed as well. But of course, the assumption is that db schema change is a very rare occurence, but it's still possible, no?
kitkai wrote:It depends on how good ur software architect is. For my case... changes happens as often as u rest... But i am only able to rest on sunday...
The most anticipated release for Paladin is finally here!
Release 0.8.8 provides enhanced support for Many-to-many and One-to-one table relationships that gives you more flexibility for your Entity classes. Support for Many-to-many and One-to-one relationships is also available in the BEWizard. Implementing those features now is only clicks away.
This release also introduces CSEncrypt, a new tool that allows you to encrypt your connection strings in the config file.
So what are you waiting for? Download Paladin 0.8.8 Alpha today!
========================================================
This release brings major revisions and enhancements to both the Paladin.Core and BEWizard. A new tool, CSEncrpyt is now available for encrypting connection strings.
Paladin.Core: - Updated EULA - Please take sometime to read! - New DataReferenceAttribute class. - Added support for One-to-one table relationships. It is now possible to map more than one tables to one class via a common key and all CRUD actions will work. - Added new encrypted=true|false element for <connection> tag - Added ConnectionDecryptKey property in DatabaseSectionHandler. - Added support for decrypting connection strings in DatabaseSectionHandler. - Added Decryptor class to provide methods for connection string decryption. - Added support for non auto-incremented keys. - Changed RelationAttribute usage from Field to Property. - Changed TypeReflector class to Reflector. - Updated support for Many-to-many table relationships. CRUD actions will work correctly now. - Removed ReferenceAttribute. - Optimized SQL generation code. - Namespaces have been reorganized.
BEWizard: - Added EULA display. - Added code generation support for One-to-One relationships. - Added code generation support for Many-to-Many relationships. - Added support for mapping fields from One-to-one tables in References. - Added support to select which stored procedure to generate. - Added Backup code file feature. Wizard can be set to not override existing code files. - Changed minor interface implementation code generation. - Changed configure relationships UI. It is easier to define object models now. - Updated plural to singular translation algorithm. - Fixed: Path validation errors. - Fixed: Wrongly generated parent name when table is joined to itself. - Fixed: Minor fixes to some internal code. - Fixed: Duplicate JOIN statements when there are two reference columns. - Fixed: Problem some code generation inconsistencies in VB.NET - Fixed: Taskbar button flicker.
Note: New features are not available in Stored Procedure mode.
Special thanks to: - Amadrias for aggresively reporting bugs. - Softwaremaker from www.sgdotnet.org for contributing sample codes and defining the encryption/decryption strategies. - Yoon Kit for providing enhancements tips to the SQLParameter.
Check out http://serena-yeoh.blogspot.com for pre-release tips.
kitkai wrote:After reading ur tips and tricks, one improvement for paladin dat comes to mind, in view of the topic of the month, is to support nightly builds, where BEwizard or other methods can be used to rebuild the base class paladin generated in case there is any update to database.
kitkai wrote:Got to confess, *guilty* that I have't read ur alpha release features yet, so not sure if that is already supported. sorry