dataobjects-net
dataobjects-net copied to clipboard
My use case: I have a facility that retrieves data from many entities, and allows for several usage patterns, such as: 1) retrieve page-by-page, 2) retrieve all, 3) retrieve range...
* Optimize TypeInfo.Validators * Optimization: create FieldInfo.Assocations on demand * Avoid unnecessary .ToList() in TopologicalSorter.Sort() * DO_SAFE_COLLECTION_WRAPPER constant * readonly struct ColumnIndexMap * Optimize IReadOnlyList in SelectProvider
I have a pair of legacy tables `d_limit` and `c_limit_type` with a N:1 relationship. The legacy SQL code uses a `[code] LIKE '_s'` condition, which I cannot reasonably avoid right...
DO 7.0 Sorry, can not reproduce in test environment Catch this exception three times ``` System.ArgumentNullException: Value cannot be null. (Parameter 'node') at System.Collections.Generic.LinkedList`1.ValidateNode(LinkedListNode`1 node) at Xtensive.Collections.TopDeque`2.PopBottom() in /_/Orm/Xtensive.Orm/Collections/TopDeque.cs:line 180...
Found this old question https://support.x-tensive.com/question/6369/date-without-time seems to be it is was planned in 5.1.0 'added this to the feature list to implement' Was it done or maybe planned in future...
I am running into repeated issues whenever I work with `enum` fields which are backed by anything else but `int`. This simple query: ``` // fetch all current CNP settings...
Sometimes, every byte counts And precision 2 vs 7 it is 6 bytes vs 8 bytes
DO 7.0 ``` \\ OK _ = Query.All() .Select(it => Storage.All() .Select(e => e.NullableDateTime ?? DateTime.MinValue) .FirstOrDefault()) .ToArray(); \\ OK _ = Query.All() .Select(it => (Storage.All() .Select(e => e.NullableDateTime) .FirstOrDefault()...
The bulk Delete() method fails when deleting members of an EntitySet which contains ancestors of T: ``` Message: Expected: No Exception to be thrown But was: Microsoft.Data.SqlClient.SqlException (0x80131904): The DELETE...
DO 6.0.11 System.InvalidCastException when using Enum : short ``` using NUnit.Framework; using Xtensive.Orm; using Xtensive.Orm.Configuration; var dc = new DomainConfiguration("sqlserver", "Data Source=.; Initial Catalog=EnumShortBug; Integrated Security=True;"); dc.UpgradeMode = DomainUpgradeMode.Recreate; dc.Types.Register(typeof(TestEntity));...