Click here to Skip to main content
15,885,546 members
Articles / Hosted Services / Azure

DataObjects.Net - ORM Framework for RAD - Introduction

Rate me:
Please Sign up or sign in to vote.
4.85/5 (15 votes)
7 Sep 2010CPOL11 min read 50K   1.1K   32  
Introduction into the ORM Framework DataObjects.Net from x-tensive
<?xml version="1.0" encoding="utf-8"?>

<configuration>
  <configSections>
    <section name="Xtensive.Storage" type="Xtensive.Storage.Configuration.Elements.ConfigurationSection, Xtensive.Storage" />
    <section name="Xtensive.Core.Diagnostics" type="Xtensive.Core.Diagnostics.Configuration.ConfigurationSection, Xtensive.Core" />


  </configSections>

  <Xtensive.Core.Diagnostics>
    <logs>
      <!-- Use these settings for Xtensive.Storage.* logs -->
      <!--
      <log name="Storage.Providers.Sql" events="Info,Debug" provider="File" fileName="Log-Sql.log" />
      <log name="Storage.Providers.Sql" events="All" provider="Console" />
      <log name="Core" events="Debug,Info,Warning,Error,FatalError" provider="File" fileName="Log-Core.log" />
      <log name="Storage" events="Debug,Info,Warning,Error,FatalError" provider="File" fileName="Log-Storage.log" />
      <log name="Storage.Indexing" events="Debug,Info,Warning,Error,FatalError" provider="File" fileName="Log-Indexing.log" />
      <log name="Storage.Providers.Sql" events="Debug,Info" provider="File" fileName="Log-Sql.log" />
      <log name="Storage.Providers.Sql.PostgreSql" events="Debug,Info,Warning,Error,FatalError" provider="File" fileName="Log-PostgreSql.log" />
      <log name="Storage.Providers" events="Debug,Info,Warning,Error,FatalError" provider="File" fileName="Log-Storage.Providers.log" />
      <log name="Storage.Rse" events="Info,Warning,Error,FatalError" provider="File" fileName="Log-Storage.Rse.log" />
      -->
    </logs>
  </Xtensive.Core.Diagnostics>


  <Xtensive.Storage>
    <domains>
      <domain name="Default" upgradeMode="Recreate" connectionUrl="sqlserver://localhost/DO40-Tests">
        <types>
          <add assembly="DO4-Introduction" />
        </types>
      </domain>
      <!-- Examples of connectionUrl for other databases:
			<domain name="sqlserver"  upgradeMode="Recreate" connectionUrl="sqlserver://localhost/DO40-Tests">
			<domain name="sqlexpress" upgradeMode="Recreate" connectionUrl="sqlserver://localhost\SQLExpress/DO40-Tests">
			<domain name="pgsql"      upgradeMode="Recreate" connectionUrl="postgresql://do4test:do4testpwd@localhost/do40test?Encoding=ASCII">
			<domain name="oracle"     upgradeMode="Recreate" connectionUrl="oracle://do4test:do4testpwd@localhost/do40test">
			-->
    </domains>
  </Xtensive.Storage>
</configuration>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
CEO
Germany Germany
I'm a Senior Software Consultant
Thomas Maierhofer Consulting

Comments and Discussions