Note that there are some explanatory texts on larger screens.

plurals
  1. POUsing nNHibernate with Emitted Code
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. COit would help to see the API of your backend. If all is queried by strings then considered writing fixed classes with an EAV-model.`class Fact { public virtual int Id { get; set; } /// <summary> /// Propertyname/Value pairs /// </summary> public virtual IDictionary<string, string> Properties { get; set; } }`
      singulars
    2. COThe application interacts with clients using sockets. Clients can send in commands only two commands i.e. to update what fact we are collecting like "UPDATE_FACT_DEFINITIONS FACT_DEFINITION_XML_GOES_HERE" and query a fact i.e. "QUERY QUERY_DESCRIBED_IN_XML" After reading the fact definition file, we create appropriate fact and dimension tables and look for the desired facts in files under a known directory. The code knows the mapping between the file structure and facts. When a query is received, the code knows the tables to query, so it converts the xml to sql and returns the result.
      singulars
    3. COI just looked into EAV-model. But it seems more complex to design. It not only would consume more space but also will be lot slower apparently which I dont want :(. More importantly I want to get rid of sql statements and I have found the following blog post regarding using this approach with nHibernate [link](http://bartreyserhove.blogspot.com/2008/02/dynamic-domain-mode-using-nhibernate.html) Can you point out a better starting point?
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload