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 |
|---|---|
| ComplexPropertyAttribute | Initializes a new instance of the ComplexPropertyAttribute class |
Properties
| Name | Description |
|---|---|
| Name | The base name for the columns on the complex property. The default is the property name. |
| 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 DatabaseConfiguration.DefaultComplexPropertySeparator. To use no separator and override the default configuration, use an empty String. |