C# Class Composite.Data.DynamicTypes.StoreFieldType

ファイルを表示 Open project: Orckestra/C1-CMS Class Usage Examples

Public Methods

Method Description
Decimal ( int precision, int scale ) : StoreFieldType

Builds a StoreFieldType describing a decimal.

Deserialize ( string serializedData ) : StoreFieldType
IsConvertibleTo ( StoreFieldType newStoreFieldType ) : bool

Evaluate if one field type can safely change to another type.

Serialize ( ) : string
String ( int maximumLength ) : StoreFieldType

Builds a StoreFieldType describing a string.

ToString ( ) : string

Private Methods

Method Description
StoreFieldType ( PhysicalStoreFieldType storeType ) : System
StoreFieldType ( PhysicalStoreFieldType storeType, int maxLength ) : System
StoreFieldType ( PhysicalStoreFieldType storeType, int precision, int scale ) : System

Method Details

Decimal() public static method

Builds a StoreFieldType describing a decimal.
public static Decimal ( int precision, int scale ) : StoreFieldType
precision int precision
scale int scale
return StoreFieldType

Deserialize() public static method

public static Deserialize ( string serializedData ) : StoreFieldType
serializedData string
return StoreFieldType

IsConvertibleTo() public method

Evaluate if one field type can safely change to another type.
public IsConvertibleTo ( StoreFieldType newStoreFieldType ) : bool
newStoreFieldType StoreFieldType New store field type
return bool

Serialize() public method

public Serialize ( ) : string
return string

String() public static method

Builds a StoreFieldType describing a string.
public static String ( int maximumLength ) : StoreFieldType
maximumLength int String maximum length
return StoreFieldType

ToString() public method

public ToString ( ) : string
return string