Class ModelBuilder.ModelBuilderEnumerator<T>
Enumerator that iterates through the materialized models.
Inheritance
System.Object
ModelBuilder.ModelBuilderEnumerator<T>
Namespace: Kros.KORM.Materializer
Assembly: Kros.KORM.dll
Syntax
public class ModelBuilderEnumerator<T> : IEnumerator<T>, IDisposable, IEnumerator
Type Parameters
| Name | Description |
|---|---|
| T | Model Type |
Properties
Current
Gets the element in the collection at the current position of the enumerator.
Declaration
public T Current { get; }
Property Value
| Type | Description |
|---|---|
| T |
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
MoveNext()
Advances the enumerator to the next element of the collection.
Declaration
public bool MoveNext()
Returns
| Type | Description |
|---|---|
| System.Boolean | true if the enumerator was successfully advanced to the next element, false if the enumerator has passed the end of the collection. |
Reset()
Sets the enumerator to its initial position, which is before the first element in the collection.
Declaration
public void Reset()
Exceptions
| Type | Condition |
|---|---|
| System.NotImplementedException |
See Also
System.Collections.Generic.IEnumerator<T>