AnsweredAssumed Answered

Export an enterprise geodatabase schema and create new FGDB programmatically

Question asked by mik1971 on May 5, 2019
Latest reply on May 6, 2019 by mik1971

Hi,

 

We need to export a feature dataset (including number of feature classes) and, not in the dataset, number of tables, to a file geodatabase (FGDB).

The source is some data in memory (not in memory feature class) on runtime. The target - a FGDB created programmatically. 

 

And the schema must be taken from a current enterprise database (meaning we only export what current schema contains)

We cannot use a FGDB template.

 

Is any ArcObjects API able to do it?

 

Something like 

1) Exporting a geodatabase schema to an XML workspace document

2) Importing a geodatabase schema from an XML workspace document

3) ...

 

Any other ideas will be appreciated.

C#, ArcGIS 10.6.1, no Python

Outcomes