Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Node"/> class. This constructor is designed to be used for helping an instance verify whether the related
 /// data entity has changed between population and re-saving, if ever attempted.
 /// </summary>
 /// <param name="concurrencyToken">The concurrency token.</param>
 /// <param name="id">The id.</param>
 protected Node(IConcurrencyToken concurrencyToken, HiveId id) : this(id)
 {
     ConcurrencyToken = concurrencyToken;
     Id = id;
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Node"/> class. This constructor is designed to be used for helping an instance verify whether the related
 /// data entity has changed between population and re-saving, if ever attempted.
 /// </summary>
 /// <param name="concurrencyToken">The concurrency token.</param>
 /// <param name="id">The id.</param>
 protected Node(IConcurrencyToken concurrencyToken, HiveId id) : this(id)
 {
     ConcurrencyToken = concurrencyToken;
     Id = id;
 }