Example #1
0
 public static IQueryable <TEntity> MatchTable <TEntity>(this ISQLiteExtensions ext, ITable <TEntity> table, string match)
     where TEntity : class
 {
     return(table.DataContext.FromSql <TEntity>($"{Sql.TableExpr(table, Sql.TableQualification.TableName)}({match})"));
 }
Example #2
0
 public static double?Rank <TEntity>(this ISQLiteExtensions ext, TEntity entity)
     where TEntity : class
 {
     throw new LinqException($"'{nameof(Rank)}' is server-side method.");
 }
Example #3
0
 public static string FTS5Highlight <TEntity>(this ISQLiteExtensions ext, TEntity entity, int columnIndex, string startMatch, string endMatch)
     where TEntity : class
 {
     throw new LinqException($"'{nameof(FTS5Highlight)}' is server-side method.");
 }
Example #4
0
 public static string FTS5Snippet <TEntity>(this ISQLiteExtensions ext, TEntity entity, int columnIndex, string startMatch, string endMatch, string ellipses, int tokensNumber)
     where TEntity : class
 {
     throw new LinqException($"'{nameof(FTS5Snippet)}' is server-side method.");
 }
Example #5
0
 public static double FTS5bm25 <TEntity>(this ISQLiteExtensions ext, TEntity entity, params double[] weights)
     where TEntity : class
 {
     throw new LinqException($"'{nameof(FTS5bm25)}' is server-side method.");
 }
Example #6
0
 public static bool Match(this ISQLiteExtensions ext, object entityOrColumn, string match)
 {
     throw new LinqException($"'{nameof(Match)}' is server-side method.");
 }
Example #7
0
 public static string FTS3Snippet <TEntity>(this ISQLiteExtensions ext, TEntity entity, string startMatch, string endMatch)
     where TEntity : class
 {
     throw new LinqException($"'{nameof(FTS3Snippet)}' is server-side method.");
 }
Example #8
0
 public static byte[] FTS3MatchInfo <TEntity>(this ISQLiteExtensions ext, TEntity entity, string format)
     where TEntity : class
 {
     throw new LinqException($"'{nameof(FTS3MatchInfo)}' is server-side method.");
 }
Example #9
0
 public static string FTS3Offsets <TEntity>(this ISQLiteExtensions ext, TEntity entity)
     where TEntity : class
 {
     throw new LinqException($"'{nameof(FTS3Offsets)}' is server-side method.");
 }