【发布时间】:2012-12-13 05:24:25
【问题描述】:
我使用 this 作为参考并安装了两者(使用 nuget)
安装包 RavenDB.Client -Version 1.0.992
与
安装包 RavenDB-Embedded -Version 1.0.919
(official 链接建议使用 Install-Package RavenDB-Embedded。但该 nuget 命令失败并出现错误 Install-Package : Unable to find package 'RavenDB-Embedded'。)
但是代码
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Raven.Client.Document;
namespace ConsoleApplication4
{
class Program
{
static void Main(string[] args)
{
var Store = new DocumentStore { ConnectionStringName = "RavenDB" };
var instance = new EmbeddableDocumentStore { ConnectionStringName = "RavenDB" };
}
}
}
无法识别 EmbeddableDocumentStore。 EmbeddableDocumentStore 的命名空间是什么?
【问题讨论】:
标签: ravendb