GitPedia
codesmithtools

codesmithtools/Templates

CodeSmith Generator Templates

22 Releases
Latest: 10y ago
PLINQO for NHibernate 1.3PLINQO-NH-1.3Latest
niemyjskiniemyjski·10y ago·August 7, 2015
GitHub

📦 Improvements

  • Added support for .Net 4.5 and Visual Studio 2012/2013.
  • There have been many improvements to the naming conventions of properties and classes.
  • Added the ability to Generate GetByKey() search criteria. This is controlled by setting Configuration.Instance.SearchCriteriaProperty.MethodKeySuffix to a string value. If MethodKeySuffix is null or empty then the search criteria method name will be generated as GetByPropertyName or GetbyPropertyName1PropertyName2.
  • Updated the mvc project to version 4.0
  • Improved the support for handling third party database vendors.

🐛 Bug Fixes

  • Fixed a bug where GetProperties(PropertyType.All) wouldn't return indexed properties.
  • Fixed various performance issues that could occur due to eager loading of data.
  • Updates to the ignore expression to check the ColumnSchema's FullName.
  • Fixed a bug involving TransactionScope.
  • Fixed a bug where NHibernateDataContextAdvanced.StateSession was not thread safe.
  • Removed Db2's timestmp column from being included as a rowversion column.
  • Fixed a bug where association names were incorrectly cased.
  • Fixed a bug where resolving a property default value could throw an exception.
  • + 1 more
PLINQO for Entity Framework 1.3PLINQO-EF-1.3
niemyjskiniemyjski·10y ago·August 7, 2015
GitHub

📦 Improvements

  • Added support for .Net 4.5 and Visual Studio 2012/2013.
  • Added NuGet support for the Entity Framework Templates.
  • There have been many improvements to the naming conventions of properties and classes.
  • Added the ability to Generate GetByKey() search criteria. This is controlled by setting Configuration.Instance.SearchCriteriaProperty.MethodKeySuffix to a string value. If MethodKeySuffix is null or empty then the search criteria method name will be generated as GetByPropertyName or GetbyPropertyName1PropertyName2.
  • Added initial Web API + Kendo templates (Beta).
  • Added the ability to specify an API Controller directory and namespace (Contrib Mark).
  • Improved the support for handling MySQL.

🐛 Bug Fixes

  • Fixed a bug where Visual Studio Solutions wouldn't open automatically.
  • Fixed a bug that would occur when generating against many to many relationships.
  • Fixed a bug where GetProperties(PropertyType.All) wouldn't return indexed properties.
  • Updates to the ignore expression to check the ColumnSchema's FullName.
  • Fixed a bug where association names were incorrectly cased.
  • Fixed a bug where resolving a property default value could throw an exception.
  • Many other minor bug fixes.
PLINQO for LINQ to SQL 5.2PLINQO-5.2
niemyjskiniemyjski·10y ago·August 7, 2015
GitHub

📦 Improvements

  • Added support for .Net 4.5 and Visual Studio 2012/2013.

🐛 Bug Fixes

  • Fixed a bug where an exception would be thrown when trying to add an association that contains a column that was is not a supported db type (E.G., spatial types).
  • Fixed a bug where Visual Studio Solutions wouldn't open automatically.
  • Fixed a bug where a VB Compiler error would occur when generating functions with Xml Serialization enabled.
  • Fixed a issue where VB access modifiers could be incorrectly generated.
  • Fixed a bug where ToPlural could return a lowercased resolved mapped name.
  • Fixed a query extensions compiler error that would occur for non nullable XML columns (Operator '=' is not defined for types 'System.Xml.Linq.XElement' and 'System.Xml.Linq.XElement'.)
  • Many other minor bug fixes.
CSLA 4.1 BetaCSLA-4.1-Beta
niemyjskiniemyjski·10y ago·August 7, 2015
GitHub

📦 Improvements

  • Added support for .Net 4.5 and Visual Studio 2012/2013.
  • Added support for CSLA 4.5.xx (C# only, we will be porting these changes to the VB templates).
  • Added WinRT Support (C# only, we will be porting these changes to the VB templates).
  • Added NuGet support for the CSLA Templates.
  • Added the ability to preserve the naming with the CSLA templates and many naming improvements.
  • Added the ability to Generate GetByKey() search criteria. This is controlled by setting Configuration.Instance.SearchCriteriaProperty.MethodKeySuffix to a string value. If MethodKeySuffix is null or empty then the search criteria method name will be generated as GetByPropertyName or GetbyPropertyName1PropertyName2.
  • Various improvements for Silverlight.

🐛 Bug Fixes

  • Fixed a bug where Visual Studio Solutions wouldn't open automatically.
  • Updates to the ignore expression to check the ColumnSchema's FullName.
  • Fixed a bug where DynamicRoot's Async Factory methods were public and not internal.
  • Fixed a bug where a child business object async factory methods were not returning the correct type.
  • Various updates to ReadonlyList and Readonly Factory DataAccess as they were not being generated properly.
  • Fixed a bug where some association types weren't being generated or detected by the Entities.cst logic.
  • Fixed a bug where all views and stored procedures could be generated if no entities were selected for generation (default behavior).
  • Fixed an issue where invalid association names could cause a compiler error.
  • + 13 more
NHibernate 1.2.1NHibernate-1.2.1
niemyjskiniemyjski·10y ago·August 7, 2015
GitHub

📦 Improvements

  • Update: Added NHibernate 3.0 mapping regression fixes.
PLINQO for NHibernate 1.2PLINQO-NH-1.2
niemyjskiniemyjski·10y ago·August 7, 2015
GitHub

📦 Improvements

  • Updated the templates to use the latest version of SchemaHelper (many improvements to association detection, naming conventions and much more).
  • Updated the QuickStart to support Visual Studio 2010 and MVC 3.
  • Added support for CodeSmith Generator 6.x.
  • Fixed a bug where duplicate properties could be added to an entity.
  • Fixed a bug with the DataContext.Generated.cst where it would throw a sequence exception.
  • Fixed a bug where multiple stored procedure parameters would not work correctly.
  • Fixed a naming bug with Stored Procedure parameter names.
  • Fixed a bug with Hbm's writing out duplicated composite key names.
  • + 7 more
PLINQO for Entity Framework 1.2PLINQO-EF-1.2
niemyjskiniemyjski·10y ago·August 7, 2015
GitHub

📦 Improvements

  • Updated the templates to use the latest version of SchemaHelper (many improvements to association detection, naming conventions and much more).
  • Added support for Generator 6.x.
  • Updated the QuickStart.
  • Fixed a bug with Query Extensions not generating GetBy's.
  • Fixed a bug with the IsIgnoreType method in the QueryExtension.Generated.cst template.
  • Fixed a bug where self referencing associations were not being created properly.
  • Various Performance Improvements
CSLA 4.0CSLA-4.0
niemyjskiniemyjski·10y ago·August 7, 2015
GitHub

📦 Improvements

  • Added support for Generator 6.5 (The CSLA 4.0 Templates require Generator 6.5).
  • Added support for generating from Stored Procedures and Views.
  • Added support for CSLA 4.3.10.
  • Updated the templates to use the latest version of SchemaHelper (many improvements to association detection, naming conventions and much more).
  • Added various List Business Object enhancements. The generated list Business Objects now contain the following methods Get, GetByCriteria, Remove, Contains and ContainsDeleted.
  • Added support for generating off of key less Data Sources.
  • Added the ability to exclude associations from being generated.
  • Templates now generating Async methods by default.
  • + 6 more

🐛 Bug Fixes

  • Fixed a bug that would cause entities to be generated even though they were not selected or ignored.
  • ReadOnly Objects will only generate Select Stored Procedures.
  • Updated the Comments in ADOHelper.cst to reflect that changes could be lost.
  • Fixed a bug where ObjectFactory Child List Items wouldn't be marked as child.
  • Fixed a bug where a "Child_Fetch not implemented" exception could be thrown.
  • Declaration of AddBusinessRules causes Overriding even when not implemented.
  • Fixed a bug with retrieval of VarBinary datatypes.
  • Fixed a bug with detecting read only objects as children in DataPortal_Update.
  • + 7 more
PLINQO 5.0.4PLINQO-5.0.4.1
niemyjskiniemyjski·10y ago·August 7, 2015
GitHub

📦 Improvements

  • Fix bug with GetHashKey and Contains not being unique
  • Fixed a bug where the DataContext was not being named correctly.
  • Updated PLINQO Interfaces to inlcude associations
  • Fix issue with Transaction and GetCommand
  • Fix to remove unprocessed function types and columns
  • Updated the syntax for invoking stored procedures.
  • Fix issues with AuditLog by adding a Refresh method on AuditManager
  • Add support for XmlReader to AuditLog
  • + 1 more
PLINQO 5.0.3PLINQO-5.0.3
niemyjskiniemyjski·10y ago·August 7, 2015
GitHub

📦 Improvements

  • Fix to remove unprocessed function types and columns
  • Updated the syntax for invoking stored procedures.
  • Fix issues with AuditLog by adding a Refresh method on AuditManager
  • Add support for XmlReader to AuditLog
  • Add support for table CRUD mapped to functions
PLINQO 5.0.2PLINQO-5.0.2
niemyjskiniemyjski·10y ago·August 7, 2015
GitHub
PLINQO 5.0.1PLINQO-5.0.1
niemyjskiniemyjski·10y ago·August 7, 2015
GitHub

📦 Improvements

  • Added IncludeList property to dbml template to support explicit include
  • Fixed keyword escape issues in functions
  • Added Serializable attribute to entities
  • Added QueryNamespace property to queries template so queries can be in a different namespace
  • Make enums use full namespace to prevent naming issues
  • Fixed issue with many to many association error "An item with the same key has already been added."
  • Updated vb function to use correct ByRef or ByVal in parameters
  • Fixed issue for cache on different databases
  • + 4 more
CSLA 3.0.1CSLA-3.0.1
niemyjskiniemyjski·10y ago·August 7, 2015
GitHub

New Features

  • Added support for CSLA 4.0.1
  • Added Silverlight support for the Command Object.
  • Added a ChildLoader to facilitate Silverlight lazy loading.
  • Added a partial method override for OnChildLoading.
  • Added the ability to specify a child class name. This is so you can create a list and specify what the child type should be.

🐛 Bugs

  • Fixed a breaking bug in CSLA 4.0.0 with private backing fields.
  • Fixed a bug where the new DynamicListBase classes were not being generated for ObjectFactory.
  • Fixed a bug where varchar(MAX) would create a rule with the size of -1.
  • If you are using the master template's for each template type. You must now specify the full class name *Breaking \* Change: You will need to append List, Criteria, Info... To all of your outputs. You now have 100% control over the naming.
  • Fixed a bug where the Child_Update method specifies identity key parameter as output instead of input.
  • Fixed a bug where the Child_Update must be called FieldManager.UpdateChildren() for SwitchableObjects.
  • Renamed the QuickStart Assembly to CodeSmith.QuickStart as Telerik also has an assembly called QuickStart and this was causing exceptions.

📦 Exceptions

  • Fixed a bug where the Child_Update method caused runtime exception because reader("anyvariable") was not found.
  • Fixed a bug where an exception could be thrown when trying to load SchemaHelper.

📦 Usability Problems

  • Fixed the determination logic of EditableRoot vs EditableChild objects. The relationships were being detected incorrectly during the QuickStart.
  • Fixed a bug where ignored tables could still be generated.
  • Fixed a bug where Stored Procedures marked with CustomProcedure extended attribute would be overwritten.
  • Fixed a bug where preserved regions could be overwritten on regeneration.
  • Moved the partial method declarations to the generated partial class.

📦 Known Issues and pending enhancements

  • There are a few minor edge cases that we are aware of that have been logged on our issue tracker located here. Please take a look at the existing logged issues and vote on what you would to like to see next. If you run into any issues or have any feedback, please log it here and we will take a look at it.
CSLA 3.0.0CSLA-3.0.0
niemyjskiniemyjski·10y ago·August 7, 2015
GitHub

New Features

  • Added support for CSLA 4.0.
  • Updated templates to support the new Rules Engine.
  • Updated support for the latest CSLA 4.0 Business base classes.
  • Added Silverlight 4.0 support (Requires CSLA 4.0).
  • Updated Framework Samples with a Silverlight project.
  • Supports Lazy Loading of Child properties.
  • Preprocessor directives.
  • Added Support for Visual Studio 2010 and the .NET Framework 4.0.
  • + 10 more

🐛 Bugs

  • Fixed a bug where a NullReferenceException could occur trying to resolve the Criteria Class name.
  • Fixed a bug where duplicated property changing events could be fired.
  • Fixed a bug where the DAL generated SQL could generate an invalid column causing a SQL Exception.
  • Fixed a bug where missing ref keywords where missing from the templates.
  • Fixed a bug where ntext fields were being detected with a size of -1 in the generated rules.
  • Fixed a bug where a switchable object would not be marked as a child when being created inside of Add New Core.
  • The whole list of bug fixes can be found here.

📦 Exceptions

  • Fixed a bug where an Exception would be thrown when children do not have a child but UpdateChildren was called.
  • Fixed a bug where and EditableRootList could throw an exception when calling save.
  • Fixed a bug where an exception would occur on a child collection when the get by value was a nullable data type.

Performance Problems

  • Updated how entities are passed down from parent to children.
  • Fixed a bug where the Keyword Alias renaming could be executed multiple times.

📦 Usability Problems

  • Fixed a bug where multiple Business Objects would be generated even though they were on the ignore list.
  • Fixed a bug where Line endings could be inconsistent.
  • Fixed a bug where Stored Procedures marked with CustomProcedure extended attribute would be overwritten.
  • Fixed a bug where preserved regions could be overwritten on regeneration.
  • Moved the partial method declarations to the generated partial class.

📦 Known Issues and pending enhancements

  • There are a few minor edge cases that we are aware of that have been logged on our issue tracker located here. Please take a look at the existing logged issues and vote on what you would to like to see next. If you run into any issues or have any feedback, please log it here and we will take a look at it.
PLINQO 5.0PLINQO-5.0.0
niemyjskiniemyjski·10y ago·August 7, 2015
GitHub

📦 Improvements

  • Added Visual Studio 2010 and .NET 4 Support
  • Updated QuickStart with latest Dynamic Data and DataServices
  • Added SQLCacheDependancy Support
  • Added IQueryable Cache Extensions
  • Added Include extension for advanced eager loading
  • Improved AuditLog, now includes updates after SubmitChanges
  • Fixed bug in CacheManager where default profile did not load properly
  • Added override RuleManager.Run override that populates the TrackedObject.Original
  • + 12 more
CSLA 2.0.0CSLA-2.0.0
niemyjskiniemyjski·10y ago·August 7, 2015
GitHub

📦 Improvements

  • Added SQL Stored Procedure support
  • Added Object Factory support.
  • Added merge region support as well as support to actively generate stored procedures.
  • Added ExistsCommand, this does a database lookup to see if an item exists in the database.
  • Added support for generating ReadOnly business objects along side of an Editable business objects.
  • Added Column and Table renaming support.
  • Moved all repetitive template logic into sub templates (common folder)
  • Added support for the new ByPassPropertyCheck in CSLA 3.8.
  • + 7 more
PLINQO 4.0.1PLINQO-4.0.1
niemyjskiniemyjski·10y ago·August 7, 2015
GitHub

📦 Improvements

  • Added NextPage, PreviousPage, GotoPage to PagedList
  • Added methods GetOrSet to CacheManager and CacheProvider
  • Added BeginTransaction to DataContextExtensions
  • Added GeneratedCodeAttribute to Generated classes
  • Added full namespace to Metadata class
  • Added NotNull Rule and Attribute.
  • Added DataContextName to dbml template and Generator
  • Added Current and Original entities to AuditEntity.
  • + 12 more
PLINQO 4.0PLINQO-4.0.0
niemyjskiniemyjski·10y ago·August 7, 2015
GitHub

📦 Improvements

  • Added future query support similar to NHibernate Futures
  • Added ability to query by null to query extensions
  • Added ability to query by a list of values to query extensions
  • Added ability to query using comparison operators (ie. greater than, less than) to query extensions
  • Added cache provider support
  • Added support for using Ayende's LINQ to SQL Profiler
  • Added Memcached cache provider
  • Added ability to create named cache profiles in configuration
  • + 10 more
CSLA 1.1.1CSLA-1.1.1
niemyjskiniemyjski·10y ago·August 7, 2015
GitHub

📦 Improvements

  • Fixed a bug where FK's to tables in the excluded list could throw a null reference exception.
  • Validation Rules now use the PropertyInfo overload instead of a string.
  • Added the DataPortal_Update() override to the EditableRootList and EditableChildList.
  • Fixed a bug where multiple QueryMethods could be generated.
  • Fixed a bug where the EditableRootList had MarkAsChild() in the constructor.
  • Fixed a bug where the DatabaseSchema was not being deep loaded properly.
  • Fixed a bug where multiple one to manys on the same FK would cause one to be added as a one to many and one to zero or one.
  • Removed support for many to many (Please contact support for more information, temp change).
  • + 3 more
CSLA 1.1CSLA-1.1
niemyjskiniemyjski·10y ago·August 7, 2015
GitHub

📦 Improvements

  • Visual Basic support
  • Added generated authorization rules based on work described here.
  • Fixed a bug where a Column that is a primary key and a foreign key was not handled correctly.
  • Fixed a bug where many to many tables would be excluded from the Entities collection.
  • The CleanExpression and IgnoreExpression are now case insensitive.
  • Fixed many small template bugs.
PLINQO 3.1PLINQO-3.1.0
niemyjskiniemyjski·10y ago·August 7, 2015
GitHub

📦 Improvements

  • Added query result caching
  • Added a new AlwaysAuditAttribute to make it possible to always audit a property even if it hasn't changed.
  • Added partial change tracking methods for EntityRef associations
  • Added support for maintaining user defined associations
  • Added partial change tracking methods for EntityRef associations
  • Added shared version information for Assemblies
  • Added support for AuditPropertyFormat
  • Removed AddRule that is no longer used in manager templates
  • + 7 more
CSLA 1.0CSLA-1.0
niemyjskiniemyjski·10y ago·August 7, 2015
GitHub

Features

  • Working data access layer with concurrency support.
  • Support for completely overriding the generated rules.
  • Generates three partial classes per business object.
  • Generates a common business, data and UI layer.
  • Quick start.
  • Implements all 14 object types.
  • Detects and generates properties and child objects for the following database relationships (One to Zero or One, One to One, One to Many, Many to One, Many to Many).
  • All DateTime data types are generated as Csla.SmartDate
  • + 1 more