Table of contents
ImportAttribute API Document
This is used to map between a type to a friendly name that can be used in the queries. This attribute is representing an
Example
[Import(typeof(SummaryRow), "summary")]Constructors
ImportAttribute(Type type, String rename)
Initializes a new instance of the Castle.ActiveRecord.ImportAttribute class.
| Parameter | Description |
|---|---|
| type | The type. |
| rename | The rename. |
Properties
| Name | Type | Description |
|---|---|---|
| Type | Type | Gets the type that is being imported |
| Rename | String | Gets or sets the renamed string that will replace the full type name in HQL queries for the specified type. |