ORM Sample Class Library

StudentOrmTemplate Members

StudentOrmTemplate overview

Public Instance Properties

Contact Gets and Sets the parent OleroTrainingBiz.Contact.
DateCreated Gets and Sets the DateCreated.
Enrollments Exposes the collection of child OleroTrainingBiz.Enrollments.
FirstName Gets and Sets the FirstName.
FKContactID Gets and Sets the FKContactID.
ID Gets the ID.
ItemOverloaded. Gets and sets the property at the underlying row index.
LastName Gets and Sets the LastName.

Public Instance Methods

AddEnrollment Adds a OleroTrainingBiz.Enrollment to the collection.
Delete (inherited from BusinessBase) When CommitAll() is called, the underlying row will be deleted from the database
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
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.
GetType (inherited from Object)Gets the Type of the current instance.
IsDeleted Returns true if the underlying DataRow.RowState is marked as DataRowState.Deleted
NewEnrollment Creates a new OleroTrainingBiz.Enrollment, adding it to the collection.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Fields

DataSet (inherited from Business) The associated dataset for the underlying row.
Relations (inherited from Business) All the relations in the schema.

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.
OnChanged (inherited from BusinessBase) Method to fire the onListItemChanged event of all parent Collections

Protected Internal Instance Fields

dataRow (inherited from BusinessBase) This is an internal field and should not be used.
Parents (inherited from BusinessBase) Represents an array of the objects' parents. That is, all the collections that it is in.

Explicit Interface Implementations

ICustomTypeDescriptor.GetAttributes (inherited from BusinessBase)GetAttributes
ICustomTypeDescriptor.GetClassName (inherited from BusinessBase)GetClassName
ICustomTypeDescriptor.GetComponentName (inherited from BusinessBase)GetComponentName
ICustomTypeDescriptor.GetConverter (inherited from BusinessBase)GetConverter
ICustomTypeDescriptor.GetDefaultEvent (inherited from BusinessBase)GetDefaultEvent
ICustomTypeDescriptor.GetDefaultProperty (inherited from BusinessBase)GetDefaultProperty
ICustomTypeDescriptor.GetEditor (inherited from BusinessBase)GetEditor
ICustomTypeDescriptor.GetEvents (inherited from BusinessBase)Overloaded. GetEvents
ICustomTypeDescriptor.GetProperties (inherited from BusinessBase)Overloaded. GetProperties
ICustomTypeDescriptor.GetPropertyOwner (inherited from BusinessBase)GetPropertyOwner
IEditableObject.BeginEdit (inherited from BusinessBase)BeginEdit
IEditableObject.CancelEdit (inherited from BusinessBase)CancelEdit
IEditableObject.EndEdit (inherited from BusinessBase)EndEdit

See Also

StudentOrmTemplate Class | OleroTrainingBiz Namespace


clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e" viewastext="true" style="display: none;">
">IBindingList.AddNew (inherited from CollectionTemplate) If the parent is supplied ( a parent or the datamanger ) then it will be used to create a new object, providing the object has no parameters on its constructor.