finally version:add primary key:ApplicationId from 0 to N-1.