ORM Sample Class Library

ContactOrmTemplate Members

ContactOrmTemplate overview

Public Instance Properties

Address1 Gets and Sets the Address1.
Address2 Gets and Sets the Address2.
City Gets and Sets the City.
Country Gets and Sets the Country.
DateCreated Gets and Sets the DateCreated.
ID Gets the ID.
ItemOverloaded. Gets and sets the property at the underlying row index.
PostalCode Gets and Sets the PostalCode.
State Gets and Sets the State.
Students Exposes the collection of child OleroTrainingBiz.Students.
Teachers Exposes the collection of child OleroTrainingBiz.Teachers.

Public Instance Methods

AddStudent Adds a OleroTrainingBiz.Student to the collection.
AddTeacher Adds a OleroTrainingBiz.Teacher 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
NewStudent Creates a new OleroTrainingBiz.Student, adding it to the collection.
NewTeacher Creates a new OleroTrainingBiz.Teacher, 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

ContactOrmTemplate Class | OleroTrainingBiz Namespace


See Also

Contact Class | OleroTrainingBiz Namespace

idate (inherited from CollectionBase)Performs additional custom processes when validating a value.

Protected Internal Instance Methods