C# Class ET.Obj2Schema.Attributes.LengthAttribute

Inheritance: System.Attribute
Mostrar archivo Open project: etcoding/Obj2Schema

Public Methods

Method Description
LengthAttribute ( int length ) : System
LengthAttribute ( string customLen ) : System

Initializes a new instance of the LengthAttribute class. This is for cases when length is not a single digit (e.g. double in MySql can have length of (10,2)).

Method Details

LengthAttribute() public method

public LengthAttribute ( int length ) : System
length int
return System

LengthAttribute() public method

Initializes a new instance of the LengthAttribute class. This is for cases when length is not a single digit (e.g. double in MySql can have length of (10,2)).
public LengthAttribute ( string customLen ) : System
customLen string The custom length declaration.
return System