Method WithDefaultValue
| Improve this Doc View SourceWithDefaultValue<TColumn, TValue>(TColumn, TValue, String, String)
Specifies default value for column.
Declaration
public static TColumn WithDefaultValue<TColumn, TValue>(this TColumn column, TValue value, string name, string description)
    where TColumn : Column<TValue>, new()
Parameters
| Type | Name | Description | 
|---|---|---|
| TColumn | column | The column.  | 
    
| TValue | value | The value.  | 
    
| System.String | name | The name of the default constraint.  | 
    
| System.String | description | The description of the default constraint.  | 
    
Returns
| Type | Description | 
|---|---|
| TColumn | This column for fluent coding.  | 
    
Type Parameters
| Name | Description | 
|---|---|
| TColumn | Type of column.  | 
    
| TValue | Type of value.  |