Example #1
0
        /// <summary>
        ///   Returns a database id : 4 longs
        /// </summary>
        /// <param name="creationDate"> </param>
        /// <returns> a 4 long array </returns>
        private static IDatabaseId GetDatabaseId(long creationDate)
        {
            var id = new[]
            {
                creationDate, UniqueIdGenerator.GetRandomLongId(), UniqueIdGenerator.GetRandomLongId(),
                UniqueIdGenerator.GetRandomLongId()
            };

            return(new DatabaseId(id));
        }