C# Class Zetbox.App.Extensions.PropertyExtensions

Mostra file Open project: daszat/zetbox

Public Methods

Method Description
GetAssociationName ( this prop ) : string

Returns the association name for the given ValueTypeProperty or StructProperty

GetIsList ( this prop ) : bool
GetLengthConstraint ( this prop ) : StringRangeConstraint
GetMaxLength ( this prop ) : int
GetScale ( this prop ) : int
GetSize ( this prop ) : int
HasLengthConstraint ( this prop ) : bool
IsCalculated ( this p ) : bool
IsClientReadOnly ( this p ) : bool
IsInitOnly ( this p ) : bool
IsNullable ( this p ) : bool
IsReadOnly ( this p ) : bool
IsViewReadOnly ( this p ) : bool

Method Details

GetAssociationName() public static method

Returns the association name for the given ValueTypeProperty or StructProperty
public static GetAssociationName ( this prop ) : string
prop this
return string

GetIsList() public static method

public static GetIsList ( this prop ) : bool
prop this
return bool

GetLengthConstraint() public static method

public static GetLengthConstraint ( this prop ) : StringRangeConstraint
prop this
return StringRangeConstraint

GetMaxLength() public static method

public static GetMaxLength ( this prop ) : int
prop this
return int

GetScale() public static method

public static GetScale ( this prop ) : int
prop this
return int

GetSize() public static method

public static GetSize ( this prop ) : int
prop this
return int

HasLengthConstraint() public static method

public static HasLengthConstraint ( this prop ) : bool
prop this
return bool

IsCalculated() public static method

public static IsCalculated ( this p ) : bool
p this
return bool

IsClientReadOnly() public static method

public static IsClientReadOnly ( this p ) : bool
p this
return bool

IsInitOnly() public static method

public static IsInitOnly ( this p ) : bool
p this
return bool

IsNullable() public static method

public static IsNullable ( this p ) : bool
p this
return bool

IsReadOnly() public static method

public static IsReadOnly ( this p ) : bool
p this
return bool

IsViewReadOnly() public static method

public static IsViewReadOnly ( this p ) : bool
p this
return bool