I have the following installed

 

VS 2010

Dot Net Framework 4.0

Firebird 2.5.0

Dot Net Provider 2.5.1

 

I have following issues,

 

I have a Customer Table which has foreign key relationship with Person and
Address Table. I create PK values for these tables using triggers. When I
insert a record in customer table using Entity Framework all the PK's were
inserted as 0. I searched online and changed all the PK's as Identity
column, still no luck. See the sample row.

 

ID            ADDRESSID         PERSONID           ROLEID
BIRTHDATE         HIREDATE            

0              0                              0
0                              1/1/0001              1/1/0001              

 

How would you avoid zero value for all PK's. Any code snippet is much
appreciated.

 

Thanks!

 

Muthu Annamalai

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Firebird-net-provider mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to