惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

IT之家
IT之家
The GitHub Blog
The GitHub Blog
F
Fortinet All Blogs
Last Week in AI
Last Week in AI
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
L
LangChain Blog
爱范儿
爱范儿
博客园_首页
Stack Overflow Blog
Stack Overflow Blog
MongoDB | Blog
MongoDB | Blog
博客园 - 三生石上(FineUI控件)
大猫的无限游戏
大猫的无限游戏
宝玉的分享
宝玉的分享
GbyAI
GbyAI
H
Help Net Security
A
About on SuperTechFans
Recent Announcements
Recent Announcements
Hugging Face - Blog
Hugging Face - Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
雷峰网
雷峰网
D
Docker
博客园 - Franky
有赞技术团队
有赞技术团队
G
Google Developers Blog

博客园 - 猪头

remote: Repository not found. fatal: repository 'https://github.com/***/***.git/' not found VS2017 ASP.NET MVC 5.0 开部署问题汇总 MVC 5 调用存储过程参数配置方法-Procedure or function 'UP_***' expects parameter '@****', which was not supplied. mvcmovie sample 在window10 下的部署问题(HTTP Error 500.19 - Internal Server Error) Window 无法完成请求的更改,找不到引用的汇编,错误代码 0X80073701 VS2017离线版的SSDT安装包(包括SSIS) sql2008r 收缩数据库日志log文件;删除errorlog文件的方法 解决window2012 IIS8 配置的网站无法下载exe文件的问题 商品房买卖合同备案 收房注意事项!--经典! 商河水木清华业主告媒体书 商河水木清华全体业主告开发商书 商河县水木清华全体业主给县委县府的一封信 大家不要在水木清华买房子了,我的都一年了,还没交房! 呼吁所有商河水木清华业主拒绝不合理的交房流程 说说无耻的商河水木清华开发商2013"交房 拒绝无效的“交房”写给所有商河水木清华业主 HDD 格式化错误 E:31:00 --如何备份DV里的数据 Windows 7 Sp1 x64 无法安装英文语言包(已解决)
Scaffold-DbContext 命令参数
猪头 · 2019-03-14 · via 博客园 - 猪头
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