public void NotEqProperty(string propertyName, string otherPropertyName) { Criterion = HqlRestrictions.NotEqProperty(propertyName, otherPropertyName); }