NAME
Scaffold-DbContext SYNOPSIS
Scaffolds a DbContext and entity types for a database. SYNTAX
Scaffold-DbContext [-Connection] [-Provider] [-OutputDir ] [-ContextDir ] [-Context ] [-Schemas <String[]>] [-Tables <String[]>] [-DataAnnotations]
[-UseDatabaseNames] [-Force] [-Project ] [-StartupProject ] [] DESCRIPTION
Scaffolds a DbContext and entity types for a database. PARAMETERS
-Connection
The connection string to the database. Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false -Provider
The provider to use. (E.g. Microsoft.EntityFrameworkCore.SqlServer) Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false -OutputDir
The directory to put files in. Paths are relative to the project directory. Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false -ContextDir
The directory to put DbContext file in. Paths are relative to the project directory. Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false -Context
The name of the DbContext to generate. Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false -Schemas <String[]>
The schemas of tables to generate entity types for. Required? false
Position? named
Default value @()
Accept pipeline input? false
Accept wildcard characters? false -Tables <String[]>
The tables to generate entity types for. Required? false
Position? named
Default value @()
Accept pipeline input? false
Accept wildcard characters? false -DataAnnotations []
Use attributes to configure the model (where possible). If omitted, only the fluent API is used. Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false -UseDatabaseNames []
Use table and column names directly from the database. Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false -Force []
Overwrite existing files. Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false -Project
The project to use. Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false -StartupProject
The startup project to use. Defaults to the solution's startup project. Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216). INPUTS OUTPUTS RELATED LINKS
about_EntityFrameworkCore

Scaffold-DbContext 命令参数的更多相关文章

  1. linux管道命令grep命令参数及用法详解---附使用案例|grep

    功能说明:查找文件里符合条件的字符串. 语 法:grep [-abcEFGhHilLnqrsvVwxy][-A<显示列数>][-B<显示列数>][-C<显示列数>] ...

  2. Linux xargs将输出数据流转换成命令参数

    200 ? "200px" : this.width)!important;} --> 介绍 我们可以利用管道将一个命令的“标准输出”作为另一个命令的“标准输入”:但是这里的 ...

  3. 烂泥:【转】rsync命令参数详解

    本文由秀依林枫提供友情赞助,首发于烂泥行天下. rsync安装完毕后,我们可以通过rsync –help查看rysnc命令的使用.如下: 有关rsync的命令格式,在此我们就不多介绍了.如果有想了解的 ...

  4. linux mount命令参数及用法详解

    linux mount命令参数及用法详解 非原创,主要来自 http://www.360doc.com/content/13/0608/14/12600778_291501907.shtml. htt ...

  5. protoc 命令参数

    protoc 命令的获得 源码在 https://github.com/google/protobuf , 如果不想自己编译获得最新版本,则可以下载官方编译好的各个平台的,下载地址:https://g ...

  6. linux中touch命令参数修改文件的时间戳(转)

    linux中touch命令参数不常用,一般在使用make的时候可能会用到,用来修改文件时间戳,或者新建一个不存在的文件,以下是linux中touch命令参数的使用方法: touch [-acm][-r ...

  7. 【转】linux expr命令参数及用法详解

    在抓包过程中,查看某个设定时间内,数据上下行多少,用命令expr 计算! --------------------------------------------------------------- ...

  8. linux useradd(adduser)命令参数及用法详解(linux创建新用户命令)

    linux useradd(adduser)命令参数及用法详解(linux创建新用户命令) useradd可用来建立用户帐号.帐号建好之后,再用passwd设定帐号的密码.而可用userdel删除帐号 ...

  9. linux dmesg命令参数及用法详解(linux显示开机信息命令)

    linux dmesg命令参数及用法详解(linux显示开机信息命令) http://blog.csdn.net/zhongyhc/article/details/8909905 功能说明:显示开机信 ...

  10. linux sed命令参数及用法详解

    linux sed命令参数及用法详解 http://blog.csdn.net/namecyf/article/details/7336308 1. Sed简介 sed 是一种在线编辑器,它一次处理一 ...

随机推荐

  1. php中的内存管理的介绍(转)

    本篇文章给大家带来的内容是关于php中的内存管理的介绍,有一定的参考价值,有需要的朋友可以参考一下,希望对你有所帮助. 一.php内存管理概述——Zend引擎 由于计算机的内存由操作系统进行管理,所以 ...

  2. maven web工程 解决了pom.xml报错之后,maven web工程还是有个红色的叉叉 解决

    这里之前有个红色叉叉 改完了pom.xml文件之后需要:右键工程-MavenMyEclipse-Update Project 刷新Maven web 工程,即可解决此问题

  3. Matlab rgb2hsv

    >> im = imread('lake.jpg');>> imshow(im)>> hsv_im = rgb2hsv(im);>> imshow(hs ...

  4. 搭建开发环境2)Debian8 安装jdk 1.8

    1.由于Debian自带了openjava运行时需要先卸载掉 java -version //查看当前java版本 apt-get remove openjdk* //卸载当前的openjdk 2.下 ...

  5. VMWare安装

    1. VMware 的下载和安装 VMware Workstation 15 Pro for Windows(64 位)的下载地址如下: 官方试用版地址:http://www.vmware.com/c ...

  6. Selenium3+python几种定位元素的方法

    学习小结: 这里使用ChromeV73+web driver 2.46 #几种定位方式: #Autotest.py from selenium import webdriver from seleni ...

  7. linux 下 mac 地址如何查询

    cat     /sys/class/net/eth0/address

  8. PyCharm导入tensorflow包

    若是你也遇到这个问题,说明你也没有理解tensorflow到底在哪里. 当安装了anaconda3.6后,在PyCharm中设置interpreter,这个解释器决定了你在PyCharm环境中写的代码 ...

  9. Java中反射的实现方式

    所谓反射,是指在运行时状态中,获取类中的属性和方法,以及调用其中的方法的一种机制.这种机制的作用在于获取运行时才知道的类(Class)及其中的属性(Field).方法(Method)以及调用其中的方法 ...

  10. android 位置记录软件

    行者 用的百度高德的方案,没有偏移问题endomondo,咕咚,行者.endomondo是国外软件,运行稳定,但GPS记录漂移比较严重:咕咚的GPS位置记录比较准确,缺点是容易崩溃,譬如记录过程中来个 ...