[This is preliminary documentation and is subject to change.]
Removes the parcel from the bank returning true if parcel was found and removed
Namespace: NFX.DataAccess.DistributedAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
bool Remove(
Type tParcel,
GDID id,
Object shardingID = null,
ISession session = null
)
bool Remove(
Type tParcel,
GDID id,
Object shardingID = null,
ISession session = null
)
Function Remove (
tParcel As Type,
id As GDID,
Optional shardingID As Object = Nothing,
Optional session As ISession = Nothing
) As Boolean
Function Remove (
tParcel As Type,
id As GDID,
Optional shardingID As Object = Nothing,
Optional session As ISession = Nothing
) As Boolean
bool Remove(
Type^ tParcel,
GDID id,
Object^ shardingID = nullptr,
ISession^ session = nullptr
)
bool Remove(
Type^ tParcel,
GDID id,
Object^ shardingID = nullptr,
ISession^ session = nullptr
)
abstract Remove :
tParcel : Type *
id : GDID *
?shardingID : Object *
?session : ISession
(* Defaults:
let _shardingID = defaultArg shardingID null
let _session = defaultArg session null
*)
-> bool
abstract Remove :
tParcel : Type *
id : GDID *
?shardingID : Object *
?session : ISession
(* Defaults:
let _shardingID = defaultArg shardingID null
let _session = defaultArg session null
*)
-> bool
Parameters
- tParcel
- Type:
System Type
Type of parcel to remove
- 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.ShardingParcel
- 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:
Boolean