Method GetTable
| Improve this Doc View SourceGetTable<T>(ref DbTable<T>, String)
Gets the DbTable object.
Declaration
protected DbTable<T> GetTable<T>(ref DbTable<T> cachedValue, string name = null)
where T : Model, new()
Parameters
Type | Name | Description |
---|---|---|
DbTable<T> | cachedValue | The reference of cached value. |
System.String | name | The name of the database table. |
Returns
Type | Description |
---|---|
DbTable<T> | The DbTable object. |
Type Parameters
Name | Description |
---|---|
T | Model type of the table. |