Show / Hide Table of Contents

Method SetDefaultValue

| Improve this Doc View Source

SetDefaultValue(T, String, String)

Defines the default constant value for this column.

Declaration
public void SetDefaultValue(T value, string name, string description)
Parameters
Type Name Description
T value

The default constant value.

System.String name

The name of the default constraint.

System.String description

The description of the default constraint.

Remarks

To define default expression value, call SetDefault<T>(T, T, String, String) method.

  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest