1 - Applied patch from Patrick Steele adding support for DiscriminatorLength in mappings.
3 - Added support for validating nested properties.
5 - Applied patch from Roger Chapman allowing ActiveRecord to be used signed in Medium trust.
7 - Applied patch from Steven Radack which catches invalid configuration of multiple database types. (They must be abstract).
8 Now AR throws an exception rather than silently using the same database.
13 - Mark SessionScope.Dispose(true) overload as deprecated. FlushMode.Never is the new black.
15 - Added support for property-ref to BelongsTo (many-to-one)
17 - Added support for CompositeUserType properties in nested classes
19 - Added ActiveRecordBase.Asc/Desc(params string[] propertyNames) methods to allow convenient specification of sort order.
21 - Applied Oleg Snurnikov's patch fixing AR-178
22 "SessionScopeWebModule fails with HybridWebThreadScopeInfo"
24 - Applied Artur Grzegorzewicz's patch fixing AR-177
25 "Parameterless overload of ActiveRecordStarter.Initialize"
27 - Added RegisterAssemblies to ActiveRecordStarter
29 - Relaxed the need for Types that represent database boundaries to extend
30 from ActiveRecordBase. Following AR-160 changes.
32 - Applied Michael Thomas' patch fixing AR-165
33 "UniqueKey property on BelongsToAttributed does not cause generation of unique-key
34 attribute in associated many-to-one xml element"
36 - Applied Lee Henson's patch fixing AR-167
37 "A CompositeKey class with multiple Equals() overloads throws exception"
39 - Applied Michael Thomas' suggestion to fix AR-170
40 "Indeterministic crashes when creating the NHibernate Mapping"
42 - Applied Lee Henson's patch fixing AR-172
43 "Support for collection-type attribute on HasMany"
45 - Applied Gautier's patch fixing AR-173
46 "Add a type parameter to the methods : CreateSchema, DropSchema,
47 GenerateCreationScript and GenerateDropScript"
50 "GenerateCreationScripts and GenerateDropScripts generate the scripts for only one database"
52 - Applied Mike Thomas' suggestion to make AR work with multiple databases without the
53 ARBase usage. This fixes AR-160
55 - Added support for SaveOrUpdateCopy() which facilities working with detached objects.
57 - Applied Tim Haines' patch adding the ability to verify if the models match the db
58 structure. This can be done by setting the "verifyModelsAgainstDBSchema" attribute to true on
59 the ActiveRecord configuration node, or using the method VerifySchema on ActiveRecordStarter
61 - Applied Lee Henson's patch change Exists implementation to use ISession.Get
62 This is required for lazy loaded classes as the old implementation would always
65 - Applied patch by David N. Godfrey that
66 - Refactored ActiveRecord to rely on Castle.Components.Validator to perform validations
67 - Fixed an old behavior where ActiveRecord didn't notify the session scope about sessions
68 that were invalidated due to database errors.
70 - Pushed processing of configuration into InPlaceConfigurationSource so both
71 ActiveRecord and ActiveRecordFacility could handle it in one place.
74 "XmlGenerationVisitor.MakeCustomTypeAtt doesn't support generic types"
76 - Applied Matthew Robinson's patch fixing AR-152
77 "Incorporation of subselect fetch strategy"
79 - Added the CompositeUserTypeAttribute and allowed the use of NHibernate's ICompositeUserType (AR-128)
81 - Applied the Marc-André's tests patch (AR-136).
83 - Applied Simon Laroche's patch fixing AR-141
84 "Support for NHibernate nested-composite-element"
86 - Fixed the Validation for Generic types (AR-122 and MR-237)
88 - Fixed working with Lazy objects.
90 Classes that are marked with [ActiveRecord(Lazy = true)] break in the EnsureInitialized function with the exception:
92 Castle.ActiveRecord.Framework.ActiveRecordException:
93 You have accessed an ActiveRecord class that wasn't properly initialized. The only explanation is that the call to ActiveRecordStarter.Initialize()
94 didn't include CProxyTypeCastle_ActiveRecord_Tests_ModelVeryLazyObjectModel_NHibernate_ProxyINHibernateProxy1 class
96 - Applied Andrew Denysenko's patch fixing AR-142
97 "Allow setting "batch-size" on collections"
99 - Applied Roy Tate's patch fixing AR-143
100 "XmlGenerationVisitor generates incomplete XML mapping
101 for BelongsTo with composite key"
103 - AR-140 - Patch to allow "The <component> element allows a <parent> subelement that maps a property of the component class as a reference back to the containing entity."
106 - Applying commutative patch from Roy Tate: AR-133, AR-139, AR-138
107 ActiveRecordMultiQuery, ActiveRecordCriteriaQuery, CriteriaHelper, CountQuery.
109 - AR-129: Applied patch by John Hurrell
110 "Implement NHibernate's "foreign-key" Attribute"
113 "BelongsTo attribute does not support UniqueKey"
115 - AR-135: Applied patch from Rafael Steil - better error message when using non interface type for an association.
117 - AR-134: Applied patch from Kristofer Goss. Can now use [Field] on [Nested] types.
119 - AR-131 Applied patch Dave Godfrey. Using [Fetch] to specify the fetch strategy NHibernate will use. Note that this [Obsolete] the OuterJoin property on BelongsTo, in favor of the Fetch property.
121 - Added RawXmlMappingAttribute base class, which can be used to give Active Record additional mapping from external source.
122 This functionality was added to support rare cases that Active Record do not support (mapping an entity from a 3rd party assembly, etc).
123 Prefer to use the standard Active Record features over this.
125 - Applied John Hurrell's patch fixing AR-94
126 "ScalarQuery<T> on an empty table creates a null reference exception"
128 - Applied Ernst Perpignand's fixing AR-126
129 "Collection of dependent objects"
131 Quoting 'patch implementing collection of dependent objects as per Hibernate documentation section 7.2'
134 "Cannot use webservices or XmlSerializer on classes derived from ActiveRecordValidationBase because of IDictionary PropertiesValidationErrorMessage"
136 - Applied Patrick Earl's patch, adding event ModelCreated that allows to re-configure the model before
137 generating the XML for NHibernate.
139 - Added HqlNamedQuery attribute and allowed to use the Import attribute at the assembly level
141 - Applied Brian Romanko's patch fixing AR-104
142 "IsUniqueValidator does not work properly with nullable primary keys"
144 - Add Count(ICriterion[] criteria) overrides to ActiveRecordMediator and ActiveRecordMediator.Generic (original patch from Andy W. Dobbels)
147 "Add support for the <Operation>AndFlush family of methods to ActiveRecordMediator"
149 - Applied Jan Persson's patch fixing AR-122
150 "Problems validating inherited properties when using generics"
152 - Applied Edward Kreis' patch fixing AR-124
153 "ActiveRecord OneToOne attribute's "constrained" parameter doesn't appears in a NHibernate mappings"
155 - Applied John Hurrell's patch fixing AR-123
156 "Additional OnFlush functionality"
158 - Exposed some IValidator's properties.
160 - Renamed IActiveRecordQuery.Target to IActiveRecordQuery.RootType
162 - Added SetRange to ProjectionQuery<,>
164 - Made HasMany a bit smarter when dealing with Map elements.
166 AR now can guess the IndexType, the MapType and the Table name from the IDictionary<,> property.
169 - AR-118 added NoSetter.LoweCase property access option.
171 - Fixed AR-117 "ActiveRecordBase CRUD Methods Ignore SessionScope FlushMode"
173 The operations Save, Create, Delete, Update will not flush the session anymore
174 The operations SaveAndFlush, CreateAndFlush, DeleteAndFlush, UpdateAndFlush will
176 - Removed HqlBasedQuery.Count operation as it didn't work for complex queries
178 - Fixed AR-110 "Support rollback on TransactionScope Dispose without commit."
180 Now you can create a TransactionScope defining the behavior
181 if the dispose is reached and neither a votecommit nor voterollback was called
183 - Applied Andrew Peters' (see AR-105) with the following changes
185 - [breaking change] Renames ActiveRecordBase.CountAll to ActiveRecordBase.Count
186 as several overloads are by criteria and IMHO Count is a better, more general name.
188 - Adds an overload of Count that accepts an ICriterion[] - Modified CountQuery
189 to use NHibernate 1.2 Projections
191 - Reimplements (http://support.castleproject.org//browse/AR-100) so that it uses
192 the new Count overload instead of FindAll.
194 - Filled in as many missing doc comments as I could before my eyes hurt :-)
196 - Renamed "criterias" to "criteria" in method signatures - "criterias" is not a word.
200 - Fixed AR-115 Exists always returns True for lazily-proxied classes
201 Changed FindByPK to use Get/Load according to its parameters.
203 - Included PrimaryKeyType.Custom and property CustomGenerator:Type
204 allowing one to supply its own generator
206 - Included PrimaryKeyType.Counter and PrimaryKeyType.Increment
208 - Applied patch from Drew Burlingame
209 Add ActiveRecordBase<T>.Exists(params ICriterion[] criterias)
210 Method also added to ActiveRecordBase.
212 - Applied patch by Andrew Peters fixing AR-97
213 "Pluralization of table names"
215 This patch introduces the pluralizeTableNames attribute on the configuration
216 which, if set to true, pluralizes the ActiveRecord types tables where no name
222 public class Student : ActiveRecordBase<Student>
224 The table name will be infered as 'Students'
227 - Applied patch by Ernst Naezer fixing AR-93
228 "Scaffolding / ARdatabind crash when Typeof is not supplied in the HasMany attribute."
230 - Applied Lee Henson's patch fixing AR-88
231 "Move GetFieldOrPropertyValue from ConfirmationValidator to AbstractValidator"
233 - Applied Lee Henson's patch fixing AR-86
234 "Expose DetachedCriteria on ActiveRecordBase<T>.SlicedFindAll"
236 - Fixed AR-84: ActiveRecord TransactionScope should export interface to set IsolationLevel
237 Now you can specify the isolation level when you create a TransactionScope
239 - Applied Carlos Ble's patch adding Replicate support to ActiveRecordBase
241 - Moved ProjectionQuery and ScalarProjectionQuery to Castle.ActiveRecord.Queries, with the rest of the queries.
243 - Added untyped projection support, using just ProjectionQuery<Post>, which uses object[] tuples.
245 - Added real projection support, which allows the following code:
246 ProjectionQuery<Post, PostTitleAndId> proj = new ProjectionQuery<Post, PostTitleAndId>(
247 Projections.Property("Title"), Projections.Property("Id"));
248 ICollection<PostTitleAndId> posts = proj.Execute();
249 foreach(PostTitleAndId titleAndId in posts)
251 PostsList.Add( new ListItem(titleAndId.Title, titleAndId.Id) );
255 - Renamed ProjectionQuery<T> ScalarProjectionQuery<T>, in preperation for real projections.
257 - Added DetachCrietia support in ARBase<T>, which allows integration with NQG, and in general enables taking advantage of the full criteria API.
258 Improved methods are FindOne, FindAll, FindFirst
260 - Move to used NHibernate 1.2 rev #2352
262 - Applied Josh Robb's patch adding a check for isWeb=true on the Session module.
264 - Returned to the default lazy false behavior.
266 - Will automatically initialize entities when loading outside of scope.
268 - Removed IModelNode since it was no longer of any value.
270 - Added XML Documentation to all public/ protected methods
272 - Moved to using NHibernate 1.2 beta 1
273 IEntityPersister instead of IClassPersister
274 I had some issues with Nullables.dll support, but mainly because the hard coded version number.
275 Different DB Tests failed because of the way NHibernate changed transaction handling (more thorough cleansing of them), I manually saved the transaction executed, and they tests pass now.
277 I added type guessing to ISet<> (set), IList<> (bag), ICollection<> (bag), IDictionary<>(map)
279 The nicest new feature IMO is this:
281 ProjectionQuery<Blog, int> proj = new ProjectionQuery<Blog, int>(Projections.RowCount());
282 int rowCount = proj.Execute();
283 Assert.AreEqual(1, rowCount);
289 - Changed name of mapping files generated when isDebug=true. They now follow the NHibernate convention of name.hbm.xml
291 - Refactored: CompositeKey is not a class level attribute anymore
292 (minor breaking change)
297 public SomeClass Id { get/set }
302 public SomeClass Id { get/set }
305 - Added support for queries using the SQL language instead of HQL,
306 on classes derived from HqlBasedQuery (SimpleQuery, ScalarQuery, etc).
308 - Added ActiveRecordModel.GetModels(), which returns an array containing every registered ActiveRecordModel.
311 "Unique key on multiple columns"
313 Introduced UniqueKey on PropertyAttribute and FieldAttribute
315 - Introduced the following properties on PropertyAttribute and FieldAttribute:
322 "Allow users to specify autoImport"
324 Use the property UseAutoImport on ActiveRecordAttribute to control auto-import
326 - Resynched ActiveRecordAttribute with NHibernate <class> mapping. Added:
335 "Create property CustomPersister or Persister (Type) on ActiveRecordAttribute"
337 Added Persister property to ActiveRecordAttribute
339 - Applied Marc-André's patch fixing AR-79
340 "ValidateIsUnique not working with TransactionScope"
342 - Added XmlIgnore to IDictionary field on ARValidationBase
344 - Added support for generic abstract base class for a type hierarchy per discussions with Don
345 Morrison on IRC. The Generic Abstract Base class must conform to all the previous rules to
346 implement an abstract base class in a type hierarchy.
348 When initializing the class using the ActiveRecordStarter, you must use syntax similar to the
351 ActiveRecordStarter.Initialize( GetConfigSource(),
352 typeof(Model.GenericModel.Entity<>),
353 typeof(CompanyEntity),
354 typeof(PersonEntity));
356 Please see the GenericJoinedSubClassTestCase.cs for an example.
358 All rules about covariance and contravariance still apply.
360 - Applied Michael Morton's patch adding support to NHibernate's INamingStrategy.
361 This allow one to associate an implementation of INamingStrategy
362 through an attribute 'namingstrategytype' on activerecord config node
364 - Applied suggestion from Gokhan Altinoren fixing AR-77
365 "VisitPrimaryKey fails to generate correct <generator> xml
366 element for PrimaryKeyType.Identity when the system culture is set to Turkish"
368 - Applied Michael Morton's patch fixing AR-76
369 "SemanticVerifierVisitor Issue With NHibernate User Types"
371 - Refactored CompositeKey support. Now instead of using
374 public SomeClass Id { get/set }
377 public class SomeClass { ...
382 public SomeClass Id { get/set }
384 The old way is still supported though.
386 - Applied Freyr Magnússon's patch fixing AR-75
387 "SemanticVerifierVisitor causing fauly xml when using composit key"
389 - Added support for "ColumnPrefix" on [Nested] attribute. This change allows
390 a better usage of components, such as:
393 private String first, last;
395 [Property("first_name")] public string First { ... }
396 [Property("last_name")] public string Last { ... }
399 [ActiveRecord("children")]
401 private Name name, fatherName, motherName;
403 /* maps to database columns: first_name and last_name */
404 [Nested] Name Name { ... }
406 /* maps to database columns: father_first_name and father_last_name */
407 [Nested(ColumnPrefix="father_")] Name FatherName { ... }
409 /* maps to database columns: mother_first_name and mother_last_name */
410 [Nested(ColumnPrefix="mother_")] Name MotherName { ... }
413 - Review OneToOneAttribute test case, added one more unit test
415 - Removed OuterJoin attribute from OneToOneAttribute, replaced by Fetch property
417 - Added PropertyRef to OneToOneAttribute
419 - Applied patch to patch from josh robb - FindAllByProperty now handles null values internallly.
421 - Applied patch from josh robb - FindAllByProperty now handles null values internallly.
423 - Applied Freyr Magnússon's patch fixing misbehave related to abstract classes that defines different
424 database boundaries: "ActiveRecordStarter Initialize method assembply overloads fail
425 to add derived base types from config"
427 - Applied josh robb's patch "small fixup for length
428 validator error messages where there is only a minimum or maximum specified"
430 - Fixed AR-73: "Dynamic type adding after initialization"
432 - Added some logging. That's just a start: the idea is to increase AR verbosity
433 in order to reduce the need of debugging to diagnose problems.
435 - Refactored ActiveRecordStarter.Initialize to use ActiveRecordSectionHandler.Instance
437 - Introduced ActiveRecordSectionHandler.Instance to avoid repetitive code.
440 IConfiguration source = (IConfiguration) ConfigurationSettings.GetSection("activerecord");
442 (or similar) you can use
444 IConfiguration source = ActiveRecordSectionHandler.Instance;
446 Bare in mind that it looks for a section named "activerecord" on the configuration
447 file associated with the AppDomain, and throws an exception if it cannot be found.
449 - Applied Marc-Andre's patch fixing AR-68
450 "Make ActiveRecordValidation.ValidationErrorMessages virtual to simplify localisation"
452 - Added SessionScope.Current static property to gain access to the
453 current ISessionScope implementation
455 - Changed ISessionScope:
456 Added FlushAction property
457 Added Flush method to allow people to have more control on when to flush
459 - Applied patch by Michael Morton <mmorton@wickednite.com>. Quoting explanation:
461 Since the generic base class varies with the type parameter
462 (i.e. ActiveRecordBase<One> is not the same as ActiveRecordBase<Two>)
463 there is no easy way to specify multiple configurations using the
464 "type=" attribute. There is also no easy way to create multiple
465 subclasses as the documentation suggests for when using the non
468 However, there is an easy fix for this. Even though, for example,
469 these two base types are "different", ActiveRecordBase<One> and
470 ActiveRecordBase<Two>, they share the same generic type definition,
471 namely "ActiveRecordBase`1". With a small change to the function
472 "GetRootType" in "SessionFactoryHolder.cs" to make it look at the
473 generic type definition when dealing with a generic type, instead
474 of the generic type itself, you can once again easily access multiple databases.
477 You can now create multiple base types for each of your databases, such as...
479 class MyBaseOne<T> : ActiveRecordBase<T> { }
480 class MyBaseTwo<T> : ActiveRecordBase<T> { }
482 ... and then specify config for each by using the "type=" attribute like so ...
484 <config type="MyBaseOne`1, MyAssembly">
486 <config type="MyBaseTwo`1, MyAssembly">
489 Any subclasses of those will then get the correct configuration
490 settings. I have been using this change in my own builds for a
491 couple weeks now and it seems to be working ok. I have not
492 written any tests specifically for it, yet, but wanted to get
493 it out there in case anyone was interested.
495 - Applied patch by Brian Romanko <me@brianromanko.com> allowing the use
496 of different type for a Nested type (what NHibernate refers as a Component)
498 - Fixed AR-65: ActiveRecordBase<T> prevent users from using type inheritance
499 Refactored ActiveRecordBase<T> to extend ActiveRecordBase
500 Refactored ActiveRecordMediator<T> to extend ActiveRecordMediator
501 Could not do the same thing for the validation<T>
503 - Removed dependency on the Nullables library.
505 - Added native support for .NET 2.0 Nullables.
507 - Applied Brian Romanko <me@brianromanko.com> patch fixing enum support
509 - Fixed AR-62: DifferentDatabaseScope not switching between databases
511 - Introduced HybridWebThreadScopeInfo which, as the name implies,
512 uses both strategies to handle scope storage. Useful only for some complex scenarios
514 - Added support for RelationType.List.
516 - Simplified Exists<PkType> method on ActiveRecordBase<T>.
518 - Fixed AR-46 - OneToOne Attribute Does Not Support Specifying a Target Type
519 Added property MapType to OneToOne attribute
521 - Added ActiveRecordStarter.ResetInitializationFlag. Useful for test cases
522 that invoke Initialize multiple times
524 - Fixed AR-52 - Dont allow one to invoke Initialize more than once
526 - Added some flexibility into ActiveRecord Queries. They are now mutable,
527 which means we now have methods like 'SetParameter', 'SetParameterList' and
528 'SetRange'; and the 'Query' property is now read-write.
530 - Added support for query modifiers in ActiveRecord Queries. Any object implementing
531 IQueryModifier can be added to an ActiveRecordBaseQuery, using the
532 (protected) 'AddModifier' method. Parameters and query ranges
533 are implemented as query modifiers.
535 - Fixed AR-39: Added virtual to IsValid on ActiveRecordValidationBase/<T>
537 - Fixed AR-45: Added BindingFlags.NonPublic to DefaultBindingFlags on ActiveRecordModelBuilder
539 - Added Element to RelationAttribute, now can map relations of simple types
541 [HasMany(typeof(string), "ItemId", "Elements", Element = "Name")]
543 - Applied Antonio's patches
544 See http://forum.castleproject.org/posts/list/457.page and
545 http://forum.castleproject.org/posts/list/566.page
547 - Added Debug to IConfiguration Source. If set then XmlGenerationVisitor will save nhibernate mapping files to the AppDomain.BaseDirectory.
548 Usage: if you're the XmlConfigurationSource or the Section add the isDebug="true" attribute
550 - Added support to CompositeKeys as Foreign Keys (kudos to G. Richard Bellamy)
552 BelongsToAttribute - Added CompositeKeyColumns property.
553 HasAndBelongsToManyAttribute - Added CompositeKeyColumnKeys and CompositeKeyColumnRefs.
554 HasManyAttribute - Added CompositeKeyColumnKeys.
555 VersionAttribute - Added support for UnsavedValue.
556 SemanticVerifierVisitor - Added checks to ensure the composite key attributes are used properly.
557 XmlGenerationVisitor - Added output to support mapping the composite key attributes, as well as the unsaved-value attribute for Version.
559 In general, the changes are motivated by the need to have AR map to
560 legacy data, where composite keys are used as both primary and foreign
561 keys. The current AR support for CompositeKeys does not support
562 associations, this patch does.
564 There are some caveats when using this, which are driven by the NH
565 implementation. An assigned identifier (like all CompositeKeys and
566 many string PrimaryKeys) cannot be used to determine whether an instance
567 is detached or transient - since it's assigned by the application, it's
568 never null. Therefore, you must use another strategy, NH will misbehave
569 around the way it persists the instance to the database. That is why the
570 VersionAttribute had to have the support for UnsavedValue - the UnsavedValue
571 property of the Version is used by NH to determine the state of the instance.
573 For a discussion of the appropriate mappings and usage, see "Hibernate in Action," pgs. 330 - 335.
575 - Added SessionScopeWebModule which hooks BeginRequest and EndRequest initializing and
576 destructing a SessionScope properly. In order to use it add to httpModules section
581 <add name="ar.sessionscope" type="Castle.ActiveRecord.Framework.SessionScopeWebModule, Castle.ActiveRecord" />
585 - Added lifecycle methods that can be overriden:
592 - Applied patch from Ahmed Ghandour <aghandour@rydexinvestments.com> adding the methods
593 FetchCount and Exists to ActiveRecordBase
595 - Applied patch from Dave Godfrey fixing nested classes with relations problems (http://forum.castleproject.org/posts/list/457.page)
597 - Fixed a stack overflow exception when using IsUnique inside a session scope.
599 - You can now apply IsUnique to a property that also has PrimaryKey on it without problem.
601 - Resolved IsUnique bug with ActiveRecordValidationBase<> (it was non functional)
603 - Resolved test bugs with IsUnique for .net 1 and .net 2.
605 - Refactored query support:
606 - Introduced generic interface IActiveRecordQuery<T>, extending IActiveRecordQuery, for strongly-typed Execute() method support;
607 - Added IActiveRecordQuery.Enumerate(), for memory-intensive queries;
608 - Introduced HqlBasedQuery, decoupling ActiveRecordBaseQuery from HQL usage;
610 - Added ValidateCreditCard validation attribute.
612 - Added ValidateLength validation attribute.
614 - Added support for .Net 2.0 Connection Strings in the config file, using this method:
617 <add key="hibernate.connection.connection_string" value="ConnectionString = ${ConnectionStringKey}" />
621 <add name="ConnectionStringKey" connectionString="The Connection String"/>
624 This allows to take advantage of the connection string encryption as well as manage them using the built in tools.
626 - Added Exists<PkType>(PkType id) support to allow for checking of an object's existance
629 - Brought ActiveRecordBase.Generic inline with ActiveRecordBase feature wise.
630 Public Static Methods are now present on all ActiveRecordBase.Generic objects for common tasks such as Find, FindAll, etc.
632 <This is a breaking change.>
634 - Added support for NHibernate dynamic-update, dynamic-insert to ActiveRecordAttribute
636 - Simplified NHibernate markup generation for testing
638 Attributes are now written in one of two ways. Tags that have both an open and close
639 will have no space at the end of the attributes on the opening tag, while tags that
640 have no contents (<tag />) will be written with one space after the last attribute.
644 <openclose attrib="test" attrib2="test"></openclose>
646 <noclosetag attrib="test"/>
648 - Added ActiveRecordValidationBase<> to support validation on Generic AR classes
650 - Updated DeleteAll(Type targetType, IEnumerable pkValues) to support non int primary keys
652 - Add more hookable methods.
654 - Refactored Validation support to use NHibernate.IValidatable
656 - Brought ActiveRecordMediator.Generic inline with ActiveRecordMediator. This is a breaking
657 change (removal of a few methods/renaming of a few existing).
659 - Add import support (kudos to Dan Burnea)
660 [ActiveRecord, Import(typeof(ImportClassRow), "ImportClassRow")]
661 public class ImportClass : ActiveRecordBase
666 - Added FindAllByProperty, FindFirst and FindOne
668 - Added DeleteAll(type, where) (kudos to G. Richard Bellamy)
670 - Applied patch from Josh Robb. Added support for hooks on ActiveRecordBase<T>.
672 - DifferentDatabaseScope: so you can open a session using a different dbconnection
673 and persist your object model. Very experimental version
675 - Fixed: Support for multiple databases was completely broken.
677 - An implementation of ISessionFactoryHolder can be specified through the configuration, attribute sessionfactoryholdertype
680 - Added: ActiveRecordBase<T> - a generic form a ActiveRecordBase which relieves the need to re-write
681 all the base static methods to hide the type parameter and cast the result. Generics do it for you.
683 - Added: ActiveRecordStarter.CreateSchemaFromFile(filename) as an alternative to CreateSchema.
685 - Added: Support for composite keys - composite key class must be serializable and implement both Equals and GetHashCode.
686 Not complete support, missing the NHibernate key-many-to-one element in the composite key.
688 - Added: Support for Lazy loading class using BelongsTo. Will throw if there is a non virtual property that
691 - Closed: (AR-24) ValidationException must contain the validation error messages
693 - Support for fields in addition to properties
695 - Added [Any], [Any.MetaValue] and [HasManyToAny] attributes.
697 - Small improvement on ActiveRecordModelBuilder (less intensive on IsDefined/GetCustomAttribute)
699 - IThreadScopeInfo introduced. Two implementations: ThreadScopeInfo and WebThreadScopeInfo.
700 ThreadScopeInfo is the default implementation. You can use WebThreadScopeInfo by simply using
701 isWeb="true" on the configuration node:
703 <config isWeb="true">
706 Or you can provide your own implementation specifying the full type name
708 <config threadinfotype="my.threadinfotype, my.assembly">
714 - Transaction support: lots of minor fixes
716 - Added support for map relations.
717 Necessary to specify Index and IndexType on the HasMany (or HasAndBelongsToMany)
719 - IsUnique validator fix
725 Inner workings fully rewritten, better test cases coverage
733 Implemented support for Joined Subclasses
735 Implemented initial support for validations
741 Applied patch from John Morales (support for idbags)
747 Applied patch from John Morales (support for sets)
749 Applied suggestion and fixes from "jianxiao jiang" <jiangjianxiao@gmail.com> (NHibernateDelegate)
755 Applied patch from Luiz César Kuriki <luizck@gmail.com> in order to support NHibernate's Component feature
757 Applied modification suggested by Andrew Hallock and Craig Neuwirt in order to support HasOne relations.
763 Released (not changes to track yet)