Codesmithtools Templates Versions Save

CodeSmith Generator Templates

PLINQO-3.1.0

8 years ago

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
  • Updated manager templates classes to lazy load
  • Fixed many to many issue when IncludeDeleteOnNull is false
  • Fixed bug with a keyword in function parameter name
  • Fixed bug with transactions in ExecuteQuery
  • Fixed bug with nullable columns in queries
  • Fixed bug with nullable parameter in query
  • Fixed support for inheritance

CSLA-1.1

8 years ago

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.

CSLA-1.1.1

8 years ago

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).
  • Patch for ParameterizedSQL.cst which fixes the singleton (contrib: Jamie Clayton).
  • Updated the NameValueList Templates.
  • Removed the zip dependency.

PLINQO-4.0.0

8 years ago

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
  • Added ability to validate individual entities
  • Refactored RuleManager to lazy load shared rules
  • Combined extension method namespaces to make the extension methods more discoverable
  • Added support for SQL Server user defined functions
  • Added entity interfaces to help with mocking and other uses
  • Updated ToPagedList() to use future queries for retrieving the total row count
  • Added ToBinary(), FromBinary(), and FromXml() methods to help with entity serialization
  • Added UTC support for the Now attribute and rule
  • Added ClearCache() to remove queries from the cache
  • Fixed several bugs with batch queries

PLINQO-4.0.1

8 years ago

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.
  • Fixed issue with duplicate many to many names
  • Fixed bug in LinqCacheDataSource
  • Fixed a bug loading NRefactory causing the templates not to compile
  • Fixed bug with Update and TimeSpan data type.
  • Fixed issue with column named "Key"
  • Fixed ToBinary
  • Changed to argument order of operators to make it more clear which is the left and right side of the operation
  • Changed default Clean Expression to be less aggressive
  • Changed ViewDirectory to ModelDirectory
  • Changed comments in Entity.Editable.cst
  • Improved sql generated with null values
  • Updated CodeSmith.Data.chm to have correct email address for support

CSLA-2.0.0

8 years ago

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.
  • Updated the templates to CSLA 3.8.2.
  • Fixed detection logic for GetBy Criteria.
  • Fixed many bugs dealing with Child objects and how they are populated.
  • Added partial method hooks for the DataPortal methods.
  • Updated the templates to throw an exception when a record doesn’t exist.
  • Added support to rename a non identity primary key column.
  • Fixed many other template bugs.

PLINQO-5.0.0

8 years ago

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
  • Fixed bug in AuditLog
  • Fixed bugs in VB Quick Start
  • Added DataContextName to QuickStart.cst
  • Fixed Managers didn't have the same access modifier as entities
  • Fixed bug in GetByKey function in VB
  • Fixed invalid cast exception for Range attribute on short properties
  • Fixed bug in ExecuteFutureQueries when no queries were loaded
  • Fixed bug in Manager when column didn't exist
  • Added logic to skip columns of type 'hierarchyid'
  • Added work around for L2S Profiler not working with transactions
  • Fixed bug where Metadata property types did not match up with Enums
  • Added BeginTransaction with no overload

PLINQO-5.0.1

8 years ago

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
  • Fixed include list to not prevent association generation
  • Fixed issue with cache default profile
  • Fix to make IsPrimaryKey sync correctly
  • Fixed issue initializing PLINQO rules asynchronously

CSLA-3.0.1

8 years ago

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.0

8 years ago

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.
  • Added EditableRootListBase or DynamicListBase Business Object Type Template.
  • Added New Partial Overrides to make customization even easier.
  • Increased business objects naming detection support.
  • Added Namespace support for the Visual Basic Templates *Breaking Change.
  • Added better support for composite keys and guid columns.
  • Added better support for grand -children and great grand-children.
  • Updated Collections to not throw an exception when no records are found *Breaking Change.
  • Added Collection Unit Tests to the sample applications and updated NUnit.
  • Added beta unit tests templates for the CSharp Version (These were contributed by the community and will be built and expanded on in future releases).
  • Added support for passing down parent information to children when creating new children.

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.