Click or drag to resize

IsamDataFileBaseT Methods

The IsamDataFileBaseT type exposes the following members.

Methods
  Name Description
Public method Close Closes the file.
Protected method CreateNewRecord When overridden in a derived class, returns a new empty record.
Public method Dispose Releases all the resources used by the file.
Protected method Dispose(Boolean) Releases the unmanaged resources used by the file and optionally releases the managed resources.
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
Protected method Finalize Releases the unmanaged resources before the file is reclaimed by GC.
(Overrides ObjectFinalize)
Public method GetHashCode Serves as the default hash function.
(Inherited from Object)
Protected method GetRecordSize When overridden in a derived class, gets the size of a record (in bytes).
Public method GetType Gets the Type of the current instance.
(Inherited from Object)
Public method Initialize Initializes the file.
Public method Load Loads records from disk into memory.
Public method LoadSettings Loads saved settings of the file from the config file if the PersistSettings property is set to true.
Protected method MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
Protected method OnDataLoaded Raises the DataLoaded event.
Protected method OnDataLoading Raises the DataLoading event.
Protected method OnDataSaved Raises the DataSaved event.
Protected method OnDataSaving Raises the DataSaving event.
Protected method OnFileModified Raises the FileModified event.
Public method Open Opens the file.
Public method Read Reads file records from disk if records were not loaded in memory otherwise returns the records in memory.
Public method Read(Int32) Reads specified file record from disk if records were not loaded in memory otherwise returns the record in memory.
Public method Save Saves records loaded in memory to disk.
Public method SaveSettings Saves settings of the file to the config file if the PersistSettings property is set to true.
Public method ToString Returns a string that represents the current object.
(Inherited from Object)
Public method Write(IEnumerableT) Writes specified records to disk if records were not loaded in memory otherwise updates the records in memory.
Public method Write(Int32, T) Writes specified record to disk if records were not loaded in memory otherwise updates the record in memory.
Top
Extension Methods
  Name Description
Public Extension Method GetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension Method GetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also