Hi,
i get naming problems when joining a many to many relation table with same name.
System.Data.SqlClient.SqlException: ‘The objects “LicenseItems” and “LicenseItems” in the FROM clause have the same exposed names. Use correlation names to distinguish them.’
var licenseItems =
Db.Select(Db
.From<LicenseItem>()
.Join<LicenseTypeItem,LicenseItem>((li,lt) => lt.Id == li.LicenseItemsId && li.LicenseTypesId == licenseType.Id)
).ToList();