Insert a entity.
Namespace: NHibernate.ImplAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
| C# |
|---|
public Object Insert( Object entity ) |
| Visual Basic |
|---|
Public Function Insert ( _ entity As Object _ ) As Object |
| Visual C++ |
|---|
public: virtual Object^ Insert( Object^ entity ) sealed |
Parameters
- entity
- Type: System..::..Object
A new transient instance