Updated NH, Code Refactoring, made all DB transactions atomic.

Must use the Repositories with Using or else bad things will happen.
This commit is contained in:
unknown
2011-06-30 01:57:07 +05:30
parent d8ecec8bb6
commit 59909a5ee7
56 changed files with 1964 additions and 1227 deletions

View File

@ -805,28 +805,19 @@
<remarks>See http://nhforge.org/blogs/nhibernate/archive/2008/10/21/entity-name-in-action-a-strongly-typed-entity.aspx</remarks>
</member>
<member name="M:FluentNHibernate.Mapping.ClassMap`1.ApplyFilter(System.String,System.String)">
<overloads>
Applies a filter to this entity given it's name.
</overloads>
<summary>
Applies a filter to this entity given it's name.
Applies a filter to this entity given its name.
</summary>
<param name="name">The filter's name</param>
<param name="condition">The condition to apply</param>
</member>
<member name="M:FluentNHibernate.Mapping.ClassMap`1.ApplyFilter(System.String)">
<overloads>
Applies a filter to this entity given it's name.
</overloads>
<summary>
Applies a filter to this entity given it's name.
Applies a filter to this entity given its name.
</summary>
<param name="name">The filter's name</param>
</member>
<member name="M:FluentNHibernate.Mapping.ClassMap`1.ApplyFilter``1(System.String)">
<overloads>
Applies a named filter to this entity.
</overloads>
<summary>
Applies a named filter to this entity.
</summary>
@ -838,7 +829,7 @@
</member>
<member name="M:FluentNHibernate.Mapping.ClassMap`1.ApplyFilter``1">
<summary>
Applies a named filter to this one-to-many.
Applies a named filter to this entity.
</summary>
<typeparam name="TFilter">
The type of a <see cref="T:FluentNHibernate.Mapping.FilterDefinition"/> implementation
@ -1083,6 +1074,13 @@
<param name="member">Collection property</param>
<returns>Value column name</returns>
</member>
<member name="M:FluentNHibernate.Automapping.IAutomappingConfiguration.IsVersion(FluentNHibernate.Member)">
<summary>
Specifies whether the current member is a version property
</summary>
<param name="member">Candidate member</param>
<returns>Is member a version</returns>
</member>
<member name="M:FluentNHibernate.Automapping.IAutomappingConfiguration.GetMappingSteps(FluentNHibernate.Automapping.AutoMapper,FluentNHibernate.Conventions.IConventionFinder)">
<summary>
Gets the steps that are executed to map a type.
@ -1216,72 +1214,6 @@
Inverts the next boolean
</summary>
</member>
<member name="T:FluentNHibernate.CombinedAssemblyTypeSource">
<summary>
Provides types for mapping from multiple assemblies
</summary>
</member>
<member name="P:FluentNHibernate.Conventions.Inspections.IInspector.StringIdentifierForModel">
<summary>
Represents a string identifier for the model instance, used in conventions for a lazy
shortcut.
e.g. for a ColumnMapping the StringIdentifierForModel would be the Name attribute,
this allows the user to find any columns with the matching name.
</summary>
</member>
<member name="T:FluentNHibernate.Diagnostics.DiagnosticsConfiguration">
<summary>
Diagnostic logging configuration
</summary>
</member>
<member name="M:FluentNHibernate.Diagnostics.DiagnosticsConfiguration.Enable(System.Boolean)">
<summary>
Conditionally enable logging
</summary>
<param name="enable">Enable logging</param>
</member>
<member name="M:FluentNHibernate.Diagnostics.DiagnosticsConfiguration.Enable">
<summary>
Enable logging
</summary>
</member>
<member name="M:FluentNHibernate.Diagnostics.DiagnosticsConfiguration.Disable">
<summary>
Disable logging
</summary>
</member>
<member name="M:FluentNHibernate.Diagnostics.DiagnosticsConfiguration.RegisterListener(FluentNHibernate.Diagnostics.IDiagnosticListener)">
<summary>
Register a logging listener
</summary>
<param name="listener">Listener</param>
</member>
<member name="M:FluentNHibernate.Diagnostics.DiagnosticsConfiguration.OutputToConsole">
<summary>
Register a default Console.Write listener
</summary>
<returns></returns>
</member>
<member name="M:FluentNHibernate.Diagnostics.DiagnosticsConfiguration.OutputToConsole(FluentNHibernate.Diagnostics.IDiagnosticResultsFormatter)">
<summary>
Register a Console.Write listener with a custom result formatter
</summary>
<param name="formatter">Result formatter</param>
</member>
<member name="M:FluentNHibernate.Diagnostics.DiagnosticsConfiguration.OutputToFile(System.String)">
<summary>
Register a default file output listener
</summary>
<param name="path">Output path</param>
</member>
<member name="M:FluentNHibernate.Diagnostics.DiagnosticsConfiguration.OutputToFile(FluentNHibernate.Diagnostics.IDiagnosticResultsFormatter,System.String)">
<summary>
Register a file output listener with a custom result formatter
</summary>
<param name="formatter">Result formatter</param>
<param name="path">Output path</param>
</member>
<member name="M:FluentNHibernate.Cfg.Db.PersistenceConfiguration`2.Dialect(System.String)">
<summary>
Sets the database dialect. This shouldn't be necessary
@ -1506,12 +1438,10 @@
Negates the next boolean option.
</summary>
</member>
<member name="T:FluentNHibernate.Conventions.AttributeCollectionConvention`1">
<member name="T:FluentNHibernate.CombinedAssemblyTypeSource">
<summary>
Base class for attribute based conventions. Create a subclass of this to supply your own
attribute based conventions.
Provides types for mapping from multiple assemblies
</summary>
<typeparam name="T">Attribute identifier</typeparam>
</member>
<member name="T:FluentNHibernate.Conventions.IConvention`2">
<summary>
@ -1537,6 +1467,74 @@
<param name="criteria">Instace that could be supplied</param>
<returns>Apply on this target?</returns>
</member>
<member name="P:FluentNHibernate.Conventions.Inspections.IInspector.StringIdentifierForModel">
<summary>
Represents a string identifier for the model instance, used in conventions for a lazy
shortcut.
e.g. for a ColumnMapping the StringIdentifierForModel would be the Name attribute,
this allows the user to find any columns with the matching name.
</summary>
</member>
<member name="T:FluentNHibernate.Diagnostics.DiagnosticsConfiguration">
<summary>
Diagnostic logging configuration
</summary>
</member>
<member name="M:FluentNHibernate.Diagnostics.DiagnosticsConfiguration.Enable(System.Boolean)">
<summary>
Conditionally enable logging
</summary>
<param name="enable">Enable logging</param>
</member>
<member name="M:FluentNHibernate.Diagnostics.DiagnosticsConfiguration.Enable">
<summary>
Enable logging
</summary>
</member>
<member name="M:FluentNHibernate.Diagnostics.DiagnosticsConfiguration.Disable">
<summary>
Disable logging
</summary>
</member>
<member name="M:FluentNHibernate.Diagnostics.DiagnosticsConfiguration.RegisterListener(FluentNHibernate.Diagnostics.IDiagnosticListener)">
<summary>
Register a logging listener
</summary>
<param name="listener">Listener</param>
</member>
<member name="M:FluentNHibernate.Diagnostics.DiagnosticsConfiguration.OutputToConsole">
<summary>
Register a default Console.Write listener
</summary>
<returns></returns>
</member>
<member name="M:FluentNHibernate.Diagnostics.DiagnosticsConfiguration.OutputToConsole(FluentNHibernate.Diagnostics.IDiagnosticResultsFormatter)">
<summary>
Register a Console.Write listener with a custom result formatter
</summary>
<param name="formatter">Result formatter</param>
</member>
<member name="M:FluentNHibernate.Diagnostics.DiagnosticsConfiguration.OutputToFile(System.String)">
<summary>
Register a default file output listener
</summary>
<param name="path">Output path</param>
</member>
<member name="M:FluentNHibernate.Diagnostics.DiagnosticsConfiguration.OutputToFile(FluentNHibernate.Diagnostics.IDiagnosticResultsFormatter,System.String)">
<summary>
Register a file output listener with a custom result formatter
</summary>
<param name="formatter">Result formatter</param>
<param name="path">Output path</param>
</member>
<member name="T:FluentNHibernate.Conventions.AttributeCollectionConvention`1">
<summary>
Base class for attribute based conventions. Create a subclass of this to supply your own
attribute based conventions.
</summary>
<typeparam name="T">Attribute identifier</typeparam>
</member>
<member name="M:FluentNHibernate.Conventions.AttributeCollectionConvention`1.Apply(`0,FluentNHibernate.Conventions.Instances.ICollectionInstance)">
<summary>
Apply changes to a property with an attribute matching T.
@ -2010,6 +2008,70 @@
Applies to the joining table for this many-to-many.
</summary>
</member>
<member name="M:FluentNHibernate.Conventions.Instances.IManyToManyCollectionInstance.ApplyFilter(System.String,System.String)">
<summary>
Applies a filter to this relationship given its name.
</summary>
<param name="name">The filter's name</param>
<param name="condition">The condition to apply</param>
</member>
<member name="M:FluentNHibernate.Conventions.Instances.IManyToManyCollectionInstance.ApplyFilter(System.String)">
<summary>
Applies a filter to this relationship given its name.
</summary>
<param name="name">The filter's name</param>
</member>
<member name="M:FluentNHibernate.Conventions.Instances.IManyToManyCollectionInstance.ApplyFilter``1(System.String)">
<summary>
Applies a named filter to this relationship.
</summary>
<param name="condition">The condition to apply</param>
<typeparam name="TFilter">
The type of a <see cref="T:FluentNHibernate.Mapping.FilterDefinition"/> implementation
defining the filter to apply.
</typeparam>
</member>
<member name="M:FluentNHibernate.Conventions.Instances.IManyToManyCollectionInstance.ApplyFilter``1">
<summary>
Applies a named filter to this relationship.
</summary>
<typeparam name="TFilter">
The type of a <see cref="T:FluentNHibernate.Mapping.FilterDefinition"/> implementation
defining the filter to apply.
</typeparam>
</member>
<member name="M:FluentNHibernate.Conventions.Instances.IClassInstance.ApplyFilter(System.String,System.String)">
<summary>
Applies a filter to this entity given its name.
</summary>
<param name="name">The filter's name</param>
<param name="condition">The condition to apply</param>
</member>
<member name="M:FluentNHibernate.Conventions.Instances.IClassInstance.ApplyFilter(System.String)">
<summary>
Applies a filter to this entity given its name.
</summary>
<param name="name">The filter's name</param>
</member>
<member name="M:FluentNHibernate.Conventions.Instances.IClassInstance.ApplyFilter``1(System.String)">
<summary>
Applies a named filter to this entity.
</summary>
<param name="condition">The condition to apply</param>
<typeparam name="TFilter">
The type of a <see cref="T:FluentNHibernate.Mapping.FilterDefinition"/> implementation
defining the filter to apply.
</typeparam>
</member>
<member name="M:FluentNHibernate.Conventions.Instances.IClassInstance.ApplyFilter``1">
<summary>
Applies a named filter to this entity.
</summary>
<typeparam name="TFilter">
The type of a <see cref="T:FluentNHibernate.Mapping.FilterDefinition"/> implementation
defining the filter to apply.
</typeparam>
</member>
<member name="M:FluentNHibernate.Conventions.Instances.IManyToOneInstance.LazyLoad">
<summary>
Specify the lazy behaviour of this relationship.
@ -2070,6 +2132,38 @@
LazyLoad(Laziness.NoProxy);
</example>
</member>
<member name="M:FluentNHibernate.Conventions.Instances.IOneToManyCollectionInstance.ApplyFilter(System.String,System.String)">
<summary>
Applies a filter to this relationship given its name.
</summary>
<param name="name">The filter's name</param>
<param name="condition">The condition to apply</param>
</member>
<member name="M:FluentNHibernate.Conventions.Instances.IOneToManyCollectionInstance.ApplyFilter(System.String)">
<summary>
Applies a filter to this relationship given its name.
</summary>
<param name="name">The filter's name</param>
</member>
<member name="M:FluentNHibernate.Conventions.Instances.IOneToManyCollectionInstance.ApplyFilter``1(System.String)">
<summary>
Applies a named filter to this relationship.
</summary>
<param name="condition">The condition to apply</param>
<typeparam name="TFilter">
The type of a <see cref="T:FluentNHibernate.Mapping.FilterDefinition"/> implementation
defining the filter to apply.
</typeparam>
</member>
<member name="M:FluentNHibernate.Conventions.Instances.IOneToManyCollectionInstance.ApplyFilter``1">
<summary>
Applies a named filter to this relationship.
</summary>
<typeparam name="TFilter">
The type of a <see cref="T:FluentNHibernate.Mapping.FilterDefinition"/> implementation
defining the filter to apply.
</typeparam>
</member>
<member name="M:FluentNHibernate.Conventions.Instances.ISubclassInstance.Extends``1">
<summary>
(optional) Specifies the entity from which this subclass descends/extends.
@ -2676,11 +2770,12 @@
</summary>
<returns>Fluent mappings configuration</returns>
</member>
<member name="M:FluentNHibernate.Cfg.AutoMappingsContainer.Apply(NHibernate.Cfg.Configuration)">
<member name="M:FluentNHibernate.Cfg.AutoMappingsContainer.Apply(NHibernate.Cfg.Configuration,FluentNHibernate.PersistenceModel)">
<summary>
Applies any added mappings to the NHibernate Configuration
</summary>
<param name="cfg">NHibernate Configuration instance</param>
<param name="model"></param>
</member>
<member name="P:FluentNHibernate.Cfg.AutoMappingsContainer.WasUsed">
<summary>
@ -3048,6 +3143,82 @@
<param name="config">Database configuration instance</param>
<returns>Fluent configuration</returns>
</member>
<member name="M:FluentNHibernate.Cfg.FluentConfiguration.Cache(System.Action{FluentNHibernate.Cfg.Db.CacheSettingsBuilder})">
<summary>
Configure caching.
</summary>
<example>
Cache(x =>
{
x.UseQueryCache();
x.UseMinimalPuts();
});
</example>
<param name="cacheExpression">Closure for configuring caching</param>
<returns>Configuration builder</returns>
</member>
<member name="M:FluentNHibernate.Cfg.FluentConfiguration.CollectionTypeFactory(System.String)">
<summary>
Sets the collectiontype.factory_class property.
NOTE: NHibernate 2.1 only
</summary>
<param name="collectionTypeFactoryClass">factory class</param>
<returns>Configuration</returns>
</member>
<member name="M:FluentNHibernate.Cfg.FluentConfiguration.CollectionTypeFactory(System.Type)">
<summary>
Sets the collectiontype.factory_class property.
NOTE: NHibernate 2.1 only
</summary>
<param name="collectionTypeFactoryClass">factory class</param>
<returns>Configuration</returns>
</member>
<member name="M:FluentNHibernate.Cfg.FluentConfiguration.CollectionTypeFactory``1">
<summary>
Sets the collectiontype.factory_class property.
NOTE: NHibernate 2.1 only
</summary>
<typeparam name="TCollectionTypeFactory">factory class</typeparam>
<returns>Configuration</returns>
</member>
<member name="M:FluentNHibernate.Cfg.FluentConfiguration.ProxyFactoryFactory(System.String)">
<summary>
Sets the proxyfactory.factory_class property.
NOTE: NHibernate 2.1 only
</summary>
<param name="proxyFactoryFactoryClass">factory class</param>
<returns>Configuration</returns>
</member>
<member name="M:FluentNHibernate.Cfg.FluentConfiguration.ProxyFactoryFactory(System.Type)">
<summary>
Sets the proxyfactory.factory_class property.
NOTE: NHibernate 2.1 only
</summary>
<param name="proxyFactoryFactory">factory class</param>
<returns>Configuration</returns>
</member>
<member name="M:FluentNHibernate.Cfg.FluentConfiguration.ProxyFactoryFactory``1">
<summary>
Sets the proxyfactory.factory_class property.
NOTE: NHibernate 2.1 only
</summary>
<typeparam name="TProxyFactoryFactory">factory class</typeparam>
<returns>Configuration</returns>
</member>
<member name="M:FluentNHibernate.Cfg.FluentConfiguration.CurrentSessionContext(System.String)">
<summary>
Sets the current_session_context_class property.
</summary>
<param name="currentSessionContextClass">current session context class</param>
<returns>Configuration</returns>
</member>
<member name="M:FluentNHibernate.Cfg.FluentConfiguration.CurrentSessionContext``1">
<summary>
Sets the current_session_context_class property.
</summary>
<typeparam name="TSessionContext">Implementation of ICurrentSessionContext to use</typeparam>
<returns>Configuration</returns>
</member>
<member name="M:FluentNHibernate.Cfg.FluentConfiguration.Mappings(System.Action{FluentNHibernate.Cfg.MappingConfiguration})">
<summary>
Apply mappings to NHibernate
@ -3144,11 +3315,11 @@
</summary>
<returns>Fluent mappings configuration</returns>
</member>
<member name="M:FluentNHibernate.Cfg.FluentMappingsContainer.Apply(NHibernate.Cfg.Configuration)">
<member name="M:FluentNHibernate.Cfg.FluentMappingsContainer.Apply(FluentNHibernate.PersistenceModel)">
<summary>
Applies any added mappings to the NHibernate Configuration
</summary>
<param name="cfg">NHibernate Configuration instance</param>
<param name="model">PersistenceModel to alter</param>
</member>
<member name="P:FluentNHibernate.Cfg.FluentMappingsContainer.Conventions">
<summary>
@ -3621,6 +3792,12 @@
</remarks>
<param name="type">Custom type</param>
</member>
<member name="M:FluentNHibernate.Mapping.DiscriminatorPart.SqlType(System.String)">
<summary>
Specifies a custom SQL type for the discriminator.
</summary>
<param name="type">Custom SQL type.</param>
</member>
<member name="P:FluentNHibernate.Mapping.DiscriminatorPart.Not">
<summary>
Invert the next boolean operation

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff