コード例 #1
0
        public trxDetailPekerjaanHeaderForm GetByGuidHeader(System.Guid GuidHeader)
        {
            trxDetailPekerjaanHeaderForm myDataForm = new trxDetailPekerjaanHeaderForm();
            trxDetailPekerjaanHeader     myData     = _repDetailPek.GetByGuidHeader(GuidHeader);

            myDataForm.InjectFrom(myData);
            IEnumerable <trxDetailPekerjaan> myDataList = _repDetail.GetByGuidHeader(GuidHeader);

            myDataForm.PekerjaanColls = myDataList;
            return(myDataForm);
        }
コード例 #2
0
        public trxDetailPekerjaanHeaderForm GetByGuidHeaderAS_1M(System.Guid GuidHeader)
        {
            trxDetailPekerjaanHeaderForm myDataForm = new trxDetailPekerjaanHeaderForm();
            trxDetailPekerjaanHeader     myData     = _repDetailPek.GetByGuidHeader(GuidHeader);

            myDataForm.InjectFrom(myData);
            IEnumerable <trxDetailPekerjaanAS_1M> myDataList = _repDetailAS_1M.GetByGuidHeader(GuidHeader);

            myDataForm.PekerjaanAS_1MColls    = myDataList;
            myDataForm.SubRegionColls         = _repSubRegion.Get();
            myDataForm.TypeOfSegmentasi5Colls = _repSegmen.Get();
            return(myDataForm);
        }