Click here to Skip to main content
15,892,927 members
Articles / Web Development / HTML

Database Object Model

Rate me:
Please Sign up or sign in to vote.
3.00/5 (1 vote)
21 Feb 2012CPOL2 min read 25.9K   693   11  
A Sample ORM project
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">x86</Platform>
    <ProductVersion>8.0.30703</ProductVersion>
    <SchemaVersion>2.0</SchemaVersion>
    <ProjectGuid>{F2926516-4074-4F55-AA88-3FC6B74B9D91}</ProjectGuid>
    <OutputType>WinExe</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>DBOMSqlSharp_AdventureWorks2008R2</RootNamespace>
    <AssemblyName>DBOMSqlSharp_AdventureWorks2008R2</AssemblyName>
    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
    <TargetFrameworkProfile>Client</TargetFrameworkProfile>
    <FileAlignment>512</FileAlignment>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
    <PlatformTarget>AnyCPU</PlatformTarget>
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <OutputPath>bin\Debug\</OutputPath>
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
    <PlatformTarget>x86</PlatformTarget>
    <DebugType>pdbonly</DebugType>
    <Optimize>true</Optimize>
    <OutputPath>bin\Release\</OutputPath>
    <DefineConstants>TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="System" />
    <Reference Include="System.Core" />
    <Reference Include="System.Xml.Linq" />
    <Reference Include="System.Data.DataSetExtensions" />
    <Reference Include="Microsoft.CSharp" />
    <Reference Include="System.Data" />
    <Reference Include="System.Deployment" />
    <Reference Include="System.Drawing" />
    <Reference Include="System.Windows.Forms" />
    <Reference Include="System.Xml" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="ConnectDatabase.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="ConnectDatabase.Designer.cs">
      <DependentUpon>ConnectDatabase.cs</DependentUpon>
    </Compile>
    <Compile Include="DBOMSqlSharp\ArithmeticOperators.cs" />
    <Compile Include="DBOMSqlSharp\BitwiseOperators.cs" />
    <Compile Include="DBOMSqlSharp\ComparisionOperators.cs" />
    <Compile Include="DBOMSqlSharp\Exceptions.cs" />
    <Compile Include="DBOMSqlSharp\Extensions.cs" />
    <Compile Include="DBOMSqlSharp\LogicalOperators.cs" />
    <Compile Include="DBOMSqlSharp\SetOperators.cs" />
    <Compile Include="DBOMSqlSharp\Sql.cs" />
    <Compile Include="DBOMSqlSharp\SqlCode.cs" />
    <Compile Include="DBOMSqlSharp\SqlCollation.cs" />
    <Compile Include="DBOMSqlSharp\SqlColumn.cs" />
    <Compile Include="DBOMSqlSharp\SqlCte.cs" />
    <Compile Include="DBOMSqlSharp\SqlDatabase.cs" />
    <Compile Include="DBOMSqlSharp\SqlDataType.cs" />
    <Compile Include="DBOMSqlSharp\SqlFrom.cs" />
    <Compile Include="DBOMSqlSharp\SqlFunction.cs" />
    <Compile Include="DBOMSqlSharp\SqlGroupBy.cs" />
    <Compile Include="DBOMSqlSharp\SqlInsert.cs" />
    <Compile Include="DBOMSqlSharp\SqlJoin.cs" />
    <Compile Include="DBOMSqlSharp\SqlOrderBy.cs" />
    <Compile Include="DBOMSqlSharp\SqlSelect.cs" />
    <Compile Include="DBOMSqlSharp\SqlSelectColumn.cs" />
    <Compile Include="DBOMSqlSharp\SqlTable.cs" />
    <Compile Include="DBOMSqlSharp\SqlTableFunction.cs" />
    <Compile Include="DBOMSqlSharp\SqlTreeList.cs" />
    <Compile Include="DBOMSqlSharp\SqlUpdate.cs" />
    <Compile Include="DBOMSqlSharp\SqlView.cs" />
    <Compile Include="DBOMSqlSharp\SqlWhere.cs" />
    <Compile Include="DBOMSqlSharp\UnaryOperators.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\dbo\AWBuildVersion.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\dbo\CubeExample.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\dbo\DatabaseLog.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\dbo\EmployeeOne.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\dbo\EmployeeThree.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\dbo\EmployeeTwo.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\dbo\ErrorLog.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\dbo\Gloves.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\dbo\MyEmployees.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\dbo\MyTableVar.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\dbo\NewProducts.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\dbo\Person.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\dbo\Personnel.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\dbo\SimpleTree.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\dbo\T1.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\dbo\T2.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\dbo\T3.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\dbo\Table1.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\dbo\Table2.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\dbo\TableFunctions\GetContactInformation.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\dbo\TableFunctions\ufnGetContactInformation.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\dbo\Temp_GroupingNULLS.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\HumanResources\Department.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\HumanResources\Employee.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\HumanResources\EmployeeDepartmentHistory.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\HumanResources\EmployeePayHistory.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\HumanResources\JobCandidate.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\HumanResources\NewEmployee.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\HumanResources\NewEmployee2.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\HumanResources\Shift.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\HumanResources\Views\vEmployee.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\HumanResources\Views\vEmployeeDepartment.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\HumanResources\Views\vEmployeeDepartmentHistory.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\HumanResources\Views\vJobCandidate.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\HumanResources\Views\vJobCandidateEducation.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\HumanResources\Views\vJobCandidateEmployment.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Person\Address.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Person\AddressType.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Person\BusinessEntity.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Person\BusinessEntityAddress.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Person\BusinessEntityContact.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Person\ContactType.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Person\CountryRegion.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Person\EmailAddress.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Person\Password.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Person\Person.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Person\PersonPhone.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Person\PhoneNumberType.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Person\StateProvince.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Person\Views\vAdditionalContactInfo.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Person\Views\vStateProvinceCountryRegion.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Production\BillOfMaterials.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Production\Culture.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Production\Document.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Production\Illustration.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Production\Location.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Production\Product.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Production\ProductCategory.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Production\ProductCostHistory.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Production\ProductDescription.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Production\ProductDocument.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Production\ProductInventory.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Production\ProductListPriceHistory.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Production\ProductModel.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Production\ProductModelIllustration.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Production\ProductModelProductDescriptionCulture.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Production\ProductPhoto.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Production\ProductProductPhoto.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Production\ProductReview.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Production\ProductSubcategory.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Production\ScrapReason.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Production\TransactionHistory.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Production\TransactionHistoryArchive.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Production\UnitMeasure.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Production\Views\vProductAndDescription.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Production\Views\vProductModelCatalogDescription.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Production\Views\vProductModelInstructions.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Production\WorkOrder.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Production\WorkOrderRouting.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Purchasing\ProductVendor.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Purchasing\PurchaseOrderDetail.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Purchasing\PurchaseOrderHeader.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Purchasing\ShipMethod.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Purchasing\Vendor.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Purchasing\Views\vVendorWithAddresses.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Purchasing\Views\vVendorWithContacts.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Sales\CountryRegionCurrency.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Sales\CreditCard.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Sales\Currency.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Sales\CurrencyRate.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Sales\Customer.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Sales\PersonCreditCard.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Sales\SalesOrderDetail.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Sales\SalesOrderHeader.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Sales\SalesOrderHeaderSalesReason.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Sales\SalesPerson.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Sales\SalesPersonQuotaHistory.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Sales\SalesReason.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Sales\SalesTaxRate.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Sales\SalesTerritory.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Sales\SalesTerritoryHistory.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Sales\ShoppingCartItem.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Sales\SpecialOffer.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Sales\SpecialOfferProduct.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Sales\Store.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Sales\Views\vIndividualCustomer.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Sales\Views\vPersonDemographics.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Sales\Views\vSalesPerson.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Sales\Views\vSalesPersonSalesByFiscalYears.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Sales\Views\vStoreWithAddresses.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Sales\Views\vStoreWithContacts.cs" />
    <Compile Include="FATIHVAIO\AdventureWorks2008R2\Sales\Views\vStoreWithDemographics.cs" />
    <Compile Include="FATIHVAIO\FATIHVAIOServer.cs" />
    <Compile Include="Main.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="Main.designer.cs">
      <DependentUpon>Main.cs</DependentUpon>
    </Compile>
    <Compile Include="Program.cs" />
    <Compile Include="Properties\AssemblyInfo.cs" />
    <EmbeddedResource Include="ConnectDatabase.resx">
      <DependentUpon>ConnectDatabase.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="Main.resx">
      <DependentUpon>Main.cs</DependentUpon>
      <SubType>Designer</SubType>
    </EmbeddedResource>
    <EmbeddedResource Include="Properties\Resources.resx">
      <Generator>ResXFileCodeGenerator</Generator>
      <LastGenOutput>Resources.Designer.cs</LastGenOutput>
      <SubType>Designer</SubType>
    </EmbeddedResource>
    <Compile Include="Properties\Resources.Designer.cs">
      <AutoGen>True</AutoGen>
      <DependentUpon>Resources.resx</DependentUpon>
      <DesignTime>True</DesignTime>
    </Compile>
    <None Include="Properties\Settings.settings">
      <Generator>SettingsSingleFileGenerator</Generator>
      <LastGenOutput>Settings.Designer.cs</LastGenOutput>
    </None>
    <Compile Include="Properties\Settings.Designer.cs">
      <AutoGen>True</AutoGen>
      <DependentUpon>Settings.settings</DependentUpon>
      <DesignTimeSharedInput>True</DesignTimeSharedInput>
    </Compile>
  </ItemGroup>
  <ItemGroup>
    <Resource Include="Resources\AdventureWorks2008R2_RequiredUpdates.sql" />
  </ItemGroup>
  <ItemGroup>
    <Resource Include="Resources\MainFormCSharpCodes.htm" />
  </ItemGroup>
  <ItemGroup />
  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
       Other similar extension points exist, see Microsoft.Common.targets.
  <Target Name="BeforeBuild">
  </Target>
  <Target Name="AfterBuild">
  </Target>
  -->
</Project>

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
Turkey Turkey
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions