I just want to know LazyLoading
applicable to context that generated through ADO.NET entity model's ?
this ProjectEntities
generated through ADO.NET entity model
to enable LazyLoading
I added like this
public ProjectEntities(): base("name=ProjectEntities")
{
this.Configuration.LazyLoadingEnabled = true;
}
but seems like not working
实体中引用其他实体的所有属性都应该是虚拟的。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.