Method | Description | |
---|---|---|
CourseManager ( ICourseDataProvider dataProvider ) : System |
Initializes a new instance of the CourseManager class.
|
|
DeleteCourse ( Course course ) : int |
Deletes the specified Course.
|
|
Exists ( Course course, bool throwIfNotFound = false ) : bool |
Determines if the specified course exists in persistent storage.
|
|
LoadCourse ( System.Guid id ) : Course |
Loads the course having the specified id.
|
|
SaveCourse ( Course course ) : Course |
Save the course.
|
public CourseManager ( ICourseDataProvider dataProvider ) : System | ||
dataProvider | ICourseDataProvider | The data provider. |
return | System |
public DeleteCourse ( Course course ) : int | ||
course | Course | The course. |
return | int |
public Exists ( Course course, bool throwIfNotFound = false ) : bool | ||
course | Course | The course. |
throwIfNotFound | bool | if set to |
return | bool |
public LoadCourse ( System.Guid id ) : Course | ||
id | System.Guid | The identifier. |
return | Course |
public SaveCourse ( Course course ) : Course | ||
course | Course | The course. |
return | Course |