public Record(string key, string value, long syncCount, DateTime? lastModifiedDate, string lastModifiedBy, DateTime? deviceLastModifiedDate, bool modified)
{
if (string.IsNullOrEmpty(key))
{
throw new ArgumentNullException("key");
}
this._key = key;
this._value = value;
this._syncCount = syncCount;
this._lastModifiedDate = lastModifiedDate != null ? DatasetUtils.TruncateToSeconds(lastModifiedDate.Value.ToUniversalTime()) : lastModifiedDate;
this._lastModifiedBy = lastModifiedBy;
this._deviceLastModifiedDate = deviceLastModifiedDate != null ? DatasetUtils.TruncateToSeconds(deviceLastModifiedDate.Value.ToUniversalTime()) : deviceLastModifiedDate;
this._modified = modified;
}