Sql CE Inconsistent with Multiple Statements
问题 It has long been true that you can execute multiple statements with SQL CE. And in fact I'm using SQL Server Compact Toolbox to do exactly that. But when I take the same multiple-statement commands and execute them from Dapper... public const string SampleDml = @" INSERT INTO [Plugin](Name, TypeName) VALUES ('Blog','Shroom.Blog'); GO INSERT INTO [ContentDef](PluginID, Name, Placement, IsStatic) VALUES(@@IDENTITY,'MyBlog','Layout:Left',1); GO "; I then keep getting this error: There was an