IBank Save Method NFX Class Library

[This is preliminary documentation and is subject to change.]

Saves/sends the parcel into this bank

Namespace: NFX.DataAccess.Distributed
Assembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax

void Save(
	Parcel parcel,
	DataCaching cacheOpt = DataCaching.Everywhere,
	Nullable<int> cachePriority = null,
	Nullable<int> cacheMaxAgeSec = null,
	Nullable<DateTime> cacheAbsoluteExpirationUTC = null,
	ISession session = null
)

Parameters

parcel
Type: NFX.DataAccess.Distributed Parcel
parcel instance to save
cacheOpt (Optional)
Type: NFX.DataAccess.Distributed DataCaching
The cache control options
cachePriority (Optional)
Type: OnlineSystem Nullable OnlineInt32 
The relative priority of the item in cache. If null is passed then the value is obtained from the parcel instance
cacheMaxAgeSec (Optional)
Type: OnlineSystem Nullable OnlineInt32 
Specifies the duration of parcel lifespan in cache devices. If null is passed then the value is obtained from the parcel instance
cacheAbsoluteExpirationUTC (Optional)
Type: OnlineSystem Nullable OnlineDateTime 
Specifies absolute expiration time for this parcel instance in cache. If null is passed then the value is obtained from the parcel instance
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
See Also