Class TypedDataTableBase<T>
Table base class
Namespace: MESL.SqlRace.Domain.Infrastructure.DataAccess
Assembly: MESL.SqlRace.Domain.dll
Syntax
public abstract class TypedDataTableBase<T> : DataTable
Type Parameters
Name | Description |
---|---|
T | The template type |
Constructors
TypedDataTableBase(String, Int32)
Initialises a new instance of the TypedDataTableBase<T> class.
Declaration
protected TypedDataTableBase(string name, int capacity)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The table name. |
System.Int32 | capacity | The capacity. |
Methods
Add(T)
Adds the specified item.
Declaration
public abstract void Add(T item)
Parameters
Type | Name | Description |
---|---|---|
T | item | The item to add. |