NHibernate Insert Ignore
I need use Insert Ignore for my table, which have Unique index on several fie开发者_运维知识库lds. How can i do it? Thank you
I believe insert ignore is a mysql-specific extension to SQL, which means it's not supported by most DBs.
You will need to fallback on raw SQL on this one, or make use of the exceptions thrown by NHibernate (and the underlying dialect)
精彩评论