简体   繁体   English

使用SQL Server Compact 4.0的主要详细信息(ErikEJ简单介绍)

[英]Master Details with Using SQL Server Compact 4.0(simple by ErikEJ)

I need to create a simple master/details form that collects data from a database, make some changes and save them. 我需要创建一个简单的master / detail表单,该表单从数据库中收集数据,进行一些更改并将其保存。 I use SQL Server Compact 4.0(simple by ErikEJ) . 我使用SQL Server Compact 4.0(由ErikEJ简单实现) I have try Master Details Demo . 我尝试了Master Details Demo

This is my Database: 这是我的数据库:

在此处输入图片说明

But when I followed the Entity Data Model Wizard I get the following error: 但是当我遵循实体数据模型向导时,出现以下错误:

在此处输入图片说明

It seems that it's not supported by Visual Studio 2013. Any suggestion would be appreciated. 似乎Visual Studio 2013不支持它。任何建议将不胜感激。

Thanks in advance. 提前致谢。

I wrote the "Simple" DDEX provider, and it is only meant for running the EDMX Wizard in order to create a EDMX or Code First from Database model. 我编写了“简单的” DDEX提供程序,它仅用于运行EDMX向导,以便从数据库模型创建EDMX或“代码优先”。 (That is why it is called simple). (这就是为什么它被称为简单)的原因。 So it does not support working with DataSets and DataAdapters. 因此,它不支持使用数据集和数据适配器。 In addition you should not be using DataSet with SQL Server Compact due to the memory overhead. 此外,由于内存开销,您不应将DataSet与SQL Server Compact一起使用。 Use SqlCeResult set if possible: https://msdn.microsoft.com/library/bb219485.aspx 尽可能使用SqlCeResult设置: https : //msdn.microsoft.com/library/bb219485.aspx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM