Jump to content

Hi/Lo algorithm

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Frap (talk | contribs) at 16:04, 3 November 2019 (Initial article creation). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Hi/Lo is a algorithm used for generating unique keys for use in a database. It uses a sequence-based hi-lo pattern to generate values.

Support

Supported by Entity Framework Core with Microsoft SQL Server using the the UseHiLo method.[1]

Supported by Hibernate and NHibernate.

Supported by Doctrine.[2]

Supported by RavenDB.[3]

See also

References

  1. ^ "SqlServerPropertyBuilderExtensions.UseHiLo Method (Microsoft.EntityFrameworkCore)". docs.microsoft.com.
  2. ^ "Doctrine\ORM\Sequencing\TableGenerator | API". www.doctrine-project.org.
  3. ^ "HiLo Algorithm | RavenDB 4.1 Documentation". ravendb.net.