C# 클래스 FdoToolbox.Core.Feature.FdoConnection

FDO Connection wrapper class
상속: IDisposable
파일 보기 프로젝트 열기: jumpinjackie/fdotoolbox 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Close ( ) : void

Closes the underlying connection

CreateFeatureService ( ) : FdoFeatureService

Creates a new feature service bound to this connection

CreateSchemaMapping ( ) : PhysicalSchemaMapping

Creates a blank physical schema mapping

Dispose ( ) : void

Disposes this connection

FdoConnection ( string provider ) : System

Initializes a new instance of the FdoConnection class.

FdoConnection ( string provider, string connectionString ) : System

Initializes a new instance of the FdoConnection class.

Flush ( ) : void

Forces the writes of any cached data to the targed datastore

GetConnectTimeProperty ( string name ) : DictionaryProperty

Gets the connect time property.

LoadFromFile ( string file ) : FdoConnection

Creates an FDO connection from file

LoadFromFile ( string file, bool tryLoadConfiguration ) : FdoConnection

Creates an FDO connection from file

Open ( ) : FdoConnectionState

Opens the underlying connection

Refresh ( ) : void

Refreshes this connection

Save ( string file ) : void

Saves this connection to a file

SaveConfiguration ( string file ) : void
SetConfiguration ( string file ) : void

Sets the configuration for this connection

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources

메소드 상세

Close() 공개 메소드

Closes the underlying connection
public Close ( ) : void
리턴 void

CreateFeatureService() 공개 메소드

Creates a new feature service bound to this connection
public CreateFeatureService ( ) : FdoFeatureService
리턴 FdoFeatureService

CreateSchemaMapping() 공개 메소드

Creates a blank physical schema mapping
public CreateSchemaMapping ( ) : PhysicalSchemaMapping
리턴 PhysicalSchemaMapping

Dispose() 공개 메소드

Disposes this connection
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

Releases unmanaged and - optionally - managed resources
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
리턴 void

FdoConnection() 공개 메소드

Initializes a new instance of the FdoConnection class.
public FdoConnection ( string provider ) : System
provider string The provider name.
리턴 System

FdoConnection() 공개 메소드

Initializes a new instance of the FdoConnection class.
public FdoConnection ( string provider, string connectionString ) : System
provider string The provider name.
connectionString string The connection string.
리턴 System

Flush() 공개 메소드

Forces the writes of any cached data to the targed datastore
public Flush ( ) : void
리턴 void

GetConnectTimeProperty() 공개 메소드

Gets the connect time property.
public GetConnectTimeProperty ( string name ) : DictionaryProperty
name string The name.
리턴 FdoToolbox.Core.Connections.DictionaryProperty

LoadFromFile() 공개 정적인 메소드

Creates an FDO connection from file
public static LoadFromFile ( string file ) : FdoConnection
file string
리턴 FdoConnection

LoadFromFile() 공개 정적인 메소드

Creates an FDO connection from file
public static LoadFromFile ( string file, bool tryLoadConfiguration ) : FdoConnection
file string
tryLoadConfiguration bool If true will attempt to load the configuration for this connection. The configuration file is assumed to be the same name as the connection file, except it has a _Configuration suffix and has a .xml extension
리턴 FdoConnection

Open() 공개 메소드

Opens the underlying connection
public Open ( ) : FdoConnectionState
리턴 FdoConnectionState

Refresh() 공개 메소드

Refreshes this connection
public Refresh ( ) : void
리턴 void

Save() 공개 메소드

Saves this connection to a file
public Save ( string file ) : void
file string
리턴 void

SaveConfiguration() 공개 메소드

public SaveConfiguration ( string file ) : void
file string
리턴 void

SetConfiguration() 공개 메소드

Sets the configuration for this connection
public SetConfiguration ( string file ) : void
file string The configuration file
리턴 void