Method IsEmpty

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Bson.Serialization.IdGenerators

Assembly

MongoDB.Bson.dll

IsEmpty(object)

Tests whether an id is empty.

public bool IsEmpty(object id)

Parameters

id object

The id to test.

Returns

bool

True if the Id is empty. False otherwise