about_EntityFramework.help.txt 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. TOPIC
  2. about_EntityFramework
  3. SHORT DESCRIPTION
  4. Provides information about Entity Framework commands.
  5. LONG DESCRIPTION
  6. This topic describes the Entity Framework commands. Entity Framework is
  7. Microsoft's recommended data access technology for new applications.
  8. The following Entity Framework cmdlets are used with Entity Framework
  9. Migrations.
  10. Cmdlet Description
  11. ----------------- ---------------------------------------------------
  12. Enable-Migrations Enables Code First Migrations in a project.
  13. Add-Migration Scaffolds a migration script for any pending model
  14. changes.
  15. Update-Database Applies any pending migrations to the database.
  16. Get-Migrations Displays the migrations that have been applied to
  17. the target database.
  18. The following Entity Framework cmdlets are used by NuGet packages that
  19. install Entity Framework providers. These commands are not usually used as
  20. part of normal application development.
  21. Cmdlet Description
  22. ------------------------------ ---------------------------------------
  23. Add-EFProvider Adds or updates an Entity Framework
  24. provider entry in the project config
  25. file.
  26. Add-EFDefaultConnectionFactory Adds or updates an Entity Framework
  27. default connection factory in the
  28. project config file.
  29. Initialize-EFConfiguration Initializes the Entity Framework
  30. section in the project config file and
  31. sets defaults.
  32. SEE ALSO
  33. Enable-Migrations
  34. Add-Migration
  35. Update-Database
  36. Get-Migrations