Nevron Open Vision Documentation
NDataTable Class Members
Properties  Methods 


The following tables list the members exposed by NDataTable.

Public Properties
 NameDescription
Public PropertyCanAddFieldDetermines whether the data table supports the AddField operation  
Public PropertyCanAddRowDetermines whether the data table supports the AddRow operation  
Public PropertyCanInsertFieldDetermines whether the data table supports the InsertField operation  
Public PropertyCanInsertRowDetermines whether the data table supports the InsertRow operation  
Public PropertyCanRemoveFieldDetermines whether the data table supports the RemoveField operation  
Public PropertyCanRemoveRowDetermines whether the data table supports the RemoveRow operation  
Public PropertyCanRenameFieldDetermines whether the data table supports the RenameField operation  
Public PropertyFieldCountGets the count of fields in the data table  
Public PropertyItemOverloaded. Gets or sets the value for the specified row field.  
Public PropertyNameGets the name of the data table.  
Public PropertyRowCountGets the count of rows in the data table  
Top
Public Methods
 NameDescription
Public MethodAddFieldAdds the specified field, if CanAddField is true.  
Public MethodAddObserverAdds data table to this inner data table  
Public MethodAddRowOverloaded. Adds a row  
Public MethodBeginDataChangeBegins a batch data change. During such a change the data provider will not notify observers about changes. The call to the BeginDataChange() method, must always be paired with an EndDataChange() call.  
Public MethodDeepCloneReturns this instance (e.g. a shallow copy).  
Public MethodDropAllIndexesDrops all indexes  
Public MethodDropIndexDrops the specified field index  
Public MethodEndDataChangeEnds a batch data change, previously started by a call to BeginDataChange(). If any changes were made to the data table during the batch data change, the provider will notify the observers for a DataChange. The call to the EndDataChange() method, must always be paired with an BeginDataChange() call.  
Public MethodFilterOverloaded. Runs the filter on the entire data table and returns the recordset with the matching records  
Public Methodstatic (Shared in Visual Basic)FromObjectCreates a data table from the specified object.  
Public MethodGetFieldIndexGets the field index of the field with the specified name  
Public MethodGetFieldInfoOverloaded. Gets information about the field at the specified index  
Public MethodGetIndexGets the index on the specified field. Returns null if an index was not created.  
Public MethodGetObserversGets the observers associated with this data provider.  
Public MethodGetOrCreateIndexGets an existing index or creates such for the specified field index.  
Public MethodGetRowGets the row at the specified index.  
Public MethodGetValueOverloaded. Gets the value for a given [row:field]  
Public MethodInsertFieldInserts the specified field at the specified index, if CanInsertField is true.  
Public MethodInsertRowOverloaded. Inserts a new row with column default, at the specified index, if CanInsertRow is true  
Public MethodRemoveAllRowsRemoves all rows  
Public MethodRemoveFieldRemoves the field at the specified index, if CanRemoveField is true  
Public MethodRemoveObserverRemoves a data table from this inner data table  
Public MethodRemoveRowRemoves a row at the specified index, if CanRemoveRow is true  
Public MethodRenameFieldSets a new name to the field at the specified index, if CanRenameField is true.  
Public MethodSetValueOverloaded. Sets a value at the specified index. If the specified field is readonly, throws an exception.  
Public MethodTryGetMaxOverloaded. Tries to get the maximum value for the specified field. Returns false if the data provider has no records, or the field type is not comparable.  
Public MethodTryGetMinOverloaded. Tries to get the minimum value for the specified field. Returns false if the data provider has no records, or the field type is not comparable.  
Top
Protected Methods
 NameDescription
Protected MethodAddFieldCoreAdds a new field  
Protected MethodAddRowCoreOverloaded. Adds a new row with field default values.  
Protected MethodInsertFieldCoreInserts a new field at the specified index  
Protected MethodInsertRowCoreOverloaded. Inserts a new row with field default values  
Protected MethodOnDataChangedNotifies observers for a batch data change.  
Protected MethodOnFieldInsertedCalled when a field has been inserted at the specified index. Raises the FieldInserted notification  
Protected MethodOnFieldRemovedCalled when a field has been removed at the specified index. Raises the FieldRemoved notification  
Protected MethodOnFieldRenamedCalled when a field has been renamed at the specified index. Raises the FieldNameChanged notification  
Protected MethodOnNameChangedCalled when the name of the data table changes  
Protected MethodOnRowInsertedCalled when a row has been inserted at the specified index. Raises the RowInserted notification  
Protected MethodOnRowRemovedCalled when a row has been removed at the specified index. Raises the RowRemoved notification  
Protected MethodOnValueChangedCalled when the value at the specified row/field position has changed. Raises the ValueChanged notification  
Protected MethodRemoveAllRowsCoreRemoves all rows  
Protected MethodRemoveFieldCoreRemoves the field at the specified index  
Protected MethodRemoveRowCoreRemoves a row at the specified index  
Protected MethodRenameFieldCoreSets a new name to the field at the specified index, if CanRenameField is true.  
Protected MethodSetValueCoreSets the value for a given [row:field], if CanSetValue is true  
Top
See Also

Reference

NDataTable Class
Nevron.Nov.Data Namespace

 

 


©2017. Nevron Software LLC.

Send Feedback