C# Class Azavea.Open.DAO.SQLServer.SQLServerDaLayer

Implements a FastDao layer customized for PostGreSQL (optionally with PostGIS installed).
Inheritance: Azavea.Open.DAO.SQL.SqlDaDdlLayer
Afficher le fichier Open project: azavea/net-dao-sqlserver

Méthodes publiques

Méthode Description
SQLServerDaLayer ( SQLServerDescriptor connDesc ) : System

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

Méthodes protégées

Méthode 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 méthode

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).
Résultat string

GetByteArrayType() protected méthode

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

GetDateTimeType() protected méthode

protected GetDateTimeType ( ) : string
Résultat string

GetLongType() protected méthode

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

SQLServerDaLayer() public méthode

Construct the layer. Should typically be called only by the appropriate ConnectionDescriptor.
public SQLServerDaLayer ( SQLServerDescriptor connDesc ) : System
connDesc SQLServerDescriptor Connection to the Firebird DB we'll be using.
Résultat System