I'm trying to understand csla 3-tier mechanism.
Let's say I have cached NameValueList<int, string>
I would like to use it in ReadOnlyBase Fetch operation:
void DataPortal_Fetch(SomeDto dto)
{
this.Id = dto.Id;
this.TypeId = dto.TypeId;
this.TypeName = TypeList.GetList().GetTypeName(dto.TypeId);
...
}
{
this.Id = dto.Id;
this.TypeId = dto.TypeId;
this.TypeName = TypeList.GetList().GetTypeName(dto.TypeId);
...
}
where, TypeList is my cached NameValueList<int, string>.
As we know in 3-tier architecture "DataPortal_Fetch" method will be executed on server side. So TypeList.GetList() will be cached on server side. But what is the life-time of this cached list? Only during time of "DataPortal_Fetch" execution or client application execution or maybe something else?
What is scope of this list: "client application", "all client applications", or maybe something else?
nbsp;