Getting started operation EF-

 EntityFramework Core

understanding 

  • DbContext: Database 
  • DbSet: database table
  • Model: data line
  • IQueryable <Model> query result set
  • Lamada: where conditions
  • Selet: the development of information query column
  • Count: the number of eligible
  • Add :Insert
  • Remove: you do
  • Model-Change :Update
  • Tolist (): execute the query

Guess you like

Origin www.cnblogs.com/lazy-coder/p/11938844.html