// ReSharper disable RedundantUsingDirective // ReSharper disable DoNotCallOverridableMethodsInConstructor // ReSharper disable InconsistentNaming // ReSharper disable PartialTypeWithSinglePart // ReSharper disable PartialMethodWithSinglePart // ReSharper disable RedundantNameQualifier // TargetFrameworkVersion = 4.51 #pragma warning disable 1591 // Ignore "Missing XML Comment" warning using System; using System.CodeDom.Compiler; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity; using System.Threading; namespace Siriusware.Models { // act_actv public partial class ActActv { public decimal ActivId { get; set; } // activ_id (Primary key). Primary key public string Account { get; set; } // account public decimal InvoiceNo { get; set; } // invoice_no. Invoice number (if applicable) public int ActivType { get; set; } // activ_type. Activity type: 10=Print statement public string Details { get; set; } // details. Details (if applicable) public DateTime DateTime { get; set; } // date_time public string Person { get; set; } // person public string Location { get; set; } // location // Foreign keys public virtual Accounts Accounts { get; set; } // FK_act_actv_accounts public ActActv() { InvoiceNo = 0m; Details = ""; DateTime = System.DateTime.Now; Person = ""; Location = ""; InitializePartial(); } partial void InitializePartial(); } }That code is all generated. We do not touch it.