Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 999929c

Browse files
committed
JoinSqlBuilder - catered for schema escaping
1 parent 869afc9 commit 999929c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ServiceStack.OrmLite/JoinSqlBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ public JoinSqlBuilder<TNewPoco, TBasePoco> CrossJoin<TSourceTable, TDestinationT
376376

377377
private string GetSchema(Type type)
378378
{
379-
return string.IsNullOrEmpty(type.GetModelDefinition().Schema) ? string.Empty : string.Format("{0}.", type.GetModelDefinition().Schema);
379+
return string.IsNullOrEmpty(type.GetModelDefinition().Schema) ? string.Empty : string.Format("\"{0}\".", type.GetModelDefinition().Schema);
380380
}
381381

382382
private Type PreviousAssociatedType(Type sourceTableType, Type destinationTableType)

0 commit comments

Comments
 (0)