Show / Hide Table of Contents

Class RandomDateFormatEntry

The Random Date masking format generates random and unique dates within a range. The date range is defined by the startDate and endDate attributes. The start date must be less than or equal to the end date. When masking columns with uniqueness constraint, ensure that the date range is sufficient enough to generate unique values. To learn more, check Random Date in the Data Safe documentation.

Inheritance
object
FormatEntry
RandomDateFormatEntry
Inherited Members
FormatEntry.Description
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.DatasafeService.Models
Assembly: OCI.DotNetSDK.Datasafe.dll
Syntax
public class RandomDateFormatEntry : FormatEntry

Properties

EndDate

Declaration
[Required(ErrorMessage = "EndDate is required.")]
[JsonProperty(PropertyName = "endDate")]
public DateTime? EndDate { get; set; }
Property Value
Type Description
DateTime?

The upper bound of the range within which random dates should be generated. The end date must be greater than or equal to the start date.

Remarks

Required

StartDate

Declaration
[Required(ErrorMessage = "StartDate is required.")]
[JsonProperty(PropertyName = "startDate")]
public DateTime? StartDate { get; set; }
Property Value
Type Description
DateTime?

The lower bound of the range within which random dates should be generated. The start date must be less than or equal to the end date.

Remarks

Required

In this article
Back to top