C# Class ServiceStack.OrmLite.OrmLiteConfigExtensions

Exibir arquivo Open project: ServiceStack/ServiceStack.OrmLite Class Usage Examples

Public Methods

Method Description
CalculateStringLength ( this propertyInfo, ServiceStack.DataAnnotations.DecimalLengthAttribute decimalAttribute ) : ServiceStack.DataAnnotations.StringLengthAttribute

Private Methods

Method Description
CheckForIdField ( IEnumerable objProperties ) : bool
ClearCache ( ) : void
GetModelDefinition ( this modelType ) : ModelDefinition

Method Details

CalculateStringLength() public static method

public static CalculateStringLength ( this propertyInfo, ServiceStack.DataAnnotations.DecimalLengthAttribute decimalAttribute ) : ServiceStack.DataAnnotations.StringLengthAttribute
propertyInfo this
decimalAttribute ServiceStack.DataAnnotations.DecimalLengthAttribute
return ServiceStack.DataAnnotations.StringLengthAttribute