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
Post a Comment