I am using SQLite as DB with Nhibernate and Fluent NHibernate. We are not 
even creating the DB file, application (Fluent ) is creating if not found 
DB. And its creating the tables when we access objects in it. 

Till now we dont have any foreign key concepts in application. Now we want 
to  add them as per new requirements, I want to use the same pattern like 
earlier.

Like, I would like to create the classes in .net project and define the 
relationship between two classes and want that table would be created with 
all relationships automatically. Like "departments" and "employees" 
relationship

I think attributes can be used.

 

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/nhusers/-/Ag62UZqlLlwJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to