Split the database objects out into a seperate project. Needs renaming in some areas and updates in the installer. Otherwise first version of a proper data DLL file.
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace AdvertisingProfitControlData
|
||||
{
|
||||
[Table("Inventory")]
|
||||
public class Inventory
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
[StringLength(256)]
|
||||
public string BeginningInventory { get; set; }
|
||||
|
||||
[StringLength(256)]
|
||||
public string Recieved { get; set; }
|
||||
|
||||
[StringLength(256)]
|
||||
public string TotalInventory { get; set; }
|
||||
|
||||
[StringLength(256)]
|
||||
public string EndingInventory { get; set; }
|
||||
|
||||
public int RowPosition { get; set; }
|
||||
|
||||
public int RowAttribute { get; set; }
|
||||
|
||||
public int FkAdItemId { get; set; }
|
||||
|
||||
public int? FkAdSpecialId { get; set; }
|
||||
|
||||
public int FkDateId { get; set; }
|
||||
|
||||
public virtual AdItem AdItem { get; set; }
|
||||
|
||||
public virtual AdSpecial AdSpecial { get; set; }
|
||||
|
||||
public virtual WeekEndingDate WeekEndingDate { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user