4 ms·
I'm about 50 / 50 right now on using it for this use case. I'm learning entity framework in C#. I'm not good at reading C# documentation right now. It's gotten
by grogenaut 4y ago
I'm about 50 / 50 right now on using it for this use case. I'm learning entity framework in C#. I'm not good at reading C# documentation right now. It's gotten me 50% good answers, and 50% where it is just wrong. A good case was "how do I add a composite key to an entity in a migration". Google and S/O show me the old style without migrations. It showed me the right method, which wasn't well documented in the EF Examples. I then asked it to show me it in the form of a full class. It did that nicely.
Then I asked it to show me how to do an upsert. It lead me down a 30 minute path of incorrect answers around AddOrUpdate which doesn't exist in EF, I said it wasn't there, it said "you need newest EF", what version? "6.1", I have 7 it's not in there, oh you need EntityFrameworkPlus. What Nuget package is that, it gave it to me. This doesn't actually have that function. Its here <stale link>. I looked, it's not in that package. It got insistent it was there an into a loop then said it was old and didn't have access to the internet.
Same deal day before with MailKit with GetBodyAsText and GetBodyPart, the former doesnt' exit and the latter it was saying the 2nd parameter was an int, which it's not, it's an actual meta object.
Both of these wrong answers lead me down 30+ minutes of incorrect paths.
TL;DR I need to learn how to read .net documentation like I can java and go docs.
It definitely seems like a tool I'll try in situations, and it's better than google at finding more nuanced answers. Google has so totally screwed up verbatim search right now chatgpt is aces compared to it.