First version of the Main form that is able to pull all the required data from the SQL database. Holiday detection is disabled for this build. Fixed some bugs with the debug database conversion code. Still missing Ad Special data in the conversion code.

This commit is contained in:
2017-03-27 14:39:42 -05:00
parent 36fe75d761
commit 9da9540969
39 changed files with 104913 additions and 871 deletions
+28
View File
@@ -0,0 +1,28 @@
namespace AdvertsingProfitControl
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
public partial class Supplier
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public Supplier()
{
Invoices = new HashSet<Invoice>();
}
public int Id { get; set; }
[StringLength(256)]
public string Name { get; set; }
[StringLength(256)]
public string Description { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<Invoice> Invoices { get; set; }
}
}