JimmyAtSchotte
JimmyAtSchotte
I got rid of the "Unsupported CLR type ``DateTime''" message by adding this scalar to the scheme > schema.AddScalar(new { year = 0, month = 0, day = 0 },...
I’m currently working on a project that uses NHibernate instead of Entity Framework, and I’ve found that the built-in LINQ-to-Query capabilities integrate well with this package. I’ve developed my own...
I [wrote a blog post](https://dev.to/greenfieldcoder/extending-ardalisspecification-for-nhibernate-with-linq-criteria-api-and-query-over-24pn) on how I extended Ardalis.Specification to support NHibernate (Linq-to-query, Criteria, QueryOver). You can find examples in this [demo repository](https://github.com/JimmyAtSchotte/ThePlaylist). I did some "cheating" by directly...
I'm having this problem. In version 8.x.x, the document structure included both `Id` and `id` properties, like so: ```json { "Id": "3cf7d6e8-2821-47e0-85e2-08dc6f5438a6", "id": "3cf7d6e8-2821-47e0-85e2-08dc6f5438a6", "...": "other properties" } ``` However,...
Found the change in this issue: #34179 Adding `.HasShadowId()` reverts to old behaviour. ``` protected override void OnModelCreating(ModelBuilder modelBuilder) { modelBuilder.Entity().ToContainer("Gateways").HasPartitionKey(f => f.Id).HasShadowId(); } ```
I also had `.HasNoDiscriminator()` since before in my ModelBuilder. TBH I dont recall why adding that. But that works in my context. I'm on thin ice here, but maybe look...