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); }
protected override void ExecuteInternal() { MgFeatureSchema schema = MgFeatureCommandUtility.ConvertSchema(this.Schema); this.ConnImpl.ApplySchema(new MgResourceIdentifier(this.FeatureSourceId), schema); }