Creates a new CollectionType for an ISet.
Namespace:
NHibernate.TypeAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Shared Function Set ( _ role As String, _ propertyRef As String _ ) As CollectionType |
C# |
---|
public static CollectionType Set( string role, string propertyRef ) |
Visual C++ |
---|
public: static CollectionType^ Set( String^ role, String^ propertyRef ) |
JavaScript |
---|
NHibernate.Type.TypeFactory.set = function(role, propertyRef); |
Parameters
- role
- Type: System..::.String
The role the collection is in.
- propertyRef
- Type: System..::.String
The name of the property in the owner object containing the collection ID, or nullNothingnullptra null reference (Nothing in Visual Basic) if it is the primary key.