asp.net - Identity value generation can only be used with signed integer properties -


i've created new project using asp.net 5 mvc 6 ef 7 , trying use dnx scaffold dbcontext.

this command i'm using:

dnx ef dbcontext scaffold "<connection string>" entityframework.microsoftsqlserver  --outputdir <projectdirectorytosave> --verbose 

the command fails error:

identity value generation cannot used property 'qasourceid' on entity type 'c_qatracksource' because property type 'decimal'. identity value generation can used signed integer properties.

looking @ database in table c_qatracksource looks identity field indeed decimal data type. hasn't been issue in older projects using linq-to-sql. there way database first in mvc 6 work table has it's identity field other integer?


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -