CSALDatabase.FindLesson Method

CSAL Mongo

CSALDatabase FindLesson Method CSAL Mongo Access Library
Return a single lesson by ID (or null if not found)

Namespace: CSALMongo
Assembly: CSALMongo (in CSALMongo.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

public Lesson FindLesson(
	string lessonID
)
public Lesson FindLesson(
	string lessonID
)
Public Function FindLesson ( 
	lessonID As String
) As Lesson
Public Function FindLesson ( 
	lessonID As String
) As Lesson
public:
Lesson^ FindLesson(
	String^ lessonID
)
public:
Lesson^ FindLesson(
	String^ lessonID
)

Parameters

lessonID
Type: OnlineSystem String
ID of lessong to locate

Return Value

Type: Lesson
Instance of Model.Lesson or null if not found
See Also