DbEntry.Net Auto AddColumns

Sep 18, 2014 at 2:51 AM
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <configSections>
    <section name="Leafing.Settings" type="Leafing.Core.Setting.NameValueSectionHandler, Leafing.Core" />
  </configSections>
    <startup> 
        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
    </startup>
  
<Leafing.Settings>
  <add key="AutoCreateTable" value="true"/> 
  <add key="AutoScheme" value="RemoveColumns"/>
  <add key="AutoScheme" value="AddColumns"/> 
  <add key="DataBase" value="@SqlServer2008 : data source=.;initial catalog=MyTest;user id=sa;password=123456" />
</Leafing.Settings>
</configuration>
[DbTable("User")]
    public class User : DbObjectModel<User>
    {
        [DbColumn("Name")]
        public string Name { get; set; }
        [DbColumn("Age")]
        public int Age { get; set; }
        [DbColumn("CreateTime")]
        public DateTime CreateTime { get; set; }
        public DateTime? UpdateTime { get; set; }
        public bool Sex { get; set; }
        [DbColumn("Address")]
        [AllowNull]
        public string Address { get; set; }
    }
表Use中没有Address字段,想通过DbEntry.Net 自动在Sqlserver中建立这个字段,但是在测试的时候字段并没有增加 ,这是什么原因?