C# Класс Earthworm.AO.GeodatabaseExt

Provides extension methods for ArcObjects interfaces related to geodatabase.
Показать файл Открыть проект

Открытые методы

Метод Описание
Edit ( this workspace, System.Action action ) : bool

Encapsulates a workspace edit session (or an edit operation). The edits will not be saved if an exception is thrown. If the workspace is already being edited before this method is called, the edit session will not be stopped at the end of the method.

Edit ( this workspace, System.Action action, Exception &exception ) : bool

Encapsulates a workspace edit session (or an edit operation). The edits will not be saved if an exception is thrown. If the workspace is already being edited before this method is called, the edit session will not be stopped at the end of the method.

OpenFeatureClass2 ( this featureWorkspace, string featureClassName ) : IFeatureClass

Opens an existing feature class. If the feature class with the specified name does not exist, returns null.

OpenTable2 ( this featureWorkspace, string tableName ) : ITable

Opens an existing table. If the table with the specified name does not exist, returns null.

Приватные методы

Метод Описание
GetValue ( this row, int fieldIndex ) : object
ReadRows ( this table, IQueryFilter filter ) : IEnumerable
SetValue ( this row, int fieldIndex, object value ) : void

Описание методов

Edit() публичный статический Метод

Encapsulates a workspace edit session (or an edit operation). The edits will not be saved if an exception is thrown. If the workspace is already being edited before this method is called, the edit session will not be stopped at the end of the method.
public static Edit ( this workspace, System.Action action ) : bool
workspace this The workspace in which edits are performed.
action System.Action The editing action.
Результат bool

Edit() публичный статический Метод

Encapsulates a workspace edit session (or an edit operation). The edits will not be saved if an exception is thrown. If the workspace is already being edited before this method is called, the edit session will not be stopped at the end of the method.
public static Edit ( this workspace, System.Action action, Exception &exception ) : bool
workspace this The workspace in which edits are performed.
action System.Action The editing action.
exception System.Exception Any exception that may be thrown within the edit session.
Результат bool

OpenFeatureClass2() публичный статический Метод

Opens an existing feature class. If the feature class with the specified name does not exist, returns null.
public static OpenFeatureClass2 ( this featureWorkspace, string featureClassName ) : IFeatureClass
featureWorkspace this
featureClassName string
Результат IFeatureClass

OpenTable2() публичный статический Метод

Opens an existing table. If the table with the specified name does not exist, returns null.
public static OpenTable2 ( this featureWorkspace, string tableName ) : ITable
featureWorkspace this
tableName string
Результат ITable