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