DarkFlame
DarkFlame
I use linq2db without entity tracking and I find out I can't call ProjectToType from IMapper. I have to add below code ```csharp public static class TypeAdapterBuilderExtensions { public static...
```cs db.CreateTable(tableOptions: TableOptions.CreateIfNotExists); db.CreateTable(tableOptions: TableOptions.CreateIfNotExists); var id = 1; await db.GetTable().LoadWith(a => a.Items, a => a.Where(a => a.Id == id)).ToListAsync(); id = 2; await db.GetTable().LoadWith(a => a.Items, a => a.Where(a...
在 mt7621(newifi D1) openwrt下运行显示该错误 请问有什么解决办法吗
Or is there trick can I use to implement it?
error now: ``` System.TypeLoadException:“Could not load type 'LinqToDB.Expressions.Extensions' from assembly 'linq2db, Version=4.2.0.0, Culture=neutral, PublicKeyToken=e41013125f9e410a'.” ```
example ```cs [JsonSchemaType(typeof(string),typeof(string[]))] public object Prop { get; set; } ``` or ```cs [JsonSchemaType(typeof(string))] [JsonSchemaType(typeof(string[]))] public object Prop { get; set; } ```
```cs public static partial class SqlFnEx { [Sql.TableExpression("string_split({2},{3}) {1}")] public static IQueryable StringSplit(string str, char delimiter) { return (str?.Split(delimiter, StringSplitOptions.None) ?? Array.Empty()).Select(a => new ValueWrapper() { Value = a }).AsQueryable();...