Discussion:
[nhusers] Mapping
Siva Prasad Nath
2017-12-12 06:36:40 UTC
Permalink
I am new to nHibernate.

Primary key in the child table as follows;
jd_id` int(11) NOT NULL,
jd_ctr` mediumint(9) NOT NULL AUTO_INCREMENT

Parent table
jm_svc_id` int(11) NOT NULL DEFAULT '0' is the foreign key sm_id` int(11)
NOT NULL AUTO_INCREMENT

Please help me to do mapping id for the child table.
--
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 nhusers+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.
Thiago Silva
2017-12-27 11:53:22 UTC
Permalink
Please read about inheritance: http://nhibernate.info/doc/
nhibernate-reference/inheritance.html

​Best Regards
,

Thiago Bezerra

On Tue, Dec 12, 2017 at 3:36 AM, Siva Prasad Nath <
Post by Siva Prasad Nath
I am new to nHibernate.
Primary key in the child table as follows;
jd_id` int(11) NOT NULL,
jd_ctr` mediumint(9) NOT NULL AUTO_INCREMENT
Parent table
jm_svc_id` int(11) NOT NULL DEFAULT '0' is the foreign key sm_id` int(11)
NOT NULL AUTO_INCREMENT
Please help me to do mapping id for the child table.
--
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
Visit this group at https://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.
--
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 nhusers+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.
Loading...