下面做一个例子,Category是用户新建的一个实体类,然后添加一个字段,然后让数据库中的Category表也添加一个字段
1.Category.cs
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAegAAAH5CAIAAADFuDplAAAgAElEQVR4nO3dP4skyZnH8XoT58joNyB7vfNnaF+WzHXk9DqNZJy1toxtxliYNs6UcYa2xcAiY7xjHMEyiHFWyzCwB8feIgaxCATr5RnVnRUZ8TxPPJEZ+Scyvx+SISsqMiIyq+pX0VHVPad//OOfbGxsbGwNbafVR8DGxsbGVrQR3GxsbGyNbQQ3GxsbW2MbwX2U7fQf37DNva3+KLMdZCO4j7KtHmpH2FZ/lNkOshHcR9lWD7UjbKs/ymwH2Qjuo2yrh9oRttUfZbaDbAT3UbbVQ+0I2+qPMttBNoL7KNvqoXaEbfVHme0gW1Fwv7q5+uxh7RGzjdtWD7UjbJMeo4fPrp69eDvXE+DVzdXzu7cTW2j05d/cyPsBqyOXg/vh5uri8mSaeP7v7p5dXd28qnFWTyq0dpRNCprvv+6efPf96qm3gy265g83V8/u3nkfI4J78jZPcC0fOBOCu3/CPdz0w512/m9fPHv2/NnEx/7hs6urq5uHy82CF8bj9u7uWdDCXIdsbotT5qufuq77+qvLzfdvvlXy6NsvPgY1W97++sO//JV/86f/+esP//rNn/4nW9hscBc9sdsI7srBtU7g1Ajut3fPqwT327vnz+7ePdxMScBXN1fTA5Tg/uY813Zn8a6CO9yy9X/75//96w//+vV/fTjf/PV/ffjrD//67Z//V6sfXXOCe+GtdnCtFTgVgjvsNWwl+PFh0HRf/vzuLnwivrt79vzubfTsPDd+aeqpI6XcemaL43l1cx7G+Senu3eDao9NXUrOp/z27nnfwsPN1dXNZ8khQqfBsek12cQ2iJivfuo+/viJmD5f/vj+afnk66++GSynPB5yKQkm6X3hz1+8CRsPDu9++nTwTvD9113Xffzp649BO8LA4u4+efNz0mBBcIv7nuzOprYZ3OlTMX3eRj/d20/LV9rzX3kqDgZwdfMqeS28url6fvfw4ln/inuIRttWcNcIrvqB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vi4No0K4cU32pzy3mA8vkd7JmAcgns1BHe6P+Lwce1olaMrP1Nwpx2VFuLgCO7VFAW3uIRiL7bY0zptrSap2Z3v7Heiu/rCsKZYP6QForgKka5XhMssWrNam9oCSCdd9qLgdg7e6I40hxPBvRojN40cTz+50t4Aar22o3SOdtLC8F+NmJ5iSmqFYoUuSXPP/tPghREbsWvkeDo25wSfjIYTwb0a/4zbH9yd76+p+GfcnZ7R4Rbe6wxucb+T5q32zNpeNjE+YEyPmjLjHhHcU2bcODiCezUTg7szM7riq92YXIs1pwS3kXT+ubPdjl0+eo3bXvzJdlRaiIMjuFdTa8btbHPCOIV9sbDzpXZXuCpSvVCr8HQKY75V4mw87cK+i9SGiOBeh7ZSkS0XGxEPrzTO+PPJdLUkqt/lgjtcuMh+ciguhYuHa+vRxiK1HazGMotdbveeW5hyBTeBfnAEd6vmmFyjruySjsj+oSp7F46A4G5Y3ck15qDN94Ep+CNTbGxsbI1tBDcbGxtbYxv/kQIANIbgBoDGENwufAYIYDsIbi+CG8BGENxeBDeAjSC4vQhuABtBcHsR3AA2guAuQHYD2AKC24vUBrARBLcXwQ1gIwhuL4IbwEYQ3F4EN4CNILhd+M1JANtBcANAYwhuAGjMosHdm+lkAOAImHEDQGMIbgBozA6Dm2+AANi3HQZ3x3euAewawQ0AjSG4AaAxBDcANGafwd2R3QD2a5/BTWoD2DGCGwAaQ3ADQGMIbgBozA6Dm9+cBLBvOwxuANg3ghsAGsPf4waAxjDjBoDGENwA0JiVg5tvgABAqfVn3AQ3ABQhuAGgMQQ3ADSG4AaAxqwf3B3ZDQAl1g9uUhsAihDcANAYghsAGkNwA0Bj+M1JAGjM+jNuAEARghsAGsPf4waAxiwX3ACAKghuAGgMwQ0AjSG4AaAxBDcANIbgBoDGENwA0BiCGwAaQ3ADQGMIbgBoDMENAI0huAGgMQQ3ADTm/wF60a1pvO5XZwAAAABJRU5ErkJggg==" alt="" />
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text; namespace BlogAppDAL.Entities
{
public class Category
{
public int Id { get; set; }
[Required]
[StringLength()]
public string CategoryName { get; set; } //public DateTime CreateDate { get; set; }
public virtual ICollection<Blog> Blogs { get; set; }
public Category()
{
Blogs = new HashSet<Blog>();
}
}
}
开始了添加一个字段,代码如下:
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text; namespace BlogAppDAL.Entities
{
public class Category
{
public int Id { get; set; }
[Required]
[StringLength()]
public string CategoryName { get; set; } public DateTime CreateDate { get; set; }
public virtual ICollection<Blog> Blogs { get; set; }
public Category()
{
Blogs = new HashSet<Blog>();
}
}
}
在上下文当中写入下面的代码:
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAABD8AAAIuCAIAAAA38TQdAAAgAElEQVR4nO3dTask2Z0f4PwS2syivkCDdtp5Keim91p5KYO0aYFdeBZjDFo3g4peNO5ajME2Wgxm1E0bMYLa2KYNHhh6BjGgkUWbHjPIzSALjYyMduHFrcobGeftf+IlIyPv83AoMiNPnHPi5Wae343IW6df//q3iqIoiqIoiqIot19Ou49AURRFURRFURQlUqQXRVEURVEURVGOUaQXRVEURVEURVGOUV6nl9Mf/aVy32X3U01RFEVRFEVRFhbp5amU3U81RVEURVEURVlYpJenUnY/1RRFURRFURRlYZFenkrZ/VRTFEVRFEVRlIVFenkqZfdTTVEURVEURVEWFunlqZTdTzVFURRFURRFWVi60suXPx5+8+29Z+HKvLL7qaY0ysffe/b2B59v1f6n7z1758XnC1v43se776UnMfLzgA83ckVRFEXZvOTTy7d/Pjz61VffeL18YXr52Q9+NQw//3LxRPzLH5/HtkJrT6XkDv+n7z17471Pdz8X7698/N6zt1/8NFpfelljhz963JkLR379HxPpRVEURVGKpZhefvHZz86P34SEZenlw69+8avf/2Lh1Zsf/WYYhh//6PHpeZzh8rMf/GrUwlardJe//uXv4pW/+8nf/fUvf/fdT/6uufBcpsf+4+89e/bsvY8fn5bn2T998faophIuN59euo7sAWbS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114AAIBjkF4AAIBj+P+KHotiEKsPngAAAABJRU5ErkJggg==" alt="" />
代码如下:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity;
using BlogAppDAL.Entities;
using System.Data.Entity.ModelConfiguration.Conventions;
using System.Data.Entity.Migrations;
using System.Data.Entity.Infrastructure; namespace BlogAppDAL
{
public class BlogAppContext : DbContext
{
public BlogAppContext()
: base("name=BlogAppConn")
{
//自动创建表,如果Entity有改到就更新到表结构
Database.SetInitializer<BlogAppContext>(new MigrateDatabaseToLatestVersion<BlogAppContext, ReportingDbMigrationsConfiguration>());
}
protected override void OnModelCreating(DbModelBuilder modelBuilder)
{
modelBuilder.Conventions.Remove<PluralizingTableNameConvention>(); //表名为类名,不是带s的表名 //移除复数表名的契约
} internal sealed class ReportingDbMigrationsConfiguration : DbMigrationsConfiguration<BlogAppContext>
{
public ReportingDbMigrationsConfiguration()
{
AutomaticMigrationsEnabled = true;//任何Model Class的修改將會直接更新DB
AutomaticMigrationDataLossAllowed = true;
}
} public virtual DbSet<Blog> Blogs { get; set; }
public virtual DbSet<Category> Categories { get; set; }
public virtual DbSet<Comment> Comments { get; set; }
public virtual DbSet<Role> Roles { get; set; }
public virtual DbSet<User> Users { get; set; }
}
}
然后运行下程序就更新了数据库中的表了。而且连Migrations文件夹都不需要了