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
  • 相关阅读:
    Linux命令
    Linux目录说明
    python推导式
    python公共方法
    python集合
    python字典
    python元组
    python列表
    python字符串常用操作方法
    C语言编译过程
  • 原文地址:https://www.cnblogs.com/leshang/p/2036781.html
Copyright © 2011-2022 走看看