C# 클래스 Azavea.Open.DAO.OleDb.OleDbOracleDaLayer

Implements a FastDao layer customized for PostGreSQL (optionally with PostGIS installed).
상속: Azavea.Open.DAO.SQL.SqlDaDdlLayer
파일 보기 프로젝트 열기: azavea/net-dao-oledb

공개 메소드들

메소드 설명
OleDbOracleDaLayer ( OleDbDescriptor connDesc ) : System

Construct the layer. Should typically be called only by the appropriate ConnectionDescriptor.

SequenceExists ( string name ) : bool

Returns whether a sequence with this name exists or not. Firebird doesn't appear to support the SQL standard information_schema.

StoreRoomMissing ( ClassMapping mapping ) : bool

Returns true if you need to call "CreateStoreRoom" before storing any data. This method is "Missing" not "Exists" because implementations that do not use a store room can return "false" from this method without breaking either a user's app or the spirit of the method. Store room typically corresponds to "table".

보호된 메소드들

메소드 설명
GetAsciiStringType ( ) : string

Oracle doesn't seem to have a varchar type that is limited to ASCII characters.

GetAutoType ( Type baseType ) : string

Returns the DDL for the type of an automatically incrementing column. Some databases only store autonums in one col type so baseType may be ignored.

GetByteArrayType ( ) : string

Returns the SQL type used to store a byte array in the DB.

GetLongType ( ) : string

Returns the SQL type used to store a long in the DB.

GetStringType ( ) : string

Returns the SQL type used to store a "normal" (unicode) string in the DB.

메소드 상세

GetAsciiStringType() 보호된 메소드

Oracle doesn't seem to have a varchar type that is limited to ASCII characters.
protected GetAsciiStringType ( ) : string
리턴 string

GetAutoType() 보호된 메소드

Returns the DDL for the type of an automatically incrementing column. Some databases only store autonums in one col type so baseType may be ignored.
protected GetAutoType ( Type baseType ) : string
baseType System.Type The data type of the column (nominally).
리턴 string

GetByteArrayType() 보호된 메소드

Returns the SQL type used to store a byte array in the DB.
protected GetByteArrayType ( ) : string
리턴 string

GetLongType() 보호된 메소드

Returns the SQL type used to store a long in the DB.
protected GetLongType ( ) : string
리턴 string

GetStringType() 보호된 메소드

Returns the SQL type used to store a "normal" (unicode) string in the DB.
protected GetStringType ( ) : string
리턴 string

OleDbOracleDaLayer() 공개 메소드

Construct the layer. Should typically be called only by the appropriate ConnectionDescriptor.
public OleDbOracleDaLayer ( OleDbDescriptor connDesc ) : System
connDesc OleDbDescriptor Connection to the Firebird DB we'll be using.
리턴 System

SequenceExists() 공개 메소드

Returns whether a sequence with this name exists or not. Firebird doesn't appear to support the SQL standard information_schema.
public SequenceExists ( string name ) : bool
name string Name of the sequence to check for.
리턴 bool

StoreRoomMissing() 공개 메소드

Returns true if you need to call "CreateStoreRoom" before storing any data. This method is "Missing" not "Exists" because implementations that do not use a store room can return "false" from this method without breaking either a user's app or the spirit of the method. Store room typically corresponds to "table".
public StoreRoomMissing ( ClassMapping mapping ) : bool
mapping ClassMapping
리턴 bool