Utils Members

CSAL Mongo

Utils Members CSAL Mongo Access Library
The Utils type exposes the following members.
Methods

  NameDescription
Public methodStatic memberLessonIDSort
Translation helper that returns a string-sortable version of a lesson ID
Public methodStatic memberParseJson 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.
Back to Top
See Also