开发者

how assign EntityConnectionStringBuilder.Metadata sqlite

开发者 https://www.devze.com 2023-04-03 21:49 出处:网络
I\'m trying to instantiate a EntityConnectionStringBuilder but it fails when I assign EntityConnectionStringBuilder.Metadata, here\'s my string:

I'm trying to instantiate a EntityConnectionStringBuilder but it fails when I assign EntityConnectionStringBuilder.Metadata, here's my string:

ee.Metadata = @"res:////Data//EntityModel.csdl|res:////Data//EntityModel.ssdl|res://*//Data//EntityModel.msl";

Wh开发者_Go百科ere "Data" is a folder. If I don't have the file in a folder, it works fine though.

0

精彩评论

暂无评论...
验证码 换一张
取 消