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
没有合适的资源?快使用搜索试试~ 我知道了~
EF Code First模式
共56个文件
cs:14个
dll:8个
xml:6个
需积分: 12 9 下载量 63 浏览量
2018-02-27
16:25:06
上传
评论
收藏 10.03MB ZIP 举报
温馨提示
使用控制台学习EF Code First模式,代码实现了数据库的建立,表的创建以及数据迁移的使用。
资源推荐
资源详情
资源评论
收起资源包目录
EFTestConsole.zip (56个子文件)
EFTestConsole
EFTestConsole
OrderDetial.cs 155B
bin
Debug
EFTestConsole.vshost.exe.config 1KB
EntityFramework.xml 3.51MB
EFTestConsole.pdb 30KB
EFTestConsole.vshost.exe.manifest 490B
EntityFramework.SqlServer.xml 155KB
EFTestConsole.vshost.exe 22KB
EntityFramework.dll 4.98MB
EFTestConsole.exe.config 1KB
EFTestConsole.exe 12KB
EntityFramework.SqlServer.dll 608KB
Release
DBConnFactory.cs 271B
obj
Debug
EFTestConsole.Migrations.asd.resources 2KB
EFTestConsole.pdb 30KB
TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs 0B
EFTestConsole.csprojResolveAssemblyReference.cache 47KB
DesignTimeResolveAssemblyReferencesInput.cache 7KB
TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs 0B
TempPE
EFTestConsole.csproj.GenerateResource.Cache 964B
TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs 0B
EFTestConsole.csproj.FileListAbsolute.txt 1KB
EFTestConsole.exe 12KB
Properties
AssemblyInfo.cs 1KB
Program.cs 559B
Migrations
Configuration.cs 694B
201801310045083_asd.resx 7KB
201801310045083_asd.cs 584B
201801310045083_asd.Designer.cs 823B
Order.cs 151B
Map
OrderMap.cs 396B
App.config 1KB
packages.config 143B
OrderContent.cs 559B
EFTestConsole.csproj 4KB
Test.cs 108B
.vs
EFTestConsole
v14
.suo 76KB
packages
EntityFramework.6.2.0
content
net40
App.config.transform 209B
Web.config.transform 209B
EntityFramework.6.2.0.nupkg 4.09MB
tools
EntityFramework.PowerShell.Utility.dll 13KB
EntityFramework.psm1 44KB
EntityFramework.psd1 24KB
install.ps1 10KB
migrate.exe 530KB
about_EntityFramework.help.txt 2KB
EntityFramework.PowerShell.dll 49KB
init.ps1 10KB
lib
net45
EntityFramework.xml 3.51MB
EntityFramework.SqlServer.xml 155KB
EntityFramework.dll 4.98MB
EntityFramework.SqlServer.dll 608KB
net40
EntityFramework.xml 3.11MB
EntityFramework.SqlServer.xml 145KB
EntityFramework.dll 4.77MB
EntityFramework.SqlServer.dll 602KB
EFTestConsole.sln 1006B
共 56 条
- 1
资源评论
qq_31629213
- 粉丝: 11
- 资源: 11
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功