Skip to main content
Amaël BERTEAU

Main navigation

  • Home
  • News
  • Software Engineering
  • Entrepreneuriat
  • Maker
  • Misc
  • Personal Projects
  • About me
    • Bio
    • Curriculum Vitae
    • Skills
    • Likes
    • My Values
    • Quotes
    • Favorite Books
    • Favorite Tools
User account menu
  • Log in

Breadcrumb

  1. Home

NHibernate

By aberteau , 11 November, 2020

Store Guid as BINARY(16) in MySQL with NHibernate

Why use BINARY type to store a GUID ?

GUID is a 128-bit (16 bytes) integer number. 

In its canonical textual representation, GUID are represented as 32 hexadecimal digits, displayed in five groups separated by hyphens, in the form 8-4-4-4-12 for a total of 36 characters (32 hexadecimal characters and 4 hyphens).

For example: 79d266c1-ca54-4bc9-9b0e-4a988fa1b1dc

Tags

  • MySQL
  • NHibernate
  • .Net
By aberteau , 28 July, 2017

Setting a base entity class to use with your favorite ORM

Source code of a base entity class to use with your favorite ORM like NHibernate or Entity Framework

Tags

  • NHibernate
  • Entity Framework
By aberteau , 22 July, 2017

Handle MySQL data types with NHibernate mapping by code

Some extension methods to handle MySQL data types with NHibernate mapping by code

Tags

  • NHibernate
  • MySQL
  • .Net
By aberteau , 21 July, 2017

Improve NHibernate QueryOver with Restrictions and ICriterion

You will discover one of the techniques to centralize and produce more comprehensive code around NHibernate QueryOver.

Tags

  • NHibernate
  • QueryOver
  • .Net
By aberteau , 21 July, 2017

Improve NHibernate QueryOver with extension methods

You will discover one of the techniques to centralize and produce more comprehensive code around NHibernate QueryOver.

Tags

  • NHibernate
  • QueryOver
  • .Net
NHibernate
RSS feed
Powered by Drupal