Exemple #1
0
 public void importZrzFeatures(int dcxmId, List <IFeature> features)
 {
     foreach (IFeature feature in features)
     {
         ZRZ zrz = zrzServ.newZrz(dcxmId);
         zrz.SHAPE = ArcgisService.featureToDbGeometry(feature);
         zrzServ.saveWithoutValidate(zrz);
     }
 }
Exemple #2
0
        public void importZdFeatures(int dcxmId, List <IFeature> features)
        {
            foreach (IFeature feature in features)
            {
                ZDJBXX zd = zdServ.newZdjbxx();
                zd.SHAPE    = ArcgisService.featureToDbGeometry(feature);
                zd.QJDCXMID = dcxmId;

                zdServ.saveWithoutValidate(zd);
            }
        }