示例#1
0
        public override int ExecuteInternal()
        {
            MgPropertyCollection props = new MgPropertyCollection();

            MgFeatureCommandUtility.Populate(props, this.ValuesToUpdate);
            return(this.ConnImpl.UpdateFeatures(new MgResourceIdentifier(this.FeatureSourceId), this.ClassName, props, this.Filter));
        }
示例#2
0
        protected override void ExecuteInternal()
        {
            MgPropertyCollection props = new MgPropertyCollection();

            MgFeatureCommandUtility.Populate(props, this.RecordToInsert);
            this.ConnImpl.InsertFeatures(new MgResourceIdentifier(this.FeatureSourceId), this.ClassName, props);
        }
示例#3
0
        protected override void ExecuteInternal()
        {
            MgFileFeatureSourceParams fp = new MgFileFeatureSourceParams(this.Provider, this.Name, this.CoordinateSystemWkt, MgFeatureCommandUtility.ConvertSchema(this.Schema));

            fp.FileName = this.FileName;
            if (this.Description != null)
            {
                fp.SpatialContextDescription = this.Description;
            }
            fp.XYTolerance = this.XYTolerance;
            fp.ZTolerance  = this.ZTolerance;
            this.ConnImpl.CreateDataStore(new MgResourceIdentifier(this.FeatureSourceId), fp);
        }
示例#4
0
        protected override void ExecuteInternal()
        {
            MgFeatureSchema schema = MgFeatureCommandUtility.ConvertSchema(this.Schema);

            this.ConnImpl.ApplySchema(new MgResourceIdentifier(this.FeatureSourceId), schema);
        }