Method RegisterLocalColumn
| Improve this Doc View SourceRegisterLocalColumn<TModel, T>(Expression<Func<TModel, LocalColumn<T>>>)
Registers a new local column.
Declaration
protected static void RegisterLocalColumn<TModel, T>(Expression<Func<TModel, LocalColumn<T>>> getter)
where TModel : Model
Parameters
| Type | Name | Description |
|---|---|---|
| System.Linq.Expressions.Expression<System.Func<TModel, LocalColumn<T>>> | getter | The lambda expression of the column getter. |
Type Parameters
| Name | Description |
|---|---|
| TModel | The type of model which the column is registered on. |
| T | The data type of the local column. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException |
|
| System.ArgumentException |
|