public < T > Key < T > insert ( final String collection , final T entity , final WriteConcern wc ) { return insert ( getCollection ( collection ) , ProxyHelper . unwrap ( entity ) , new InsertOptions ( ) . writeConcern ( wc ) ) ; }
Inserts an entity in to the database