Hi all,

I have a method which receives tree parameters that holds a table name and
two columns. I would like to hit an HQL command using this information to
create an list as a result. I know how to deal with HQL but I would like to
know, how can I get the entity name and properties from these parameters,
for sample:

public IEnumerable<DropDownListDto> GetDropDownList(string tableName,
string columnValue, string columnText)
{
    string entityName = ???;
    string propertyValue =  ???;
    string propertyText = ???;

    // I have the sessionFactory instance and session here.

   // execute hql and return results
}

Is there any way to do it?

I have this parameters because it will be developed by a customer and not
by the developer team.

Thank you


-- 
______________________________________
Felipe B Oriani
[email protected]

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to