Mini Kabibi Habibi

Current Path : C:/Users/Public/Documents/DXperience 13.1 Demos/ASP.NET/VB/MoneyMonkey/App_Code/
Upload File :
Current File : C:/Users/Public/Documents/DXperience 13.1 Demos/ASP.NET/VB/MoneyMonkey/App_Code/DataClasses.dbml

<?xml version="1.0" encoding="utf-8"?><Database Name="Database" Class="DataClassesDataContext" xmlns="http://schemas.microsoft.com/linqtosql/dbml/2007">
  <Connection Mode="WebSettings" ConnectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Database.mdf;Integrated Security=True;Connect Timeout=120;User Instance=True" SettingsObjectName="System.Configuration.ConfigurationManager.ConnectionStrings" SettingsPropertyName="Data" Provider="System.Data.SqlClient" />
  <Table Name="dbo.Accounts" Member="Accounts">
    <Type Name="Account">
      <Column Name="ID" Type="System.Int32" DbType="Int NOT NULL IDENTITY" IsPrimaryKey="true" IsDbGenerated="true" CanBeNull="false" />
      <Column Name="Title" Type="System.String" DbType="NVarChar(100) NOT NULL" CanBeNull="false" />
      <Column Name="Description" Type="System.String" DbType="Text" CanBeNull="true" UpdateCheck="Never" />
      <Column Name="Category" Type="global::AccountCategory" DbType="NVarChar(100) NOT NULL" CanBeNull="false" />
      <Association Name="Account_Transaction" Member="Transactions" ThisKey="ID" OtherKey="AccountID" Type="Transaction" />
    </Type>
  </Table>
  <Table Name="dbo.BudgetCategories" Member="BudgetCategories">
    <Type Name="BudgetCategory">
      <Column Name="ID" Type="System.Int32" DbType="Int NOT NULL IDENTITY" IsPrimaryKey="true" IsDbGenerated="true" CanBeNull="false" />
      <Column Name="Title" Type="System.String" DbType="NVarChar(100) NOT NULL" CanBeNull="false" />
      <Column Name="UsedInBudget" Type="System.Boolean" DbType="Bit NOT NULL" CanBeNull="false" />
      <Column Name="Amount" Type="System.Decimal" DbType="Decimal(18,0)" CanBeNull="true" />
      <Column Name="Type" Type="global::BudgetCategoryType" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
      <Column Name="ShowInOverview" Type="System.Boolean" DbType="Bit NOT NULL" CanBeNull="false" />
      <Association Name="BudgetCategory_Transaction" Member="Transactions" ThisKey="ID" OtherKey="BudgetCategoryID" Type="Transaction" />
      <Association Name="UpcomingBill_BudgetCategory" Member="UpcomingBill" ThisKey="ID" OtherKey="BudgetCategoryID" Type="UpcomingBill" IsForeignKey="true" />
    </Type>
  </Table>
  <Table Name="dbo.Transactions" Member="Transactions">
    <Type Name="Transaction">
      <Column Name="ID" Type="System.Int32" DbType="Int NOT NULL IDENTITY" IsPrimaryKey="true" IsDbGenerated="true" CanBeNull="false" />
      <Column Name="BudgetCategoryID" Type="System.Int32" DbType="Int" CanBeNull="false" />
      <Column Name="Title" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
      <Column Name="Amount" Type="System.Decimal" DbType="Decimal(18,0) NOT NULL" CanBeNull="false" />
      <Column Name="Date" Type="System.DateTime" DbType="DateTime" CanBeNull="false" />
      <Column Name="Place" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
      <Column Name="AccountID" Type="System.Int32" DbType="Int NOT NULL" CanBeNull="false" />
      <Association Name="Transaction_Transaction" Member="Transaction2" ThisKey="ID" OtherKey="ID" Type="Transaction" Cardinality="One" />
      <Association Name="Transaction_Transaction" Member="Transaction1" ThisKey="ID" OtherKey="ID" Type="Transaction" IsForeignKey="true" />
      <Association Name="BudgetCategory_Transaction" Member="BudgetCategory" ThisKey="BudgetCategoryID" OtherKey="ID" Type="BudgetCategory" IsForeignKey="true" />
      <Association Name="Account_Transaction" Member="Account1" ThisKey="AccountID" OtherKey="ID" Type="Account" IsForeignKey="true" />
    </Type>
  </Table>
  <Table Name="dbo.UpcomingBills" Member="UpcomingBills">
    <Type Name="UpcomingBill">
      <Column Name="ID" Type="System.Int32" DbType="Int NOT NULL IDENTITY" IsPrimaryKey="true" IsDbGenerated="true" CanBeNull="false" />
      <Column Name="Description" Type="System.String" DbType="NVarChar(100) NOT NULL" CanBeNull="false" />
      <Column Name="Type" Type="global::UpcomingBillType" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
      <Column Name="BudgetCategoryID" Type="System.Int32" DbType="Int NOT NULL" CanBeNull="false" />
      <Column Name="Date" Type="System.DateTime" DbType="DateTime NOT NULL" CanBeNull="false" />
      <Column Name="AccountID" Type="System.Int32" DbType="Int" CanBeNull="true" />
      <Column Name="RepeatType" Type="global::UpcomingBillRepeatType" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
      <Column Name="Amount" Type="System.Decimal" DbType="Decimal(18,0)" CanBeNull="true" />
      <Association Name="UpcomingBill_BudgetCategory" Member="BudgetCategories" ThisKey="BudgetCategoryID" OtherKey="ID" Type="BudgetCategory" Cardinality="One" />
    </Type>
  </Table>
</Database>