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. python-文件锁

    文件锁(fcntl) fcntl这个模块是Python自带的,但Windows没有,可以手工下载fcntl.py文件,然后保存到python的Lib目录下 锁类型(fcntl.flock函数的第二个参 ...

  2. 使用command line测试网速

    wget -O speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py --no ...

  3. seriviceWorker 小结

    serviceWorker 的状态 install → activate. 1.初进页面,此前未加载过serviceWorker,直接进入install状态,随后进入activate状态,但是此时se ...

  4. 非root用户安装python3

    1.下载源码 wget -c https://www.python.org/ftp/python/3.7.1/Python-3.7.1.tgz 解压: tar xzf Python-3.7.1.tgz ...

  5. 三大前端框架(react、vue、angular2+)父子组件通信总结

    公司业务需要,react.vue.angular都有接触[\无奈脸].虽然说可以拓展知识广度,但是在深度上很让人头疼.最近没事的时候回忆各框架父子组件通信,发现很模糊,于是乎稍微做了一下功课,记录于此 ...

  6. 前端开发模拟数据------webpack-api-mocker

    应用场景: 在实际的项目开发过程中,一般都会进行前后端分离的开发模式,前端通过mock或者其他的插件模拟后台返回数据的功能.在常用的webpack构建工程项目中,通过和webpack-dev-serv ...

  7. 使用getInstance()方法的原因及作用

    使用getInstance()方法的原因及作用 先举例说明: 下面是一个例子,为什么要把这个类实例化?有什么好处? //实例化 public static DBConnect instance; pu ...

  8. hive最全学习线路和实践练习

    非原创,源自:https://www.cnblogs.com/snowbook/p/5723767.html hive被大多数企业使用,学习它,利于自己掌握企业所使用的技术,这里从安装使用到概念.原理 ...

  9. window下为kibana安装x-pack时候出现Plugin installation was unsuccessful due to error "No valid url specified."错误的解决方案

    在Windows环境下为kibana安装x-pack plugin的时候,按照官网提示的安装步骤执行命令: kibana-plugin install file:///E:/software/ELK/ ...

  10. LVS-DR模式 SOP

    LVS DR SOP 1.1虚拟机地址信息LVS-DR模式DR1:172.31.0.29 DR2:172.31.0.28 RS1:172.31.0.25 RS2:172.31.0.26 lvs-cli ...