Dear All;

I want to make Row Based Security with Nhibernate Filters. I created
filters but filter has sql error.

public class RequisitionLineRestriction : FilterDefinition
        {
            public RequisitionLineRestriction()
            {
                this.WithName("RequisitionLine")

.WithCondition("Requisition.Department.Company.CompanyId IN(:Company)")
                    .AddParameter("Company", NHibernateUtil.String);
            }
        }

This is my Filter Definitions.

I want to use filter  with Field hierarchy. Is it possible if this is
possible can you send example code.

Best Regards......


-- 
Atilla İlhan KARTAL
Web Application & Software Architect
(Java & PHP & Registered Android Developer)
Kuşadası / Aydın / Turkey
www.atillailhankartal.com.tr
twitter.com/TrojanMyth

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/nhusers?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to