none
primary keys and store generated pattern RRS feed

  • Question

  • Hi,

    in my database first application (Firebird), the primary keys are not set to identity by default !

    any ideas why this ?


    • Edited by issam1975 Friday, April 3, 2015 6:06 AM
    Friday, April 3, 2015 6:04 AM

Answers

  • Solved !

    put #PK_GEN# as comment for your primary key and now EF import primary keys columns as identity like expeted :)

    btw, fb 3.0 and up support identity columns .

    • Marked as answer by issam1975 Saturday, April 4, 2015 12:25 PM
    Saturday, April 4, 2015 12:25 PM

All replies

  • then, is it possible to make the primary keys set to to identity from the t4 template generation file ?

    really appreciate your inputs on this

    Friday, April 3, 2015 3:41 PM
  • Solved !

    put #PK_GEN# as comment for your primary key and now EF import primary keys columns as identity like expeted :)

    btw, fb 3.0 and up support identity columns .

    • Marked as answer by issam1975 Saturday, April 4, 2015 12:25 PM
    Saturday, April 4, 2015 12:25 PM