public A7Item(A7ItemType type, String id, String key, String value, int version, String creatorUserId, String creatorDeviceId, String parentId) { this.id = id; this.creationDate = DateTime.UtcNow; this.creatorDeviceId = creatorDeviceId; this.creatorRegistrarId = creatorUserId; this.key = key; this.value = value; this.version = version; this.type = type.Type; this.parentId = parentId; }
public A7Item(A7ItemType type, String key, String value, int version, String creatorUserId, String creatorDeviceId, String parentId) : this(type, System.Guid.NewGuid().ToString(), key, value, version, creatorUserId, creatorDeviceId, parentId) { }