Esempio n. 1
0
 public Attachment(AttachmentFields attachmentFields, int?applicantId, Applicant applicant, int?historyId, History history)
     : base(attachmentFields.Name, attachmentFields.Type, attachmentFields.Attach)
 {
     ApplicantId = applicantId;
     Applicant   = Applicant;
     HistoryId   = historyId;
     History     = history;
 }
Esempio n. 2
0
 public Attachment(AttachmentFields attachmentFields,int? applicantId, Applicant applicant,int? historyId, History history)
     : base(attachmentFields.Name, attachmentFields.Type, attachmentFields.Attach)
 {
     ApplicantId = applicantId;
     Applicant = Applicant;
     HistoryId = historyId;
     History = history;
 }
        public void InitAttachments()
        {
            Attachment1 = new Attachment();

            AttachmentFields = new AttachmentFields("Файл",".txt",null);
            Applicant=new ApplicantWeb.Models.Applicant();
            Attachment2 = new Attachment(AttachmentFields,Applicant.ApplicantId,Applicant);

            History = new History();
            Attachment3 = new Attachment(AttachmentFields,Applicant.ApplicantId, Applicant, History.HistoryId, History);
        }
Esempio n. 4
0
 public Attachment(AttachmentFields attachmentFields, int?applicantId, Applicant applicant)
     : base(attachmentFields.Name, attachmentFields.Type, attachmentFields.Attach)
 {
     ApplicantId = applicantId;
     Applicant   = Applicant;
 }
Esempio n. 5
0
 public Attachment(AttachmentFields attachmentFields,int? applicantId, Applicant applicant)
     : base(attachmentFields.Name, attachmentFields.Type, attachmentFields.Attach)
 {
     ApplicantId = applicantId;
     Applicant = Applicant;
 }