忽略Nhibernate中的模型属性

时间:2014-05-08 04:28:41

标签: entity-framework nhibernate fluent-nhibernate fluent-nhibernate-mapping fluent-interface

我刚开始研究Nhibernate。目前我在Entity Framework中有代码,我想将其转换为Nhibernate Fluent Mapping。

我在Entity FrameWork中有以下代码。能告诉我如何在Nhibernte Fluent Mapping中转换这些忽略属性。

this.Ignore(o => o.OrderStatus);
this.Ignore(o => o.PaymentStatus);
this.Ignore(o => o.ShippingStatus);
this.Ignore(o => o.CustomerTaxDisplayType);
this.Ignore(o => o.TaxRatesDictionary);

0 个答案:

没有答案