Exemplo n.º 1
0
 internal void SetDAL(Indico.DAL.QuotesDetailsView obj, IndicoEntities context)
 {
     // set the Indico.DAL.QuotesDetailsView properties
     obj.Quote           = Convert.ToInt32(Quote);
     obj.DateQuoted      = Convert.ToDateTime(DateQuoted);
     obj.QuoteExpiryDate = Convert.ToDateTime(QuoteExpiryDate);
     obj.ClietEMail      = ClietEMail;
     obj.JobName         = JobName;
     obj.Status          = Status;
     obj.ContactName     = ContactName;
     obj.Creator         = Creator;
     obj.CreatorID       = Convert.ToInt32(CreatorID);
     obj.Distributor     = Distributor;
 }
Exemplo n.º 2
0
 internal void SetBO(Indico.DAL.QuotesDetailsView obj)
 {
     // set the Indico.BusinessObjects.QuotesDetailsViewBO properties
     this.Quote           = obj.Quote;
     this.DateQuoted      = obj.DateQuoted;
     this.QuoteExpiryDate = obj.QuoteExpiryDate;
     this.ClietEMail      = obj.ClietEMail;
     this.JobName         = obj.JobName;
     this.Status          = obj.Status;
     this.ContactName     = obj.ContactName;
     this.Creator         = obj.Creator;
     this.CreatorID       = obj.CreatorID;
     this.Distributor     = obj.Distributor;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Creates an instance of the QuotesDetailsViewBO class using the supplied Indico.DAL.QuotesDetailsView.
 /// </summary>
 /// <param name="obj">a Indico.DAL.QuotesDetailsView whose properties will be used to initialise the QuotesDetailsViewBO</param>
 internal QuotesDetailsViewBO(Indico.DAL.QuotesDetailsView obj)
 {
     // set the properties from the Indico.DAL.QuotesDetailsView
     this.Quote           = obj.Quote;
     this.DateQuoted      = obj.DateQuoted;
     this.QuoteExpiryDate = obj.QuoteExpiryDate;
     this.ClietEMail      = obj.ClietEMail;
     this.JobName         = obj.JobName;
     this.Status          = obj.Status;
     this.ContactName     = obj.ContactName;
     this.Creator         = obj.Creator;
     this.CreatorID       = obj.CreatorID;
     this.Distributor     = obj.Distributor;
 }