zoukankan      html  css  js  c++  java
  • subsonic 配置及使用

    就是这么简单-没有必要关心要那些表或配置表和对象的映射关系。在实践中,配置看起来如下:

    <configuration>  
    <!-- 1 - Connection String(s) -->
    <connectionStrings>
    <add name="Northwind"
    connectionString="Data Source=.\sqlexpress;Initial
    Catalog=Northwind;Integrated Security=True"/>
    </connectionStrings>
    <configSections>
    <!-- 2 - SubSonic section handler -->
    <section name="SubSonicService"
    type="SubSonic.SubSonicSection, SubSonic"/>
    </configSections>
    <!-- 3 - Point SubSonic at the appropriate data source(s) -->
    <SubSonicService defaultProvider="Northwind">
    <providers>
    <add name="Northwind"
    type="SubSonic.SqlDataProvider, SubSonic"
    connectionStringName="Northwind"
    generatedNamespace="Northwind"/>
    </providers>
    </SubSonicService>
    </configuration>

    来源:http://blog.csdn.net/ILOVEMSDN/archive/2009/02/15/3893027.aspx
  • 相关阅读:
    NOI Online 2020 提高组游记
    【HDU5840】This world need more Zhu
    CSP-S 2019 AFO记
    防错笔记
    关于Blog
    题解 【UER #6】逃跑
    动态规划杂题选记
    有趣计数题选做
    题解 [POI2012] Leveling Ground
    xioa han 带画家!
  • 原文地址:https://www.cnblogs.com/leshang/p/2036781.html
Copyright © 2011-2022 走看看