InnerJoinAttribute constructor (1 of 4)
namespace: Serenity.Data.Mapping assembly: Serenity.Net.Data
Adds a inner join on foreign key. Use this version only on properties with ForeignKey attribute.
public InnerJoinAttribute(string alias)
| parameter | description |
|---|---|
| alias | Foreign join alias |
See Also
- class InnerJoinAttribute
InnerJoinAttribute constructor (2 of 4)
namespace: Serenity.Data.Mapping assembly: Serenity.Net.Data
Adds a inner join on foreign key. Use this version only on properties with ForeignKey attribute.
public InnerJoinAttribute(string alias, params ServerType[] serverTypes)
| parameter | description |
|---|---|
| alias | Foreign join alias |
| serverTypes | Dialects like MySql, Sqlite. |
See Also
- enum ServerType
- class InnerJoinAttribute
InnerJoinAttribute constructor (3 of 4)
namespace: Serenity.Data.Mapping assembly: Serenity.Net.Data
Adds a inner join
public InnerJoinAttribute(string alias, string toTable, string onCriteria)
| parameter | description |
|---|---|
| alias | Join alias |
| toTable | Join table |
| onCriteria | 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. |
See Also
- class InnerJoinAttribute
InnerJoinAttribute constructor (4 of 4)
namespace: Serenity.Data.Mapping assembly: Serenity.Net.Data
Adds a inner join
public InnerJoinAttribute(string alias, string toTable, string onCriteria,
params ServerType[] serverTypes)
| parameter | description |
|---|---|
| alias | Join alias |
| toTable | Join table |
| onCriteria | 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. |
| serverTypes | Dialects like MySql, Sqlite. |
See Also
- enum ServerType
- class InnerJoinAttribute