Na een maand zwoegen, heb ik versie 1.2 afgerond van LLBLGen, mijn open source, free, data-access tier generator voor .NET/C#/VB.NET/SQLServer
Main Features van v1.2:
• Generation of the following stored procedures in T-SQL per table: Insert, Update, Delete, SelectOne using Primary Key fields, SelectOne using UNIQUE constraints, SelectOne using non-PK identity fields and GUID columns, SelectAll, SelectAll using a Foreign Key field, DeleteAll using a Primary Key field, UpdateAll using a Foreign Key field.
• Generation of the following stored procedures in T-SQL per view: Insert and SelectAll
• Generation of .NET classes (C# or VB.NET), one per table and view, for calling the generated stored procedures, each stored procedure has one corresponding method.
• Generation of a separate ConnectionProvider class which can be used to share an open database connection among one or more generated classes to run all calls to methods of these classes in an ADO.NET transaction. Running multiple calls to data-access tier methods in one transaction, using the ConnectionProvider class is done without compromising the abstract, database-unawareness of the generated API.
• Generated classes have one public get/set property per table/view field. These properties are filled with the values of the retrieved row by the SelectOne methods.
• Extensive comment generation (C# or VB.NET) which can be used for API documentation generation.
• The T-SQL code generator and C# / VB.NET generator are very flexible and tweakable using an easy to use GUI.
• Generated .NET classes and stored procedures support NULL values, plus the generated API has boundary checks for passed values.
• .NET code generator supports COM+ serviced component features so generated classes can be used as COM+ serviced components and can use most COM+ services like object pooling and transactions
• Multiple .NET coding styles are supported (both Hungarian Style and Microsoft caMel/PasCal style).
• Very fast and database-friendly: no adjustments are made to the database selected.
• Which tables and views should be processed by LLBLGen is selectable by the user.
• Generated .NET code is optimized for garbage collection and implements the IDispose interface.
• Generated .NET code is ready for compilation and the generated T-SQL code is ready to be imported into the SQLServer database.
• Generated .NET methods have error handling code and efficient usage of resources.
• Both SQLServer 7 and SQLServer 2000 are supported (plus related MSDE versions), and where possible SQLServer 2000 functionality is used.
• All SQLServer database types are supported.
Daarnaast zijn een heel scala aan bugs gefixed
Sourcecode (11000 regels C#), Documentatie en executable zijn op te halen op:
http://www.sd.nl/software/ -> LLBLGen sectie.
Have fun!
Main Features van v1.2:
• Generation of the following stored procedures in T-SQL per table: Insert, Update, Delete, SelectOne using Primary Key fields, SelectOne using UNIQUE constraints, SelectOne using non-PK identity fields and GUID columns, SelectAll, SelectAll using a Foreign Key field, DeleteAll using a Primary Key field, UpdateAll using a Foreign Key field.
• Generation of the following stored procedures in T-SQL per view: Insert and SelectAll
• Generation of .NET classes (C# or VB.NET), one per table and view, for calling the generated stored procedures, each stored procedure has one corresponding method.
• Generation of a separate ConnectionProvider class which can be used to share an open database connection among one or more generated classes to run all calls to methods of these classes in an ADO.NET transaction. Running multiple calls to data-access tier methods in one transaction, using the ConnectionProvider class is done without compromising the abstract, database-unawareness of the generated API.
• Generated classes have one public get/set property per table/view field. These properties are filled with the values of the retrieved row by the SelectOne methods.
• Extensive comment generation (C# or VB.NET) which can be used for API documentation generation.
• The T-SQL code generator and C# / VB.NET generator are very flexible and tweakable using an easy to use GUI.
• Generated .NET classes and stored procedures support NULL values, plus the generated API has boundary checks for passed values.
• .NET code generator supports COM+ serviced component features so generated classes can be used as COM+ serviced components and can use most COM+ services like object pooling and transactions
• Multiple .NET coding styles are supported (both Hungarian Style and Microsoft caMel/PasCal style).
• Very fast and database-friendly: no adjustments are made to the database selected.
• Which tables and views should be processed by LLBLGen is selectable by the user.
• Generated .NET code is optimized for garbage collection and implements the IDispose interface.
• Generated .NET code is ready for compilation and the generated T-SQL code is ready to be imported into the SQLServer database.
• Generated .NET methods have error handling code and efficient usage of resources.
• Both SQLServer 7 and SQLServer 2000 are supported (plus related MSDE versions), and where possible SQLServer 2000 functionality is used.
• All SQLServer database types are supported.
Daarnaast zijn een heel scala aan bugs gefixed
Sourcecode (11000 regels C#), Documentatie en executable zijn op te halen op:
http://www.sd.nl/software/ -> LLBLGen sectie.
Have fun!



