Associate meta information related to the
desired table mapping.
Namespace: Castle.ActiveRecord
Assembly: Castle.ActiveRecord (in Castle.ActiveRecord.dll)
Version: 1.0.3.0
Syntax
| C# |
|---|
[SerializableAttribute] [AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false)] public class ActiveRecordAttribute : BaseAttribute |
Remarks
If no table is specified, the class name
is used as table name
Examples
[ActiveRecord("tb_Order")] public class Order : ActiveRecordBase { } |
Inheritance Hierarchy
System..::Object
System..::Attribute
Castle.ActiveRecord..::WithAccessAttribute
Castle.ActiveRecord..::BaseAttribute
Castle.ActiveRecord..::ActiveRecordAttribute
System..::Attribute
Castle.ActiveRecord..::WithAccessAttribute
Castle.ActiveRecord..::BaseAttribute
Castle.ActiveRecord..::ActiveRecordAttribute
See Also
ActiveRecordAttribute Members
Castle.ActiveRecord Namespace