Scaffold-DbContext 命令参数
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 命令参数的更多相关文章
- linux管道命令grep命令参数及用法详解---附使用案例|grep
功能说明:查找文件里符合条件的字符串. 语 法:grep [-abcEFGhHilLnqrsvVwxy][-A<显示列数>][-B<显示列数>][-C<显示列数>] ...
- Linux xargs将输出数据流转换成命令参数
200 ? "200px" : this.width)!important;} --> 介绍 我们可以利用管道将一个命令的“标准输出”作为另一个命令的“标准输入”:但是这里的 ...
- 烂泥:【转】rsync命令参数详解
本文由秀依林枫提供友情赞助,首发于烂泥行天下. rsync安装完毕后,我们可以通过rsync –help查看rysnc命令的使用.如下: 有关rsync的命令格式,在此我们就不多介绍了.如果有想了解的 ...
- linux mount命令参数及用法详解
linux mount命令参数及用法详解 非原创,主要来自 http://www.360doc.com/content/13/0608/14/12600778_291501907.shtml. htt ...
- protoc 命令参数
protoc 命令的获得 源码在 https://github.com/google/protobuf , 如果不想自己编译获得最新版本,则可以下载官方编译好的各个平台的,下载地址:https://g ...
- linux中touch命令参数修改文件的时间戳(转)
linux中touch命令参数不常用,一般在使用make的时候可能会用到,用来修改文件时间戳,或者新建一个不存在的文件,以下是linux中touch命令参数的使用方法: touch [-acm][-r ...
- 【转】linux expr命令参数及用法详解
在抓包过程中,查看某个设定时间内,数据上下行多少,用命令expr 计算! --------------------------------------------------------------- ...
- linux useradd(adduser)命令参数及用法详解(linux创建新用户命令)
linux useradd(adduser)命令参数及用法详解(linux创建新用户命令) useradd可用来建立用户帐号.帐号建好之后,再用passwd设定帐号的密码.而可用userdel删除帐号 ...
- linux dmesg命令参数及用法详解(linux显示开机信息命令)
linux dmesg命令参数及用法详解(linux显示开机信息命令) http://blog.csdn.net/zhongyhc/article/details/8909905 功能说明:显示开机信 ...
- linux sed命令参数及用法详解
linux sed命令参数及用法详解 http://blog.csdn.net/namecyf/article/details/7336308 1. Sed简介 sed 是一种在线编辑器,它一次处理一 ...
随机推荐
- pytorch怎么抽取中间的特征或者梯度
for i, (input, target) in enumerate(trainloader): # measure data loading time data_time.update(time. ...
- matlab画图命令笔记
1 函数画图fplot % Create a function plot of y = x^3 over the domain of [-2 2]. % Plot with a thick red l ...
- sublime text 3搭建python
1.ST3下载地址: http://www.sublimetext.com/3 2.安装Sublime Text Build 3114 Setup.exe应用程序. 3.ST3的工具优点就是轻量级,简 ...
- JDBCTM中Statement接口提供的execute、executeQuery和executeUpdate之间的区别
Statement 接口提供了三种执行 SQL 语句的方法:executeQuery.executeUpdate 和 execute.使用哪一个方法由 SQL 语句所产生的内容决定. 方法execut ...
- Python学习笔记–Chapter 2
1.字符串中添加制表符,可使用字符组合\t 2.字符串中添加换行符,可使用字符组合\n 3.字符串\n\t可以换到下一行,并且在开头添加一个制表符. 4.删除末尾空白,使用方法rstrip() 5.删 ...
- Kali Linux Web后门工具、Windows操作系统痕迹清除方法
Kali Linux Web后门工具 Kali的web后门工具一共有四款,今天只介绍WebaCoo 首先介绍第一个WeBaCoo(Web Backdoor Cookie) WeBaCoo是一款隐蔽的脚 ...
- 高性能mysql的事物隔离级别
数据库事务的隔离级别有4种,由低到高分别为Read uncommitted .Read committed .Repeatable read .Serializable .而且,在事务的并发操作中可能 ...
- collection和association的区别于关系
比如同时有User.java和Card.java两个类 User.java如下: public class User{ private Card card_one; private List<C ...
- 请用java解析下xml
Java XML简介 XML(EXtensible Markup Language) 可扩展标记语言 可以说是一个文本文件 作用数交互 配置应用程序 Xml解析技术 三种方式 Dom 文档数据 ...
- xamarin android 文件选择
调出选择界面: Intent intent = new Intent(Intent.ActionGetContent); intent.AddCategory(Intent.CategoryOpena ...