C# Class Azavea.Open.DAO.ClassMapIDColDefinition

Extends ClassMapColDefinition, and adds properties needed to define an ID column.
Inheritance: ClassMapColDefinition
ファイルを表示 Open project: azavea/net-dao

Public Properties

Property Type Description
Generator bool
Sequence string

Public Methods

Method Description
ClassMapIDColDefinition ( string name, string column, string type, bool generator, string sequence ) : System

Constructor to populate all the needed properties.

Method Details

ClassMapIDColDefinition() public method

Constructor to populate all the needed properties.
public ClassMapIDColDefinition ( string name, string column, string type, bool generator, string sequence ) : System
name string The object property name.
column string The data source column name.
type string The data type (optional).
generator bool Whether or not the data source will use a generator to make Auto-IDs.
sequence string The sequence name, if one is used to generate the Auto-ID.
return System

Property Details

Generator public_oe property

Whether or not the data source will use a generator to make Auto-IDs
public bool Generator
return bool

Sequence public_oe property

The sequence name, if one is used to generate the Auto-ID
public string Sequence
return string