Files
simple-shop/Simple-Shop/Models/DealItem.cs
T
Nate VanBuskirk c9e3374d5d Changes:
----------
VS Solutions are setup. Additions made to web project. Directory cleanup and movement completed. Updated with publish settings for website project (password NOT inlucded). Pub settings with password are saved in a localized file set that will be stored somewhere and backedup somewhere safe and private to avoid intrusions to webhosting rss.

New:
------
Added Basic Models, SQL, EDMX, T4 Text Gen Files, and Auto-Gen'd the backing CS/SQL files. There is a database file added (not tested). There's also a backup of the sql files and other necessary tidbits included.

Not Included:
---------------
We do not yet have capacity for Scaffolding with current EF version and VS2017 because the backing database either is missing the table(s) OR because there's another issue caused by weirdness with the auto-gen process. No controllers/views/etc exist beyond the default template/wizard junk and the model system employed above.

Expectations:
---------------
Will need to test further once we've had a chance to back this up and walk through the manual steps to see what got missed by the auto-magic.

Next Steps:
-------------
Next step(s)/commit(s)/push(es) should include getting the datasbase populated with data-less tables, verifying the entity associations, scaffolding a very basic controller for each major entity, and testing basic add-update-view-delete logic (limited due to the tight relationships between certain tables/entities).

More Info:
------------
Once we have the basic skeleton up and working, we can either dig into the Web side OR one of the front-end sides for devices (desktop.winforms, desktop.uwp.touch, mobile.xamarin, etc)...
2019-11-13 10:06:24 -06:00

33 lines
1.1 KiB
C#

//------------------------------------------------------------------------------
// <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 Simple_Shop.Models
{
using System;
using System.Collections.Generic;
public partial class DealItem
{
public DealItem()
{
this.Items = new HashSet<Item>();
this.PricePoints = new HashSet<PricePoint>();
this.ItemCategories = new HashSet<ItemCategory>();
}
public int Id { get; set; }
public virtual Deal Deal { get; set; }
public virtual ICollection<Item> Items { get; set; }
public virtual PriceCategory PriceCategory { get; set; }
public virtual ICollection<PricePoint> PricePoints { get; set; }
public virtual ICollection<ItemCategory> ItemCategories { get; set; }
}
}