sql conlection

作者: 落地成佛 | 来源:发表于2018-07-09 10:45 被阅读3次


    <connectionStrings>
    <add name="MusicStoreEntities"
    connectionString="server=.\sqlexpress;database=musicstore;integrated security=true;"
    providerName="System.Data.SqlClient"/>
    </connectionStrings>

    <connectionStrings>

    <add name="SqlConnectionString" connectionString="data source=(LocalDB)\MSSQLLocalDB;attachdbfilename=|DataDirectory|\wkmvc_db.mdf;integrated security=True;connect timeout=30;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" />
    <add name="Entities" connectionString="metadata=res:///Model1.csdl|res:///Model1.ssdl|res://*/Model1.msl;provider=System.Data.SqlClient;provider connection string="data source=(LocalDB)\MSSQLLocalDB;attachdbfilename=|DataDirectory|\wkmvc_db.mdf;integrated security=True;multipleactiveresultsets=True;connect timeout=30;application name=EntityFramework"" providerName="System.Data.EntityClient" /></connectionStrings>
    <entityFramework>

    相关文章

      网友评论

        本文标题:sql conlection

        本文链接:https://www.haomeiwen.com/subject/qqyzuftx.html