第一部:运行cmd. 执行命令 cd C:Program Files (x86)Microsoft SDKsWindowsv8.1AinNETFX 4.5.1 Tools
第二步:执行 sqlmetal /server:. /database:iWSStorageCloud /user:sa /password:password@1 /code:iWSDataContext.cs /language:csharp /namespace:iWS.DMS.DatabaseEntity
C:Program Files (x86)Microsoft SDKsWindowsv8.1AinNETFX 4.5.1 Tools 目录下就生成了一个iWSDataContext.cs的文件,然后将其copy至开发环境.