C# Class Serenity.Data.Mapping.InnerJoinAttribute

Inheritance: System.Attribute
Mostrar archivo Open project: volkanceylan/Serenity

Public Methods

Method Description
InnerJoinAttribute ( string alias ) : System

Adds a inner join on foreign key. Use this version only on properties with ForeignKey attribute.

InnerJoinAttribute ( string alias, string toTable, string onCriteria ) : System

Adds a inner join

Method Details

InnerJoinAttribute() public method

Adds a inner join on foreign key. Use this version only on properties with ForeignKey attribute.
public InnerJoinAttribute ( string alias ) : System
alias string Foreign join alias
return System

InnerJoinAttribute() public method

Adds a inner join
public InnerJoinAttribute ( string alias, string toTable, string onCriteria ) : System
alias string Join alias
toTable string Join table
onCriteria string If the attribute is used on a property, this parameter is a field name, if used on a class, /// this parameter is the ON criteria of the inner join statement.
return System