C# Class Castle.ActiveRecord.HasManyAttribute

Inheritance: RelationAttribute
显示文件 Open project: nats/castle-1.0.3-mono

Protected Properties

Property Type Description
compositeKeyColumns String[]
customCollectionType System.Type
fetchMethod FetchEnum
hasDependentObjects bool
keyColumn String

Public Methods

Method Description
HasManyAttribute ( ) : System

Initializes a new instance of the HasManyAttribute class.

HasManyAttribute ( Type mapType ) : System

Initializes a new instance of the HasManyAttribute class.

HasManyAttribute ( Type mapType, String keyColumn, String table ) : System

Initializes a new instance of the HasManyAttribute class.

Method Details

HasManyAttribute() public method

Initializes a new instance of the HasManyAttribute class.
public HasManyAttribute ( ) : System
return System

HasManyAttribute() public method

Initializes a new instance of the HasManyAttribute class.
public HasManyAttribute ( Type mapType ) : System
mapType System.Type Type of the map.
return System

HasManyAttribute() public method

Initializes a new instance of the HasManyAttribute class.
public HasManyAttribute ( Type mapType, String keyColumn, String table ) : System
mapType System.Type Type of items in this association
keyColumn String The key column.
table String The table.
return System

Property Details

compositeKeyColumns protected_oe property

The composite columns Cannot exist with keyColumn != null
protected String[] compositeKeyColumns
return String[]

customCollectionType protected_oe property

Provides a custom collection type.
protected Type,System customCollectionType
return System.Type

fetchMethod protected_oe property

Whether we do outer join fetching for this collection
protected FetchEnum fetchMethod
return FetchEnum

hasDependentObjects protected_oe property

Whether the target type is for dependent objects or not
protected bool hasDependentObjects
return bool

keyColumn protected_oe property

The key column Cannot exist if compositeKeyColumns has a value
protected String keyColumn
return String