ORM Sample Class Library

DataManager Methods

The methods of the DataManager class are listed below. For a complete list of DataManager class members, see the DataManager Members topic.

Public Instance Methods

CommitAll (inherited from DataManagerBase) Commits the current dataset to the database.
CommitAllDebug (inherited from DataManagerBase) Does not commit the data to the DB
CommitDataSet (inherited from DataManagerBase) Commits a dataset to the database.
DiscardChanges (inherited from DataManagerBase) Discards all changes made since the last call to CommitAll().
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
ExecuteProcedure (inherited from DataManagerBase) Should we expose this? Executes a stored proc.
GetContact Gets a OleroTrainingBiz.Contact based on the criteria specified by QueryCriteria.And(..).
GetContactCollectionOverloaded. Gets multiple Contacts based on the criteria specified by QueryCriteria.And(..).
GetContactCollectionFromDataSet Gets a collection of Contact from the already loaded records in this DataManager instance.
GetContactFromDataSet Gets a OleroTrainingBiz.Contact from the already loaded records in this DataManager, by primary key.
GetCourse Gets a OleroTrainingBiz.Course based on the criteria specified by QueryCriteria.And(..).
GetCourseCollectionOverloaded. Gets multiple Courses based on the criteria specified by QueryCriteria.And(..).
GetCourseCollectionFromDataSet Gets a collection of Course from the already loaded records in this DataManager instance.
GetCourseFromDataSet Gets a OleroTrainingBiz.Course from the already loaded records in this DataManager, by primary key.
GetDataView (inherited from DataManagerBase) Gets a view from the Database
GetEnrollment Gets a OleroTrainingBiz.Enrollment based on the criteria specified by QueryCriteria.And(..).
GetEnrollmentCollectionOverloaded. Gets multiple Enrollments based on the criteria specified by QueryCriteria.And(..).
GetEnrollmentCollectionFromDataSet Gets a collection of Enrollment from the already loaded records in this DataManager instance.
GetEnrollmentFromDataSet Gets a OleroTrainingBiz.Enrollment from the already loaded records in this DataManager, by primary key.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetRoom Gets a OleroTrainingBiz.Room based on the criteria specified by QueryCriteria.And(..).
GetRoomCollectionOverloaded. Gets multiple Rooms based on the criteria specified by QueryCriteria.And(..).
GetRoomCollectionFromDataSet Gets a collection of Room from the already loaded records in this DataManager instance.
GetRoomFromDataSet Gets a OleroTrainingBiz.Room from the already loaded records in this DataManager, by primary key.
GetSchedule Gets a OleroTrainingBiz.Schedule based on the criteria specified by QueryCriteria.And(..).
GetScheduleCollectionOverloaded. Gets multiple Schedules based on the criteria specified by QueryCriteria.And(..).
GetScheduleCollectionFromDataSet Gets a collection of Schedule from the already loaded records in this DataManager instance.
GetScheduleFromDataSet Gets a OleroTrainingBiz.Schedule from the already loaded records in this DataManager, by primary key.
GetStudent Gets a OleroTrainingBiz.Student based on the criteria specified by QueryCriteria.And(..).
GetStudentCollectionOverloaded. Gets multiple Students based on the criteria specified by QueryCriteria.And(..).
GetStudentCollectionFromDataSet Gets a collection of Student from the already loaded records in this DataManager instance.
GetStudentFromDataSet Gets a OleroTrainingBiz.Student from the already loaded records in this DataManager, by primary key.
GetTeacher Gets a OleroTrainingBiz.Teacher based on the criteria specified by QueryCriteria.And(..).
GetTeacherCollectionOverloaded. Gets multiple Teachers based on the criteria specified by QueryCriteria.And(..).
GetTeacherCollectionFromDataSet Gets a collection of Teacher from the already loaded records in this DataManager instance.
GetTeacherFromDataSet Gets a OleroTrainingBiz.Teacher from the already loaded records in this DataManager, by primary key.
GetType (inherited from Object)Gets the Type of the current instance.
NewContact Creates a new Contact.
NewCourse Creates a new Course.
NewEnrollment Creates a new Enrollment.
NewRoom Creates a new Room.
NewSchedule Creates a new Schedule.
NewStudent Creates a new Student.
NewTeacher Creates a new Teacher.
PopulateObjectsFromDataSet (inherited from DataManagerBase) Merges a given dataset into the DataManagers underlying dataset, so that objects may be avalable via the Get<Object>FromDataSet(PKey) signature.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

Protected Internal Instance Methods

ExecuteSql (inherited from DataManagerBase)Overloaded. Executes the SQL against the current database.

See Also

DataManager Class | OleroTrainingBiz Namespace


ToString (inherited from Object)Returns a String that represents the current Object.

Public Instance Events