问题描述
我不得不替换使用SQL Server Compact Edition 3.5的Access数据库,这样我就可以使应用程序可移植。
我使用SSCE创建了SSCE数据库Visual Basic 2008.数据库包含两个表。一个有六列,另一个有两个。
这是我的问题。我将Access和SSCE数据库模式都写入XML文件,然后使用文本比较应用程序对两者进行比较,我发现了一个区别。 Access数据表PDIC列是:
I had to replace a Access database that was working with a SQL Server Compact Edition 3.5 so I can make the application portable.
I created the SSCE database using Visual Basic 2008. The database contains two tables. One with six columns and the other with two.
Here is my problem. I wrote both the Access and SSCE database schemas to a XML files and then compared the two using a text compare application and I noticed a difference. The Access data table PDIC column is:
<xs:element name="PCID" type="xs:int" minOccurs="0" />
和同一个表中的SSCE PCID列是:
And the SSCE PCID column from the same table is:
<xs:element name="PCID" msdata:ReadOnly="true" type="xs:int" minOccurs="0" />
现在为什么SSCE数据表中的PCID列是ReadOnly?
有人有什么建议吗?
Now why is the PCID column in the SSCE data table ReadOnly?
Anyone have any suggestions?
推荐答案
这篇关于如何将SQL Server CE数据库表列从ReadOnly更改为ReadWrite的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!