Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<sql-query> and <loader> support #62

Open
jagregory opened this issue Jul 21, 2011 · 2 comments
Open

<sql-query> and <loader> support #62

jagregory opened this issue Jul 21, 2011 · 2 comments
Labels
Milestone

Comments

@jagregory
Copy link
Collaborator

No description provided.

@jeremylcarter
Copy link

What is involved in getting Sql Query to work? I am interested in helping out.

@jagregory
Copy link
Collaborator Author

Adding <sql-query> support would be a fairly large task, not in terms of difficulty just breadth as it'll touch FNH end-to-end.

Completely new mappings require the following steps:

  1. Create Builder/Part class for the fluent interface
  2. Add methods to the builders that can contain the mapping (for example a property can be within a class, a subclass, a join, etc...)
  3. Create the "mapping" class, this is the semantic model representation of the mapping. This is instantiated and populated by the builder
  4. Create the mapping serializer, this transforms our semantic model into NHibernate's XML format
  5. Test all of the above!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants