我正在使用Mindscape.Lightspeed并获取以下错误: 错误:无效的对象名称'KeyTable'。Mindscape.Lightspeed错误:无效的对象名称'KeyTable'
LightSpeedContext<LightSpeedModel1UnitOfWork> context = new LightSpeedContext<LightSpeedModel1UnitOfWork>("Development");
using (var uow = context.CreateUnitOfWork())
{
SiteUser user = new SiteUser();
user.UserName = "ABC";
user.RoleId = 1;
uow.Add(user);
}
下面是JD提到的帮助的直接链接:http://www.mindscapehq.com/documentation/lightspeed/Controlling-the-Database-Mapping/Identity-Generation – Myster 2012-09-06 07:42:19