Show / Hide Table of Contents

Class Geodatabase

Represents an ArcGIS Geodatabase.

Inheritance
Object
Geodatabase
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Esri.ArcGISRuntime.Data
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class Geodatabase

Properties

Name Description
Domains

Gets the returns an list of the domains that exist in the geodatabase.

GenerateGeodatabaseGeometry

Gets the geometry (for example an Envelope or Polygon) used to generate a sync enabled geodatabase.

GeodatabaseAnnotationTables

Gets the collection of GeodatabaseFeatureTable from the database that contain annotation features.

GeodatabaseDimensionTables

Gets a collection of geodatabase feature tables that contain dimension features.

GeodatabaseFeatureTables

Gets a collection of geodatabase feature tables that contain geometries such as points, lines, or polygons.

IsInTransaction

Gets a value indicating whether a transaction is active on the geodatabase.

MinServerGeneration

Gets the minimum server generation number for the geodatabase.

Path

Gets the path to the database.

Source

Gets the ArcGIS REST feature service endpoint.

SyncId

Gets the sync ID of the geodatabase.

SyncModel

Gets the SyncModel used to generate the geodatabase.

UtilityNetworks

Gets the UtilityNetwork objects that are packaged within the Geodatabase.

Methods

Name Description
BeginTransaction()

Starts a transaction on the geodatabase.

Close()

Close a geodatabase.

CommitTransaction()

Commits the current transaction on the geodatabase.

CreateAsync(String)

Creates an empty mobile geodatabase at the specified path.

CreateDomainAsync(DomainDescription)

Creates a new domain in the geodatabase.

CreateTableAsync(TableDescription)

Creates a new table in the geodatabase.

DeleteDomainAsync(String)

Deletes the domain with the specified name from the geodatabase.

DeleteTableAsync(String)

Deletes an existing table from the geodatabase.

GetGeodatabaseAnnotationTable(Int64)

Returns the GeodatabaseFeatureTable containing annotation features from the geodatabase, that corresponds to the specified service layer ID.

GetGeodatabaseAnnotationTable(String)

Returns the GeodatabaseFeatureTable containing point, line or polygon features, as specified by the given tableName.

GetGeodatabaseDimensionTable(Int64)

Returns a feature table containing dimension features from the geodatabase, as specified by the given feature service layer ID.

GetGeodatabaseDimensionTable(String)

Returns a feature table containing dimension features from the geodatabase, as specified by the given tableName.

GetGeodatabaseFeatureTable(Int64)

Returns the GeodatabaseFeatureTable containing point, line or polygon features, as specified by the given feature service layer ID.

GetGeodatabaseFeatureTable(String)

Returns the GeodatabaseFeatureTable that corresponds to the specified table name.

GetUtilityNetwork(String)

Gets a UtilityNetwork from the geodatabase with the specified utility network name.

HasLocalEdits()

Returns a value indicating whether database has local edits.

IsSyncEnabled()

Returns a value indicating sync is enabled for the database.

OpenAsync(String)

Opens a Geodatabase at the specified path.

RollbackTransaction()

Rollback the current transaction on the geodatabase.

Events

Name Description
TransactionStatusChanged

Occurs when a transaction starts or ends (either committed or rolled back).

Applies to

TargetVersions
.NET Standard 2.0100.3 - 200.0
.NET 6.0100.13 - 200.0
.NET 6.0 Windows100.13 - 200.0
.NET 6.0 Android200
.NET 6.0 iOS200
.NET Framework100.0 - 200.0
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Android100.0 - 100.15
iOS100.0 - 100.15
UWP100.0 - 200.0

Relevant samples

Edit and sync features: Synchronize offline edits with a feature service.
Feature layer (geodatabase): Display features from a local geodatabase.
Generate geodatabase: Generate a local geodatabase from an online feature service.
Geodatabase transactions: Use transactions to manage how changes are committed to a geodatabase.
In This Article
Back to top Copyright © 2022 Esri.