Rewrite method to prevent SQL Injection NHibernate

I need to rewrite this method to use parameterized queries in NHibernate: static public int GetDomainId(string domainName) { string hql = string.

Related:

Leave a Reply