dotnetcore-entityframework-api icon indicating copy to clipboard operation
dotnetcore-entityframework-api copied to clipboard

Id is negative number

Open sajidali2444 opened this issue 6 years ago • 0 comments

Hi, can you please give me direction what i am doing wrong here is sample public class Post: IEntityBase { public int Id{get;set;} } Id alwyas negative number on add or get what is wroing as i set database generted option to identity and kye but still is negative

sajidali2444 avatar Dec 08 '17 09:12 sajidali2444