C# Class Azavea.Open.DAO.OleDb.OleDbSqlServerDaLayer

Implements a FastDao layer customized for PostGreSQL (optionally with PostGIS installed).
Inheritance: Azavea.Open.DAO.SQL.SqlDaDdlLayer
ファイルを表示 Open project: azavea/net-dao-oledb

Public Methods

Method Description
OleDbSqlServerDaLayer ( OleDbDescriptor connDesc ) : System

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

Protected Methods

Method Description
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.

GetDateTimeType ( ) : string
GetLongType ( ) : string

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

Method Details

GetAutoType() protected method

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).
return string

GetByteArrayType() protected method

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

GetDateTimeType() protected method

protected GetDateTimeType ( ) : string
return string

GetLongType() protected method

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

OleDbSqlServerDaLayer() public method

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