See Also

ConstructorClass Class  | i3Design.Constructor.ObjectFactory Namespace

See Also ObjectFactory_FW1 Send Feedback on this Topic

ConstructorClass Class Members

ConstructorClass overview

Public Properties

Public Property _AllowDelete Set TRUE to allow deletion in bound control
Public Property _AllowEdit Overloaded.  
Public Property _GetErrors Returns an ArrayList on any errors.
Public Property _GetKey Returns a String representaion of the Primary Key of this Object.
Public Property _GetPropertyError Returns the Property Error as a String for Property of this Class..
Public Property _HasErrors Returns TRUE if this Object has any errors.
Public Property _KeepAsRoot Get and Set a Property Indicating if this Object should be Kept as a Root Object when being set as the Target of a Reference.
Public Property _ModelClassName Returns the BaseClass Name if this Class is a SubClass.
Public Property _Modified Returns TRUE if this Object has been Modified, is New or marked for Deletion.
Public Property _ObjectError Gets or Sets the ObjectError as a String.
Public Property _PKColumnNames Returns this Objects PrimaryKey Properties as an ArrayList.
Public Property _PKValues Returns this Objects PrimaryKey values as a HashTable.
Public Property _PKValuesArray Returns this Objects PrimaryKey values as a Object Array.
Public Property Disconnected Set/Unsets the database disconnection flag for this Object.
Public Property Item Overloaded.  

Public Methods

Public Method _ClearErrors Clears the Errors for this Object.
Public Method _Clone Returns an Identical copy of this Object that is not attached to an ObjectSet or a Parent Object.
Public Method _CloneRowAdd Set the DataRow cloned into this object into the underlying DataTable
Public Method _Delete Mark this Object as Deleted.
Public Method _GetOriginalPropertyValue Overridden. Returns the original value of the named Property
Public Method _GetPrimaryKey Returns the Primary Key Property Names and Values as a NameValueCollection.
Public Method _GetPropertiesInError Returns a String Array of Property Names that have an Error.
Public Method _GetPropertyValue Overridden. Returns the value of the named Property
Public Method _GetPropertyValueBoolean Overridden. Returns the value of the named Property as 'boolean'
Public Method _GetPropertyValueByte Overridden. Returns the value of the named Property as 'byte'
Public Method _GetPropertyValueByteArray Overridden. Returns the value of the named Property as 'byte array'
Public Method _GetPropertyValueChar Overridden. Returns the value of the named Property as 'char'
Public Method _GetPropertyValueDate Overridden. Returns the value of the named Property as 'date'
Public Method _GetPropertyValueDecimal Overridden. Returns the value of the named Property as 'decimal'
Public Method _GetPropertyValueDouble Overridden. Returns the value of the named Property as 'double'
Public Method _GetPropertyValueGUID Overridden. Returns the value of the named Property as 'guid (string)'
Public Method _GetPropertyValueInteger Overridden. Returns the value of the named Property as 'integer'
Public Method _GetPropertyValueLong Overridden. Returns the value of the named Property as 'long'
Public Method _GetPropertyValueShort Overridden. Returns the value of the named Property as 'short'
Public Method _GetPropertyValueSingle Overridden. Returns the value of the named Property as 'single'
Public Method _GetPropertyValueString Overridden. Returns the value of the named Property as 'string'
Public Method _IsNull Overridden. Returns TRUE if the value of the named Property is Null
Public Method _Refresh Overloaded.  
Public Method _Restore Restore this Object if it has been marked as Modified/Deleted and optionally restore any of its Child Objects that have been marked as Modified/Deleted.
Public Method _SetNull Overridden. Sets the value of the named Property to Null
Public Method _SetPrimaryKey Overloaded.  
Public Method _SetPropertyError Overloaded.  
Public Method _SetPropertyValue Overloaded. Overridden.  
Public Method _Update Overloaded.  
Public Method _Validate Validates that this Object is correctly populated with data.
This Function can be Overriden in Exposed Objects (generated class code)
Public Method SetDummyValues Sets dummy values into an object

Public Events

Public Event _PreUpdate  
Public Event _PropertyError Occurs when the RaisePropertyError method is called from code.
Public Event _Updated  
Public Event _Updating  

See Also

ConstructorClass Class  | i3Design.Constructor.ObjectFactory Namespace

 

 


©2006 i3 Design Limited. All rights reserved.