Build 4.0.4.GA
=============================
** Bug
* [NH-3795] - C# compiler "Roslyn" regression
Build 4.0.3.GA
=============================
** Bug
* [NH-2504] - Can't use Cacheable with Group By
* [NH-3457] - TemplatedViolatedConstraintNameExtracter.ExtractUsingTemplate calls Substring with wrong arguments
* [NH-3468] - InvalidCastException when deleting entities containing uninitialized lazy components
* [NH-3573] - Query cache statistics not updated when using MultiCriteria
* [NH-3731] - Unable to serialize session after modifying the index of entities in a list
Build 4.0.2.GA
=============================
** Bug
* [NH-2779] - Session.Get() can throw InvalidCastException when log-level is set to DEBUG
* [NH-2782] - Linq: selecting into a new array doesn't work
* [NH-2831] - NH cannot load mapping assembly from GAC
* [NH-3049] - Mapping by code to Field not working
* [NH-3222] - NHibernate Futures passes empty tuples to ResultSetTransformer
* [NH-3650] - ComponentAsId<T> used more than once, cache first mapping and produces subsequently a sql select wrong
* [NH-3709] - Fix Reference to One Shot Delete and Inverse Collections
* [NH-3710] - Use of SetLockMode with DetachedCriteria causes null reference exception
** Task
* [NH-3697] - Ignore Firebird in NHSpecificTest.NH1981
* [NH-3698] - NHSpecificTest.NH1989 fails for some drivers
Build 4.0.1.GA
=============================
** Bug
* [NH-3102] - Wrong mapping produced by Map
* [NH-3214] - PropertyContainerCustomizer.Bag() throws NullReferenceException when mapping a property of type IList
* [NH-3575] - DefaultReadOnly not working for Future() queries
* [NH-3656] - Firebird doesn't accept Currency as parameter type
* [NH-3667] - MappingByCode produce wrong table field name 'idx' in Dictionary<,> mappings
* [NH-3679] - SchemaExport.Create(false, false) does not write to file specified via SchemaExport.SetOutputFile
* [NH-3691] - All dialect checks in NHSpecificTest.NH1487.Fixture are broken
* [NH-3692] - TypedManyToOneTest is broken for Firebird
* [NH-3694] - Criteria or QueryOver with join to components collection does not return data. It worked in NH 3.3.
* [NH-3695] - NHSpecificTest.NH1845 fails for some Dialects
* [NH-3696] - Connection pooling + Multi threraded tests
* [NH-3701] - NHSpecificTest.NH2302 Fails under Firebird
** Improvement
* [NH-3604] - Map ByCode fails when property is protected (not public)
* [NH-3687] - Change Id mapping of TimesheetEntry from native to assigned
* [NH-3688] - Modify NHSpecificTest.NH1391 so that it doesn't depend on preknown id values
* [NH-3690] - Add LEFT function to Firebird
** Patch
* [NH-3383] - Fix for multiple objects of CascadeStyle in Memory that should be singleton
* [NH-3577] - Fix in SessionFactory.Statistics.LogSummary() method to show 0 milisecond as MaxQueryTime when no query was executed, instead of -922337203685477
** Task
* [NH-3085] - Document enhanced id generators
* [NH-3660] - Ignore Firebird in DtcFailuresFixture
* [NH-3689] - Ignore Firebird in NHSpecificTest.NH1171
Build 4.0.0.GA
=============================
** Known BREAKING CHANGES from NH3.3.3.GA to 4.0.0.GA
NHibernate now targets .Net 4.0. Many uses of set types from Iesi.Collections have
now been changed to use corresponding types from the BCL. The API for these types
are slightly different.
Support for persistent non-generic collections removed. Use the generic counterparts instead.
##### Possible Breaking Changes #####
* IDeleteEventListener, IEventSource: Use generic ISet<> instead of non-generic in method signatures.
* SqlString.Parts removed. Use SqlString.Count and SqlString.GetEnumerator().
* IPersistentCollection.GetSnapshot() now returns object instead of ICollection. The snapshot should be opaque to outside code.
* Removed IsDiscriminatorFormula, DiscriminatorFormula and GenerateSelectString from UnionSubclassEntityPersister class.
* Removed ManagedWebSessionContext. Any configuration files which use the "managed_web" session context should now use "web"
* SybaseASADialect removed: Use SybaseSQLAnywhere10Dialect instead.
* ASA10ClientDriver, ASAClientDriver and SQLiteDriver removed: Use SybaseSQLAnywhereDriver, SybaseAsaClientDriver, SQLite20Driver instead.
* Removed Classic HQL Parser.
* Removed IQueryTranslatorFactory2. It's methods were pulled up to IQueryTranslatorFactory. Method CreateQueryTranslators accepting string as first argument marked as Obsolete.
* IQueryExpression.Translate now has second boolean argument 'filter'
* Added several methods which accepts IQueryExpression to ISessionImplementor, which is duplicating methods which accepts string.
* Miss-spelled AdoNetWithDistrubtedTransactionFactory removed: Use AdoNetWithDistributedTransactionFactory instead
* HqlDistinctHolder removed: Use HqlExpressionSubTreeHolder instead
* DisableLogFormattedSql method removed: the default is disabled
* ISession.SaveOrUpdateCopy removed: Use Merge instead
* Oracle and MySQL: The atan2 and power functions now return double (instead of single) for consistency with other dialects.
* Removed FirebirdDriver. It was the same as FirebirdClientDriver since 3.2, and the latter have been the default since then.
* Removed bunch of unused methods on *Helper classes
* Static fields on NHibernateUtil are declared as their exact class
From NH4.0.0.Alpha1 to 4.0.0.Alpha2:
Fixed mapping by code behaviour when map child subclasses (see NH-3135 and NH-3269)
The constructor of AbstractComponentTuplizer now behaves like AbstractEntityTuplizer in the way
that it doesn't create the instantiator any more. Custom component tuplizers that derive
directly from AbstractComponentTuplizer need to add this line of code in their constructor:
instantiator = BuildInstantiator(component);
From NH4.0.0.Alpha2 to 4.0.0.CR1:
The interface IEnhancedProjection was removed and its methods moved to IProjection.
Two other overloads of the GetColumnAliases() methods was removed from IProjection.
* [NH-2290] Invalid hql parenthesis expansion in generated sql
Unary minus before parentheses in HQL lost the parentheses when translated
to SQL and therefore the wrong value was returned. This use of unary minus is now
implemented in the mathematically correct way.
** Bug
* [NH-3638] - Mapping-by-code is occasionally picking the wrong column name
* [NH-3654] - Internal access of PersistentGenericBag removed
** Improvement
* [NH-3415] - Add Overload to IGeneratorMapper.Params That Receives a Dictionary
* [NH-3657] - Map By Code - One to One Missing Class Action
** Patch
* [NH-3529] - Add linqtohql.generatorsregistry to nhibernate-configuration.xsd
Build 4.0.0.CR1
=============================
** Bug
* [NH-3455] - QueryOver + selecting a component + OrderBy = wrong OrderBy in SQL
* [NH-3581] - nhibernate.everything.sln doesn't compile
* [NH-3587] - Parameters within a select clause
* [NH-3620] - ORA-01483 when inserting two blobs and a date using the OracleManagedDataClientDriver
* [NH-3624] - broken insert statement with select
* [NH-3629] - Translation of string.IndexOf() in Linq is broken for firebird
* [NH-3641] - Missing Outer Join
* [NH-3642] - PostgreSQL: Support LINQ DateTime.Date in select clause
* [NH-3649] - Missing support for round() in SQLite and SQL Server CE dialects (affected criteria queries)
** Improvement
* [NH-3623] - Add FirebirdExceptionConverterExample
* [NH-3
没有合适的资源?快使用搜索试试~ 我知道了~
c# NHibernate 连接数据库
共67个文件
xml:14个
cs:13个
dll:6个
2星 需积分: 42 55 下载量 124 浏览量
2016-04-22
10:20:57
上传
评论
收藏 5.54MB RAR 举报
温馨提示
在c#中,创建一个winForm窗口,通过NHibernate连接数据库,实现对数据库文件的增删改查的基本操作,
资源推荐
资源详情
资源评论
收起资源包目录
数据库.rar (67个子文件)
数据库
数据库.sln 917B
packages
repositories.config 128B
Iesi.Collections.4.0.1.4000
Iesi.Collections.4.0.1.4000.nupkg 15KB
lib
net40
Iesi.Collections.xml 38KB
Iesi.Collections.dll 14KB
NHibernate.4.0.4.4000
NHibernate.releasenotes.txt 180KB
NHibernate.license.txt 24KB
ConfigurationTemplates
SQLite.cfg.xml 691B
SybaseSQLAnywhere.cfg.xml 823B
MySql.cfg.xml 782B
SybaseASE.cfg.xml 823B
PostgreSQL.cfg.xml 746B
Oracle.cfg.xml 939B
MSSQL.cfg.xml 798B
FireBird.cfg.xml 1KB
NHibernate.4.0.4.4000.nupkg 1.4MB
NHibernate.readme.html 4KB
nhibernate-configuration.xsd 9KB
lib
net40
NHibernate.xml 2.24MB
NHibernate.dll 3.17MB
nhibernate-mapping.xsd 65KB
FluentNHibernate.2.0.3.0
FluentNHibernate.2.0.3.0.nupkg 756KB
lib
net40
FluentNHibernate.XML 288KB
FluentNHibernate.dll 544KB
FluentNHibernate.pdb 2.41MB
数据库
Form1.Designer.cs 7KB
Program.cs 521B
packages.config 303B
obj
Debug
数据库.csproj.GenerateResource.Cache 975B
TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs 0B
数据库.csproj.FileListAbsolute.txt 1KB
数据库.pdb 38KB
数据库.Form1.resources 180B
DesignTimeResolveAssemblyReferencesInput.cache 7KB
TempPE
数据库.csprojResolveAssemblyReference.cache 23KB
TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs 0B
TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs 0B
DesignTimeResolveAssemblyReferences.cache 863B
数据库.Properties.Resources.resources 180B
数据库.exe 16KB
bin
Debug
FluentNHibernate.xml 288KB
数据库.exe.config 187B
数据库.vshost.exe.config 187B
数据库.pdb 38KB
FluentNHibernate.dll 544KB
NHibernate.xml 2.24MB
数据库.vshost.exe.manifest 490B
Iesi.Collections.xml 38KB
数据库.vshost.exe 22KB
NHibernate.dll 3.17MB
Iesi.Collections.dll 14KB
数据库.exe 16KB
FluentNHibernate.pdb 2.41MB
Form1.cs 2KB
NHibernateHelper.cs 1KB
Form1.resx 6KB
App.config 187B
数据库.csproj 4KB
DB
User.cs 338B
UserManage.cs 4KB
UserMap.cs 485B
Properties
AssemblyInfo.cs 1KB
Settings.Designer.cs 1KB
Resources.resx 5KB
Settings.settings 249B
Resources.Designer.cs 3KB
数据库.v11.suo 38KB
共 67 条
- 1
资源评论
- 大法2018-08-08报错!!差评
- sw7737424862016-12-09An unhandled exception of type 'FluentNHibernate.Cfg.FluentConfigurationException' occurred in FluentNHibernate.dll Additional information: An invalid or incomplete configuration was used while creating a SessionFactory. Check PotentialReasons collection, and InnerException for more detail. 这个怎么办啊
- gaoili4202019-12-02有乱码,放弃
- 啦啦啦啦321542018-01-31中文乱码都没有解决
天涯过客TYGK
- 粉丝: 242
- 资源: 37
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功