Utils Methods | CSAL Mongo Access Library |
The Utils type exposes the following members.
Back to Top
Methods
Name | Description | |
---|---|---|
LessonIDSort |
Translation helper that returns a string-sortable version of a
lesson ID
| |
ParseJson TModel |
Given a chunk of JSON, parse it and return the specified type. Note
that this helper utilizes the BsonDocument functionality from the C#
MongoDB driver, NOT the JSON library used by ASP.NET (and our Web API).
Also note that the JSON is tranlated on the fly to handle things like
the fields $id, Id, and _id.
|
See Also