zoukankan      html  css  js  c++  java
  • EF基础命令

    PM> get-help entityframework
    TOPIC
    about_EntityFramework

    SHORT DESCRIPTION
    Provides information about Entity Framework commands.

    LONG DESCRIPTION
    This topic describes the Entity Framework commands. Entity Framework is
    Microsoft's recommended data access technology for new applications.

    The following Entity Framework cmdlets are used with Entity Framework
    Migrations.

    Cmdlet Description
    ----------------- ---------------------------------------------------
    Enable-Migrations Enables Code First Migrations in a project.

    Add-Migration Scaffolds a migration script for any pending model
    changes.

    Update-Database Applies any pending migrations to the database.

    Get-Migrations Displays the migrations that have been applied to
    the target database.

    The following Entity Framework cmdlets are used by NuGet packages that
    install Entity Framework providers. These commands are not usually used as
    part of normal application development.

    Cmdlet Description
    ------------------------------ ---------------------------------------
    Add-EFProvider Adds or updates an Entity Framework
    provider entry in the project config
    file.

    Add-EFDefaultConnectionFactory Adds or updates an Entity Framework
    default connection factory in the
    project config file.

    Initialize-EFConfiguration Initializes the Entity Framework
    section in the project config file and
    sets defaults.

    SEE ALSO
    Enable-Migrations
    Add-Migration
    Update-Database
    Get-Migrations

  • 相关阅读:
    导入导出excel
    sql里的常用方法
    mybatis_plus
    Shiro框架从入门到实战
    PHP面向对象程序设计(视频学习)
    Java爬虫技术快速入门
    微信公众号开发客服消息与模板消息开发(视频java版)
    微信小程序从基础到实战完整视频教程
    微信扫码支付视频课程(Java版)
    支付宝web商城支付(视频java版)
  • 原文地址:https://www.cnblogs.com/suzixuan/p/8605095.html
Copyright © 2011-2022 走看看