Click or drag to resize

BsonValueDbRef Method

Create a new document used in DbRef => { $id: id, $ref: collection }

Namespace: Internal.LiteDB
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public static BsonDocument DbRef(
	BsonValue id,
	string collection
)

Parameters

id  BsonValue
 
collection  String
 

Return Value

BsonDocument
See Also