我下面张贴在http://subsonicproject.com/docs/Using_SimpleRepository我需要哪些子类迁移?
迁移视频我已经下载了最新的亚音速(3.0.0.4),并提取/引用的我的空控制台应用程序项目的SubSonic.Core.dll在2010年VS
我创建的迁移文件夹中的文件001_Init.cs:
using System;
using System.Collections.Generic;
//using System.Linq;
using System.Text;
using SubSonic;
namespace SubSonic.Migrations
{
class _001_Init : Migration
{
}
}
但我发现了:
错误1类型或命名空间名称 “迁移”找不到(是 是否缺少using指令或程序 组件 引用?)C:\ dev的\亚音速\亚音速\迁移\ 001_Init.cs 9 23亚音速
在我的Program.cs文件中,我已经设法通过var repo = new SimpleRepository("Northwind");
向我的数据库添加几行,所以我知道dll被正确引用。
我错过了什么?另外,有没有关于这个,我没有看到的文档?