BsonDateTimeOptionsAttributeDateOnly Property |
Gets or sets whether the DateTime consists of a Date only.
Namespace: MongoDB.Bson.Serialization.AttributesAssembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.1.0
Syntax public bool DateOnly { get; set; }
Public Property DateOnly As Boolean
Get
Set
member DateOnly : bool with get, set
Property Value
Type:
BooleanSee Also