dataobjects-net
dataobjects-net copied to clipboard
Introduce IAsyncEnumerable on DelayedQuery to utilize async Session query while asynchronously prefetching data. We need IAsyncEnumerable implementation here as if it is used inside a Prefetch, which is a fairly...
The [Field] properties inside class are sorted in order of MetadataToken value. Properties, inherited from base class are first.
DO 7.0.3 Fail to execute query that contains > 1 aggregate value by field with link access inside lambda expression Code sample using System.Linq.Expressions; using DoTest; using Microsoft.Data.SqlClient; using Xtensive.Orm;...
In typical ASP.NET apps `.ConfigureAwait(false)` creates unnecessary overhead (a few nanoseconds). `.ConfigureAwait(false)` makes sense mostly for UI applications, with non-null Synchronization Context This can be switched off by setting environment...
DO 7.1.1 Structure inner field bulk update produce wrong sql query, see code sample below ``` private static async Task Main(string[] args) { try { DbHelper.ExecuteNonQuery("DROP DATABASE [DO-Tests]"); } catch...
this is a bit confusing: https://github.com/DataObjects-NET/dataobjects-net/blob/2be511d0e5083e1b2cd58151e03d14a1d6604e5c/Orm/Xtensive.Orm/Orm/QueryEndpoint.cs#L349 The .Single inside will throw hence the nullability of the function is confusing
Problem: The upgrade process fails when removing a Key attribute without removing the field itself. The exception is thrown in [UpgradeHintsProcessor](https://github.com/DataObjects-NET/dataobjects-net/blob/master/Orm/Xtensive.Orm/Orm/Upgrade/Internals/UpgradeHintsProcessor.cs#L494C18-L494C33 ) while processing nested fields. Error: The inner loop...
Our team is getting random errors during build: `EXEC: Error XW0006 : Unable to remove backing field: type: MyType, property: MyProperty, field:` We are using Xtensive.Orm 6.0.11 with .net 4.7.2....
When the following two entities are declared: [HierarchyRoot(InheritanceSchema.SingleTable)] [TableMapping("a_list")] public sealed class AList : LegacyUserTrackedEntity, ICodebookEntity { [Key(0)] [Field] [FieldMapping("id_list")] public short Id { get; set; } } [HierarchyRoot(InheritanceSchema.SingleTable)] [TableMapping("c_system")]...
We see in tracing this is a hotspot