1
我測試流利NH映射和我有一個問題:測試流利NH映射
代碼:
[TestMethod()]
public void FilterMapConstructorTest()
{
new PersistenceSpecification<Filter>(session)
.CheckProperty(c => c.Id, 1)
.CheckProperty(c => c.FilterValue, "1")
.CheckProperty(c => c.IdAttribute, 1)
.CheckProperty(c => c.Type, Filter.FilterType.Equals)
.VerifyTheMappings();
}
德compilator不recognice變量「會話」,我應該聲明這個,或導入任何使用?
感謝您的時間。
問候
謝謝。我要證明它。 – Tarlak