Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
MongoDB
Bson
Serialization
IdGenerators
GuidGenerator
IsEmpty
MongoDB.Bson.Serialization.IdGenerators.GuidGenerator.IsEmpty C# (CSharp) Method
GuidGenerator Class Documentation
Show file
Open project: CloudMetal/mongo-csharp-driver
IsEmpty()
public
method
Tests whether an Id is empty.
public
IsEmpty
(
object
id
) :
bool
id
object
The Id.
return
bool
public bool IsEmpty(object id) { return id == null || (Guid)id == Guid.Empty; } }
GuidGenerator
GenerateId
GuidGenerator
IsEmpty