예제 #1
0
 protected override string StringifyGeoIntersects(BinaryFuncSegment segment)
 {
     throw new NotSupportedException(segment.Func);
 }
예제 #2
0
 // endswith(CompanyName,'Futterkiste')
 protected override string StringifyEndswith(BinaryFuncSegment segment)
 {
     return(string.Format("{0} LIKE '%' + {1}", ToSqlString(segment.Left), ToSqlString(segment.Right)));
 }
예제 #3
0
 // startswith(CompanyName,'Alfr')
 protected override string StringifyStartswith(BinaryFuncSegment segment)
 {
     return(string.Format("{0} LIKE concat({1}, '%')", ToSqlString(segment.Left), ToSqlString(segment.Right)));
 }