Skip to content

Commit

Permalink
Initial Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarcross committed Aug 29, 2016
1 parent 5db9cda commit 2137840
Show file tree
Hide file tree
Showing 49 changed files with 4,430 additions and 0 deletions.
29 changes: 29 additions & 0 deletions Tundra Core/Account.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

namespace TundraCore
{
using System;
using System.Collections.Generic;

public abstract partial class Account
{
public int Id { get; set; }
public string Name { get; set; }
public decimal Balance { get; set; }
public int UserId { get; set; }

public virtual User User { get; set; }

public override string ToString()
{
return Name + " | $" + Balance;
}
}
}
18 changes: 18 additions & 0 deletions Tundra Core/CheckingAccount.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

namespace TundraCore
{
using System;
using System.Collections.Generic;

public partial class CheckingAccount : Account
{
}
}
18 changes: 18 additions & 0 deletions Tundra Core/Expense.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

namespace TundraCore
{
using System;
using System.Collections.Generic;

public partial class Expense : Transaction
{
}
}
41 changes: 41 additions & 0 deletions Tundra Core/Goal.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

namespace TundraCore
{
using System;
using System.Collections.Generic;
using System.Text;

public partial class Goal
{
public int Id { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public decimal TargetAmount { get; set; }
public decimal AcruedAmount { get; set; }
public decimal ContributionAmount { get; set; }
public bool Accomplished { get; set; }
public System.DateTime Created { get; set; }
public System.DateTime Deadline { get; set; }
public System.DateTime Modified { get; set; }
public int UserId { get; set; }

public virtual User User { get; set; }

public override string ToString()
{
StringBuilder sb = new StringBuilder();
sb.Append(Name + " | ");
sb.Append(Description);

return sb.ToString();
}
}
}
18 changes: 18 additions & 0 deletions Tundra Core/Income.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

namespace TundraCore
{
using System;
using System.Collections.Generic;

public partial class Income : Transaction
{
}
}
41 changes: 41 additions & 0 deletions Tundra Core/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.

[assembly: AssemblyTitle("Tundra")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("TundraCore")]
[assembly: AssemblyCopyright("Copyright © Anthony Haddox 2016")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.

[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM

[assembly: Guid("12749B9C-17E0-4AF2-93AA-92288633BCAB")]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]

[assembly: AssemblyVersion("0.1.1.*")]
[assembly: AssemblyFileVersion("0.1.1.0")]

18 changes: 18 additions & 0 deletions Tundra Core/SavingsAccount.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

namespace TundraCore
{
using System;
using System.Collections.Generic;

public partial class SavingsAccount : Account
{
}
}
30 changes: 30 additions & 0 deletions Tundra Core/Transaction.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

namespace TundraCore
{
using System;
using System.Collections.Generic;

public abstract partial class Transaction
{
public int Id { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public decimal Amount { get; set; }
public int UserId { get; set; }

public virtual User User { get; set; }

public override string ToString()
{
return Name + " | " + Description + " | $" + Amount;
}
}
}
144 changes: 144 additions & 0 deletions Tundra Core/Tundra Core.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{12749B9C-17E0-4AF2-93AA-92288633BCAB}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>TundraCore</RootNamespace>
<AssemblyName>TundraCore</AssemblyName>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<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|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<StartupObject />
</PropertyGroup>
<ItemGroup>
<Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
<HintPath>..\packages\EntityFramework.6.1.3\lib\net45\EntityFramework.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
<HintPath>..\packages\EntityFramework.6.1.3\lib\net45\EntityFramework.SqlServer.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Microsoft.SqlServer.ConnectionInfo, Version=13.100.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL" />
<Reference Include="Microsoft.SqlServer.Management.Sdk.Sfc, Version=13.100.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL" />
<Reference Include="Microsoft.SqlServer.Smo, Version=13.100.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL" />
<Reference Include="Microsoft.SqlServer.SmoExtended, Version=13.100.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL" />
<Reference Include="nunit.framework, Version=3.4.1.0, Culture=neutral, PublicKeyToken=2638cd05610744eb, processorArchitecture=MSIL" />
<Reference Include="System" />
<Reference Include="System.ComponentModel.DataAnnotations" />
<Reference Include="System.configuration" />
<Reference Include="System.Core" />
<Reference Include="System.Runtime.Serialization" />
<Reference Include="System.Security" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Account.cs">
<DependentUpon>TundraContext.tt</DependentUpon>
</Compile>
<Compile Include="CheckingAccount.cs">
<DependentUpon>TundraContext.tt</DependentUpon>
</Compile>
<Compile Include="Expense.cs">
<DependentUpon>TundraContext.tt</DependentUpon>
</Compile>
<Compile Include="Goal.cs">
<DependentUpon>TundraContext.tt</DependentUpon>
</Compile>
<Compile Include="Income.cs">
<DependentUpon>TundraContext.tt</DependentUpon>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="SavingsAccount.cs">
<DependentUpon>TundraContext.tt</DependentUpon>
</Compile>
<Compile Include="Transaction.cs">
<DependentUpon>TundraContext.tt</DependentUpon>
</Compile>
<Compile Include="TundraContext.Context.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>TundraContext.Context.tt</DependentUpon>
</Compile>
<Compile Include="TundraContext.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>TundraContext.tt</DependentUpon>
</Compile>
<Compile Include="TundraContext.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>TundraContext.edmx</DependentUpon>
</Compile>
<Compile Include="User.cs">
<DependentUpon>TundraContext.tt</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="app.config">
<SubType>Designer</SubType>
</None>
<None Include="packages.config">
<SubType>Designer</SubType>
</None>
<EntityDeploy Include="TundraContext.edmx">
<Generator>EntityModelCodeGenerator</Generator>
<LastGenOutput>TundraContext.Designer.cs</LastGenOutput>
</EntityDeploy>
<None Include="TundraContext.edmx.diagram">
<DependentUpon>TundraContext.edmx</DependentUpon>
</None>
</ItemGroup>
<ItemGroup>
<Service Include="{508349B6-6B84-4DF5-91F0-309BEEBAD82D}" />
</ItemGroup>
<ItemGroup>
<Content Include="TundraContext.Context.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>TundraContext.Context.cs</LastGenOutput>
<DependentUpon>TundraContext.edmx</DependentUpon>
</Content>
<Content Include="TundraContext.edmx.sql" />
<Content Include="TundraContext.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>TundraContext.cs</LastGenOutput>
<DependentUpon>TundraContext.edmx</DependentUpon>
</Content>
</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>
Loading

0 comments on commit 2137840

Please sign in to comment.