ADO.NET |DataDirectory| where is this documented?

前端 未结 6 1990
故里飘歌
故里飘歌 2020-11-22 15:01

In AppConfig it is possible to use |DataDirectory| but I can\'t find any doc ?

6条回答
  •  名媛妹妹
    2020-11-22 15:40

    There is an internal class called SqlConnectionHelper which parses this and creates the MDF if needed.

    Here's the only MS doc I can find about that class and the |DataDirectory| macro: http://msdn.microsoft.com/en-us/library/aa478948.aspx.

提交回复
热议问题