Click or drag to resize
EF Visual Editor

ModelAttributeToString Method

Returns a string that represents the current object.

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 override string ToString()
Request Example View Source

Return Value

Type: String
A string that represents the current object. Note that this is a parsable string when turning back to a ModelAttribute.
Remarks
Output is, in order:
  • Visibility
  • Type (with optional '?' if not a required field
  • Min/Max length in brackets, if a string field and length(s) is/are specified
  • Name (with optional '!' if an identity field
  • an equal sign (=) followed by an initializer, if an initializer is specified
See Also