michaelcsikos

Results 56 comments of michaelcsikos

The `Name` property has a `public set` but it throws, even when called in the `DbContext` constructor: System.InvalidOperationException: The operation cannot be performed because the item is read only.

Well, that doesn't help, because the subclass will normally have a different name to the base class. The point of having a base class is to share code, but it...

I have a product which has a common set of tables, base classes and functionality. There are (currently) two other products which use the common core, and add their own...

I still use the same class name, `EfDbContext`, in each project as a workaround.

When will you let us turn this garbage off?

@davidwengier VS2022 automatic formatting in razor files is absolutely horrible and I can’t see a way to disable it. I have to hit `Ctrl+Z` to undo the formatting hundreds of...

@davidwengier Even for regular cs files I have had all of the automatic formatting options switched off for years. (The **General**, **Indentation**, **New Lines**, **Spacing** and **Wrapping** options work fine.)...

I also think the razor editing experience has gotten worse with 17.4.0, if that was even possible. Some automatic formats that trigger on a single key stroke now require hitting...

@davidwengier When I see it next I'll try to record a GIF. I've been wrestling with this experience all year. I just want a way to switch it off. If...

Here's an example of a very unhelpful automatic format. As you can see it happens on the `Enter` keystroke, requiring a `Ctrl + Z` to fix. ![1](https://user-images.githubusercontent.com/21806535/203708698-fc86ac01-fcf2-4af5-a383-776d046f63d6.gif) I often close...