Insert a row.
Namespace: NHibernateAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
Object Insert( string entityName, Object entity ) |
Visual Basic |
---|
Function Insert ( _ entityName As String, _ entity As Object _ ) As Object |
Visual C++ |
---|
Object^ Insert( String^ entityName, Object^ entity ) |
Parameters
- entityName
- Type: System..::..String
The name of the entity to be inserted
- entity
- Type: System..::..Object
A new transient instance