Iam使用数据库缓存服务,我使用sql server压缩数据库(.sdf文件)并将数据库复制到隔离存储。服务有变化,所以我无法缓存它,所以如何手动插入服务in.sdf文件
CREATE TABLE [GenContents]
(
[Id] INT NOT NULL IDENTITY (1,1),
[ModuleUniqueName] NVARCHAR(4000) NOT NULL,
[ResponseContent] NTEXT,
[Category] NVARCHAR(4000) NOT NULL,
[Language] NVARCHAR(4000) NOT NULL,
[StoredTime] NVARCHAR(4000) NOT NULL
);
ALTER TABLE [GenContents] ADD CONSTRAINT [PK_GenContents] PRIMARY KEY ([Id]);