我們的數據庫包含4,000,000條記錄(sql server),它的物理大小爲550 MB。 數據庫中的實體以圖形樣式相互關聯。當我加載一個實體從數據庫5級深度有一個問題(所有記錄被加載)。Db4O激活深度,Faq,Web應用程序的最佳實踐
- 有沒有像實體框架的任何機構(包括( 「MyProperty.ItsProperty」))
什麼是使用db4o數據庫使用最好的類型?
Guid,Generic Collections有什麼問題嗎?
WebApplication與db4o有什麼最佳實踐嗎?會話容器+ EmbeddedDb4ODb或Client/ServerDb4O?
THX的幫助..
THX的很好的解釋。但我想給我確切的問題,作爲一個樣本: 我有三個實體:(NN關係,B是一個交集實體概念:。圖表)
class A
{
public B[] BList;
public int Number;
public R R;
}
class B
{
public A A;
public C C;
public D D;
public int Number;
}
class C
{
public B[] BList;
public E E;
public F F;
public int Number;
}
我要查詢dbContext.A.Include(」 BList.C.BList.A 「)包括(」 BList.CEG「),其中(....)
I want to get :A.BList.C.BList.A.R But I dont want to get :A.R I want to get :A.BList.C.E.G But I dont want to get :A.BList.C.F I want to get :A.BList.C.E.G But I dont want get :A.BList.D
注:此要求可查詢更改爲另一個查詢
額外問題有沒有可能加載 A.BList [@Number < 120] .C.BList.A [@編號> 100]超語法:)
新增了對答案的更新。 – Gamlor 2011-04-07 16:10:44