[This is preliminary documentation and is subject to change.]
Loads parcel by fetching it from the bank backened by its primary id
Namespace: NFX.DataAccess.DistributedAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax
Parameters
- tParcel
- Type:
System Type
Parcel type to load
- id
- Type: NFX.DataAccess.Distributed GDID
The unique GDID of the parcel
- shardingID (Optional)
- Type:
System Object
The ID of the entity used for sharding, i.e. a message may use ID of the item that the message relates to, so messages get sharded in the same location as their "parent" record. The parcel type T specifies the DataParcelAttirbute.GetParcelAttr(typeof(T)).ShardingParcel
- veracity (Optional)
- Type: NFX.DataAccess.Distributed DataVeracity
The level of data veracity
- cacheOpt (Optional)
- Type: NFX.DataAccess.Distributed DataCaching
The cache control options
- cacheMaxAgeSec (Optional)
- Type:
System Nullable
Int32
The maximum acceptable age of cached instance, cached data will be re-queried from backend if it is older
- session (Optional)
- Type: NFX.ApplicationModel ISession
User session, if null session will be taken from execution context. The session may be needed for policy filtering
Return Value
Type: ParcelSee Also