English 中文(简体)
NHibernate new SchemaExport(cfg). 惩罚(诽谤、真实、虚假、虚假); 无第四个 b子
原标题:NHibernate new SchemaExport(cfg).Execute(false, true, false, false); No fourth bool parameter
  • 时间:2010-07-01 16:38:55
  •  标签:
  • nhibernate

I m 试图追随NHibernate tutorial,“Your first NHibernate based applicaton:Revision #4” at NHibernate Forge。

但行文如下:new SchemaExport(cfg)。 消费(真实、虚假、虚假);

不会编纂成册,因为它说,没有超负荷,需要四台ool子。

I am using NHibernate 2.1.2 in Visual Studio 2008 C#. All the samples I have seen clearly use this call with four boolean parameters. Has something changed in the latest version of NHibernate with the call to SchemaExport()?

我试图在我的数据库中以测试方法制作一个简单的表格。 我将2008年5月5日MSQ号作为我的数据库。 我尝试了<代码>Create(true, real)的电话,至少是汇编和操作,但表格似乎从未在数据库中坚持。

问题回答

增列本项目:

using NHibernate.Tool.hbm2ddl;




相关问题
nHibernate one-to-many inserts but doesnt update

Instead of getting into code, I have a simple question. Default behavior for a simple one-to-many is that it inserts the child record then updates the foreign key column with the parent key. Has ...

How Do I copy an existing nhibernate object as a new object?

I a persisted NHibernate object that I would like to repersist as a new entity. How do I get NHibernate to save this object as if it was a new? I am thinking I might create a session interceptor to ...

join across databases with nhibernate

I am trying to join two tables that reside in two different databases. Every time, I try to join I get the following error: An association from the table xxx refers to an unmapped class. If the ...

WPF - MVVM - NHibernate Validation

Im facing a bit of an issue when trying to validate a decimal property on domain object which is bound to a textbox on the view through the viewmodel. I am using NHibernate to decorate my property on ...

NHibernate Search in a List using ICriteria

I have my class X : public class ClassX { public virtual IList<ClassY> ListY { get; set; } ... } My ClassX mapping (using Fluent) ... HasMany<ClassX>(x => x.ListY ) ....

热门标签