Appearance
CreateLeftForeignKey Method
Definition
- Namespace:
JASE.Database - Assembly:
JASE.Database.dll
TableJoin CreateLeftForeignKey(TableInfo targetTable, TableInfo rootTable, string alias, string logicalName, string rootAlias, string foreignKeyColumnOnRoot, string targetKeyColumn = null, IEnumerable<string> columns = null)
csharp
TableJoin CreateLeftForeignKey(TableInfo targetTable, TableInfo rootTable, string alias, string logicalName, string rootAlias, string foreignKeyColumnOnRoot, string targetKeyColumn = null, IEnumerable<string> columns = null)Creates a LEFT JOIN from a root table foreign-key column to the target table primary key.