Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Lynicon provides some attributes for use in basic type declaration:

AddressComponent([routeKey, ConversionFormat=,UsePath=])Used to create a mapping from the Route Data of a request to the content item.  Indicates that the given route key maps to the value of this property.  A conversion format may be supplied for conversion of the value of this property to a string.
AlwaysIncludeOn a reference property, indicates that the reference should be fetched by default on every read via the API
DisplayBlock(title, order)Indicates which display block this field should be displayed in and indicates the title of the block, together with its order - its position in the list of blocks.  Note that properties without an order value given will be displayed at the end of the list.
NonCompositeIndicates that the type composition system will not be used for this type.  This allows Entity Framework relational features to work, they are incompatible currently with type composition.
NotMappedStandard Entity Framework attribute to indicate a property is not persisted.
ScaffoldColumn(false)The property is not available for editing in the content editor
  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.