Nevron Open Vision Documentation
NDataSource Class Members
Fields  Properties  Methods  Events


The following tables list the members exposed by NDataSource.

Public Constructors
 NameDescription
Public ConstructorNDataSource ConstructorOverloaded.   
Top
Public Fields
 NameDescription
Public Fieldstatic (Shared in Visual Basic)DataChangedEvent  
Public Fieldstatic (Shared in Visual Basic)DataTableProperty  
Public Fieldstatic (Shared in Visual Basic)FieldInsertedEvent  
Public Fieldstatic (Shared in Visual Basic)FieldRemovedEvent  
Public Fieldstatic (Shared in Visual Basic)FieldRenamedEvent  
Public Fieldstatic (Shared in Visual Basic)NameChangedEvent  
Public Fieldstatic (Shared in Visual Basic)NDataSourceSchema  
Public Fieldstatic (Shared in Visual Basic)RowInsertedEvent  
Public Fieldstatic (Shared in Visual Basic)RowRemovedEvent  
Public Fieldstatic (Shared in Visual Basic)ValueChangedEvent  
Top
Public Properties
 NameDescription
Public PropertyCanAddFieldDetermines whether the data source supports the AddField operation  
Public PropertyCanAddRowDetermines whether the data source supports the AddRow operation  
Public PropertyCanInsertFieldDetermines whether the data source supports the InsertField operation  
Public PropertyCanInsertRowDetermines whether the data source supports the InsertRow operation  
Public PropertyCanRemoveFieldDetermines whether the data source supports the RemoveField operation  
Public PropertyCanRemoveRowDetermines whether the data source supports the RemoveRow operation  
Public PropertyCanRenameFieldDetermines whether the data source supports the RenameField operation  
Public PropertyDataTableGets the data provider associated with this data source.  
Public PropertyFieldCountGets the count of fields in the data source  
Public PropertyItemOverloaded. Gets or sets the value for the specified row field.  
Public PropertyNameGets or sets the data source name. The data source name is internally bound to the name of the underlying data provider.  
Public PropertyRowCountGets the count of rows in the data source  
Top
Public Methods
 NameDescription
Public MethodAddFieldAdds a new field, if CanAddField is true  
Public MethodAddRowOverloaded. Adds a row to the data table with default field values, if CanAddRow is true.  
Public MethodBeginDataChangeBegins a batch data change. During such a change the data table will not notify observers about changes. The call to the BeginDataChange() method, must always be paired with an EndDataChange() call.  
Public MethodCreateFormulaFieldNameOverloaded. Creates an formula field name, with which you can reference the field in formulas.  
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 source and returns the recordset with the matching records  
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 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 a new 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 from the data table. if CanRemoveRow is true.  
Public MethodRemoveFieldRemoves a field at the specified index, if CanRemoveField is true  
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  
Public MethodTryGetMaxOverloaded. Tries to get the maximum value for the specified field. Returns false if the data table 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 table has no records, or the field type is not comparable.  
Top
Protected Methods
 NameDescription
Protected MethodOnDataChangedCalled when multiple rows have been inserted, removed or their values have changed.  
Protected MethodOnDataTableChangedCalled when the DataTable property has changed.  
Protected MethodOnFieldInsertedCalled when a field has been inserted at the specified index. Raises the FieldInserted event  
Protected MethodOnFieldRemovedCalled when a field has been removed at the specified index. Raises the FieldRemoved event  
Protected MethodOnFieldRenamedCalled when a field has been renamed at the specified index. Raises the FieldRenamed event  
Protected MethodOnNameChangedCalled when the name of the data source has changed.  
Protected MethodOnRowInsertedCalled when a row has been inserted at the specified index. Raises the RowInserted event  
Protected MethodOnRowRemovedCalled when a row has been removed at the specified index. Raises the RowRemoved event  
Protected MethodOnValueChangedCalled when the value at the specified row/field position has changed. Raises the ValueChanged event  
Top
Public Events
 NameDescription
Public EventDataChangedOccurs when multiple rows have been inserted or removed or when multiple cell values have changed.  
Public EventFieldInsertedOccurs when a field has been inserted in the data source.  
Public EventFieldRemovedOccurs when a field has been removed from the data source.  
Public EventFieldRenamedOccurs when the name of a field in the data source has changed.  
Public EventNameChangedOccurs when the name of the data source has changed.  
Public EventRowInsertedOccurs when a row has been inserted in the data source.  
Public EventRowRemovedOccurs when a row has been removed from the data source.  
Public EventValueChangedOccurs when a [row;field] cell value has changed.  
Top
See Also

Reference

NDataSource Class
Nevron.Nov.Data Namespace

 

 


©2017. Nevron Software LLC.

Send Feedback