Class Cursor
Represents a buffer-less unidicrectional reader that binds IEnumerable(Row) and the backend resource (such as SQLReader or other object which is internal to the backend). The cursor is NOT thread-safe and must be disposed properly by closing all resources associated with it. Only one iteration (one call to GetEnumerator) is possible
Implements
System.IDisposable
    System.Collections.Generic.IEnumerable<Row>
    System.Collections.IEnumerable
  Inherited Members
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.ToString()
    
  Namespace: NFX.DataAccess.CRUD
Assembly: NFX.dll
Syntax
public abstract class Cursor : DisposableObject, IDisposable, IEnumerable<Row>, IEnumerable
  Constructors
Cursor(IEnumerable<Row>)
This method is not inteded to be called by application developers
Declaration
protected Cursor(IEnumerable<Row> source)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Collections.Generic.IEnumerable<Row> | source | 
Fields
m_Enumerator
Declaration
protected Cursor.enumerator m_Enumerator
  Field Value
| Type | Description | 
|---|---|
| Cursor.enumerator | 
m_Source
Declaration
protected IEnumerable<Row> m_Source
  Field Value
| Type | Description | 
|---|---|
| System.Collections.Generic.IEnumerable<Row> | 
Methods
Destructor()
Declaration
protected override void Destructor()
  Overrides
GetEnumerator()
Declaration
public virtual IEnumerator<Row> GetEnumerator()
  Returns
| Type | Description | 
|---|---|
| System.Collections.Generic.IEnumerator<Row> | 
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
  Returns
| Type | Description | 
|---|---|
| System.Collections.IEnumerator | 
Implements
      System.IDisposable
  
  
      System.Collections.Generic.IEnumerable<T>
  
  
      System.Collections.IEnumerable