예제 #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;
 }
예제 #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);
        }
예제 #4
0
 public Attachment(AttachmentFields attachmentFields, int?applicantId, Applicant applicant)
     : base(attachmentFields.Name, attachmentFields.Type, attachmentFields.Attach)
 {
     ApplicantId = applicantId;
     Applicant   = Applicant;
 }
예제 #5
0
 public Attachment(AttachmentFields attachmentFields,int? applicantId, Applicant applicant)
     : base(attachmentFields.Name, attachmentFields.Type, attachmentFields.Attach)
 {
     ApplicantId = applicantId;
     Applicant = Applicant;
 }