Example #1
0
 public BusinessEntity(SingleName name, EmailAddress email, string extenalcode) : this(name)
 {
     this.Name         = name;
     this.Email        = email;
     this.ExternalCode = extenalcode;
     this.CreateDate   = ModelExtension.TimestampProvider();
     this.Validate     = ModelExtension.TimestampProvider().AddDays(20);
     this.Active       = true;
 }
Example #2
0
        public Person()
        {
            Expense            = new HashSet <Expense>();
            InvoiceCarrier     = new HashSet <Invoice>();
            InvoiceCustomer    = new HashSet <Invoice>();
            InvoiceSalesPerson = new HashSet <Invoice>();
            PersonAddress      = new HashSet <PersonAddress>();
            PersonEmail        = new HashSet <PersonEmail>();
            PersonPhone        = new HashSet <PersonPhone>();
            Revenue            = new HashSet <Revenue>();
            VRevenueTrans      = new HashSet <VRevenueTrans>();
            VExpenseTrans      = new HashSet <VExpenseTrans>();

            VRevenue          = new HashSet <VRevenue>();
            VExpense          = new HashSet <VExpense>();
            this.Active       = true;
            this.CreateDate   = ModelExtension.TimestampProvider();
            this.ModifiedDate = ModelExtension.TimestampProvider();
        }
Example #3
0
 public CategoryPerson()
 {
     Person          = new HashSet <Person>();
     this.CreateDate = ModelExtension.TimestampProvider();
 }
Example #4
0
 public ProductImage()
 {
     CreateDate = ModelExtension.TimestampProvider();
 }
Example #5
0
 public BankTrans()
 {
     this.DueDate = ModelExtension.TimestampProvider();
     this.Deleted = false;
 }
Example #6
0
 public Expense()
 {
     this.ExpenseTrans = new HashSet <ExpenseTrans>();
     this.DueDate      = System.DateTime.Now.AddDays(7);
     this.CreateDate   = ModelExtension.TimestampProvider();
 }
Example #7
0
 public ExpenseTrans()
 {
     this.BankTrans  = new HashSet <BankTrans>();
     this.CreateDate = ModelExtension.TimestampProvider();
 }