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