ILiteRepositoryInsertT(T, String) Method |
Insert a new document into collection. Document Id must be a new value in collection - Returns document Id
Namespace: Internal.LiteDBAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
SyntaxBsonValue Insert<T>(
T entity,
string collectionName = null
)
Parameters
- entity T
-
- collectionName String (Optional)
-
Type Parameters
- T
Return Value
BsonValue
See Also