A bag permits duplicates, so it has no primary key.
Namespace: NHibernate.MappingAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
| C# |
|---|
public Bag( PersistentClass owner ) |
| Visual Basic |
|---|
Public Sub New ( _ owner As PersistentClass _ ) |
| Visual C++ |
|---|
public: Bag( PersistentClass^ owner ) |
Parameters
- owner
- Type: NHibernate.Mapping..::..PersistentClass
The PersistentClass that contains this bag mapping.