ORM Sample Class Library

DataManager.GetCourse Method 

Gets a OleroTrainingBiz.Course based on the criteria specified by QueryCriteria.And(..).

[Visual Basic]
Public Function GetCourse( _
   ParamArray relations As FetchPathRelation() _
) As Course
[C#]
public Course GetCourse(
   params FetchPathRelation[] relations
);

Parameters

relations
Specify which related tables should be fetched during this query

Return Value

A Course, or null if not found

See Also

DataManager Class | OleroTrainingBiz Namespace


id:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e" viewastext="true" style="display: none;">
od.gif">ICustomTypeDescriptor.GetClassName (inherited from BusinessBase)GetClassName