ComplexPropertyAttribute Class

Designates a property as a complex property that groups columns of a table that share the same base name.

Inheritance Hierarchy

System.Object
  System.Attribute
    DbExtensions.ComplexPropertyAttribute

Namespace:  DbExtensions
Assembly: DbExtensions.dll

Syntax

public sealed class ComplexPropertyAttribute : Attribute

The ComplexPropertyAttribute type exposes the following members.

Constructors

  Name Description
Public method ComplexPropertyAttribute Initializes a new instance of the ComplexPropertyAttribute class

Properties

  Name Description
Public property Name The base name for the columns on the complex property. The default is the property name.
Public property Separator The separator to use between the base name and the complex property’s columns. The default is null, which means the separator is taken from DefaultComplexPropertySeparator. To use no separator and override the default configuration, use an empty String.

See Also

Reference

DbExtensions Namespace

© Max Toro Q.