[英]AllowUserVariables in connection string - SQL Server Express
我试图在我的连接字符串中添加“AllowUserVariables=true”以使用 C# 访问 SQL Server Express。 但Keyword not supported: 'allowuservariables'.
抛出异常。 我该如何解决这个问题?
尝试“允许用户变量= True”
仅在 ms SQL 服务器中,您可以运行此命令:
<add name="ConnectionString_LIVE_customer_support" connectionString="server=REMOVED;port=REMOVED;User Id=REMOVED;password=REMOVED;Persist Security Info=True;database=customer_support;Sql Server Mode=True;Allow User Variables=True" providerName="MySql.Data.MySqlClient" />
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.