How to use VS2008 command line to create database class from sqlCe Db

created a sqlce SQL file with VS2008 and saved a copy in C: \ Temp08.

can someone point out what was wrong with this Sqlmetal syntax:

sqlmetal c: \ Users \ DELL \ Documents \ Temp08 \ NtwContacts.sdf / code: c: \ Users \ DELL \ Documents \ Temp08 \ NtwContactsData.cs / language: cs / namespace: LocalDB / context: NtwContactsDataContext / pluralize

Error: SQm1003: Input file code: c: \ Users \ DELL \ Documents \ Temp08 \ NtwContactsData.cs / language: cs / namespace: LocalDB / context: NtwContactsDataContext - does not exist

My machine status: win7 pro Using VS2008 and VS2010 for a Windows phone.

----- 20 / Jul: experienced these conditions:

sqlmetal c: \ Users \ DELL \ Documents \ Temp08 \ NtwContacts.sdf / code: c: \ Users \ DELL \ Documents \ Temp08 \ NtwContactsData.cs / language: cs / namespace: LocalDB / context: NtwContactsDataContext / pluralize

Try the following: the gap between

1) / code: ---> / code

2) language: cs ---> language: csharp or language: cs

3) C or c

- :

:
1. : sqlmetal C:\Users\DELL\Documents\Temp08\NtwContacts.sdf

Xml.

  • ?
0
1

: NtwContacts.sdf/code

0

All Articles