C# Class Castle.ActiveRecord.ActiveRecordAttribute

Inheritance: BaseAttribute
Show file Open project: nats/castle-1.0.3-mono Class Usage Examples

Public Methods

Method Description
ActiveRecordAttribute ( ) : System

Uses the class name as table name

ActiveRecordAttribute ( String table ) : System

Associates the specified table with the target type

ActiveRecordAttribute ( String table, String schema ) : System

Associates the specified table and schema with the target type

Method Details

ActiveRecordAttribute() public method

Uses the class name as table name
public ActiveRecordAttribute ( ) : System
return System

ActiveRecordAttribute() public method

Associates the specified table with the target type
public ActiveRecordAttribute ( String table ) : System
table String
return System

ActiveRecordAttribute() public method

Associates the specified table and schema with the target type
public ActiveRecordAttribute ( String table, String schema ) : System
table String
schema String
return System