|
ModelAttributeIsValidInitialValue Method
|
Tests if the InitialValue property is valid for the type indicated
Namespace:
Sawczyn.EFDesigner.EFModel
Assembly:
Sawczyn.EFDesigner.EFModel.Dsl (in Sawczyn.EFDesigner.EFModel.Dsl.dll) Version: 2.0.5.3 (2.0.5.3)
Syntax public bool IsValidInitialValue(
string typeName = null,
string initialValue = null
)
Public Function IsValidInitialValue (
Optional typeName As String = Nothing,
Optional initialValue As String = Nothing
) As Boolean
Request Example
View SourceParameters
- typeName (Optional)
- Type: SystemString
Name of type to test. If typeName is null, Type property will be used. If initialValue is null, InitialValue property will be used - initialValue (Optional)
- Type: SystemString
Initial value to test
Return Value
Type:
Booleantrue if InitialValue is a valid value for the type, or if initialValue is null or empty
See Also