Пример #1
0
        public MdlFirm InsertNewFormEinfo(MdlPartner obj)
        {
            MdlFirm    Fmodel = new MdlFirm();
            MdlPartner model  = new MdlPartner();

            ObjectParameter objParamOrgDocID = new ObjectParameter("OrgDocID", typeof(long));

            _dbFirms.usp_InsertFormEnHEntry(

                obj.OrgId,
                obj.FormESubmissionDate,
                obj.FormEDocPath,
                obj.NewFormHIssueNo,
                null,
                obj.NewFormHDocPath,
                obj.EnterByUser_ID,
                objParamOrgDocID
                );
            Fmodel.ExistingOrgDocID = obj.OrgId;
            Fmodel.OrgName          = obj.OrgName;

            Fmodel.OrgDocID = Convert.ToInt64(objParamOrgDocID.Value);

            return(Fmodel);
        }