C # SQL database entity class corresponding to the growth of self-ID how to set?

        ///  <Summary> 
        /// growth since ID
         ///  </ Summary> 
        [DatabaseGenerated (DatabaseGeneratedOption.Identity)]   // if the database is provided from growth, to increase this, or can not modify the state update 
        public  int FID { GET ; SET ;}

 

 

Guess you like

Origin www.cnblogs.com/firstcsharp/p/11647977.html