<commit_before># NHibernate.HierarchyId

Adds support for MS SQL HierarchyId type to NHibernate

## Implementation status

* [GetAncestor](http://msdn.microsoft.com/library/bb677202.aspx) - implemented
* [GetDescendant](http://msdn.microsoft.com/library/bb677209.aspx) - implemented
* [GetLevel](http://msdn.microsoft.com/library/bb677197.aspx) - implemented
* [GetRoot](http://msdn.microsoft.com/library/bb677194.aspx) - not implemented
* [IsDescendantOf](http://msdn.microsoft.com/library/bb677203.aspx) - implemented
* [Parse](http://msdn.microsoft.com/library/bb677201.aspx) - implemented
* [Read](http://msdn.microsoft.com/library/bb677205.aspx) - not implemented
* [GetReparentedValue](http://msdn.microsoft.com/library/bb677207.aspx) - implemented
* [ToString](http://msdn.microsoft.com/library/bb677195.aspx) - implemented
* [Write](http://msdn.microsoft.com/library/bb677196.aspx) - not implemented
<commit_msg>changed readme.md<commit_after># NHibernate.HierarchyId

Adds support for MS SQL [HierarchyId](http://msdn.microsoft.com/library/bb677290.aspx) type to NHibernate 3

## Implementation status

* [GetAncestor](http://msdn.microsoft.com/library/bb677202.aspx) - (HQL / Linq / QueryOver)
* [GetDescendant](http://msdn.microsoft.com/library/bb677209.aspx) - (HQL /Linq / QueryOver)
* [GetLevel](http://msdn.microsoft.com/library/bb677197.aspx) - (HQL / Linq / QueryOver)
* [GetRoot](http://msdn.microsoft.com/library/bb677194.aspx) - not implemented
* [IsDescendantOf](http://msdn.microsoft.com/library/bb677203.aspx) - (HQL / Linq / QueryOver)
* [Parse](http://msdn.microsoft.com/library/bb677201.aspx) - (HQL / Linq / QueryOver)
* [Read](http://msdn.microsoft.com/library/bb677205.aspx) - not implemented
* [GetReparentedValue](http://msdn.microsoft.com/library/bb677207.aspx) - (HQL / Linq / QueryOver)
* [ToString](http://msdn.microsoft.com/library/bb677195.aspx) - (HQL / Linq / QueryOver)
* [Write](http://msdn.microsoft.com/library/bb677196.aspx) - not implemented


## Usage

For use all of this methods you must first register extensions in NH config:

	using NHibernate.HierarchyId;
	...
	HierarchyIdExtensions.RegisterTypes(NHibernateConfigInstance)


_For methods usage please see [Samples](master/Samples) folder_
{'fraction_non_alphanumeric': 0.1566265060240964, 'fraction_numerical': 0.05667112896028559, 'mean_word_length': 4.978666666666666, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1236678', 'n_tokens_mistral': 895, 'n_tokens_neox': 747, 'n_words': 113}