This is used to map between a type to a friendly name that can be used in the queries.
This attribute is representing an <import/> in the mapping files
Namespace: Castle.ActiveRecord
Assembly: Castle.ActiveRecord (in Castle.ActiveRecord.dll)
Version: 1.0.3.0
Syntax
| C# |
|---|
[SerializableAttribute] [AttributeUsageAttribute(AttributeTargets.Assembly|AttributeTargets.Class, AllowMultiple = true)] public class ImportAttribute : Attribute |
Examples
[Import(typeof(SummaryRow), "summary")]
Inheritance Hierarchy
See Also
ImportAttribute Members
Castle.ActiveRecord Namespace