摘要:        
1.初始化单个实体类ActiveRecordStarter.Initialize( source, typeof(User) ); 2.初始化多个实体类 1.ActiveRecordStarter.Initialize( source, typeof(Order),typeof(Product));2IConfigurationSource source = System.Configuration.ConfigurationManager.GetSection("activerecord") as IConfigurationSource; Type[] paramTyp    阅读全文
posted @ 2011-08-05 15:13
db's jim
阅读(340)
评论(1)
推荐(0)
        
            
        
        
摘要:        
1).Could not find the dialect in the configuration.如果你直接从官方网站上指引直接copy下来的话,会报此错误,官方的都不可靠啊:<add key="hibernate.connection.driver_class" value="NHibernate.Driver.SqlClientDriver" /><add key="hibernate.dialect" value="NHibernate.Dialect.MsSql2000Dialect"    阅读全文
posted @ 2011-08-05 15:09
db's jim
阅读(302)
评论(1)
推荐(0)
        
 
                     
                    
                 
                    
                
 
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号