Home

Castle Stronghold

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 in the mapping files

Example

[Import(typeof(SummaryRow), "summary")]

Constructors

ImportAttribute(Type type, String rename)

Initializes a new instance of the Castle.ActiveRecord.ImportAttribute class.

ParameterDescription
type The type.
rename The rename.

Properties

NameTypeDescription
TypeType Gets the type that is being imported
RenameString Gets or sets the renamed string that will replace the full type name in HQL queries for the specified type.

Google
Search WWW Search castleproject.org