Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

Welcome to Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

Activity for FoggyFinder‭

Type On... Excerpt Status Date
Comment Post #282008 I'm not a Java developer and I know literally nothing about Android Studio but after a little of research I've found this [issue](https://issuetracker.google.com/issues/154531807) so it seems like it is impossible to create custom template currently. There was a link to [Geminio](https://github.com/h...
(more)
over 3 years ago
Comment Post #281769 _Anyone care to explain the downvotes? I think I answered the question quite well. Only problem I see is that perhaps the question doesn't really belong.._ Exactly! The answer is great but it is off-topic here. That's why one downvote is mine.
(more)
over 3 years ago
Comment Post #281730 @kolaa Can you please ask this Q on [TA](https://topanswers.xyz/csharp) ? I'll do my best to help you when I have time. It would be easier to help if you provide test values though.
(more)
over 3 years ago
Comment Post #281730 If we will close all questions the community will be dead. To be honest I see less and less reasons to participate here.
(more)
over 3 years ago
Comment Post #281530 __However, the subsequent comments seem to be a debate around available Wikipedia translations and how an answer would look like, rather than suggesting how to improve the question__ And who said it's forbidden? What's the point to have a comment section if you can't actually write there ?
(more)
over 3 years ago
Comment Post #281308 @Lundin But the Q is not about explaining a code. TS is asking what tool was used to obfuscate the code.
(more)
over 3 years ago
Comment Post #280920 I.e. in practice you can write `vehicles.Select(v => v.HasRegistration = vinList.Contains(v.VIN)).ToArray();` or something but you shouldn't do that.
(more)
over 3 years ago
Comment Post #280920 Nope. LINQ is about `receiving` and not `mutating`. You could use `.ForEach` though: `vehicles.ForEach(v => v.HasRegistration = vinList.Contains(v.VIN));`
(more)
over 3 years ago
Comment Post #280665 btw, why do you have such restrictions? What's wrong with calling `base` inside of `EntityFrameworkContext`?
(more)
almost 4 years ago
Comment Post #280665 @Marc.2377 I doubt it is possible. See [Using generics in generic type constraint #3208](https://github.com/dotnet/csharplang/discussions/3208) for details.
(more)
almost 4 years ago
Comment Post #280665 @Peter Taylor the link you provided is referenced to `EF` while here it's about `EF Core`. Correct link would be: [Add](https://docs.microsoft.com/en-us/dotnet/api/microsoft.entityframeworkcore.dbcontext.add?view=efcore-3.1#Microsoft_EntityFrameworkCore_DbContext_Add__1___0_)
(more)
almost 4 years ago
Comment Post #280665 ah, the goal is avoiding something like that `EntityEntry IDbContextable<EntityFrameworkContext, EntityEntry>.Add<TEntity>(TEntity entity) => base.Add(entity);` in the `EntityFrameworkContext` class?
(more)
almost 4 years ago
Comment Post #280665 Not sure I follow the Q. `TEntityEntry` type isn't generic. Why can't you just write `public TEntityEntry Add<TEntity>([NotNullAttribute] TEntity entity) where TEntity : class;`?
(more)
almost 4 years ago
Edit Post #280647 Initial revision almost 4 years ago
Answer A: C# WPF MVVM View & Get new record values
Some thoughts: 0. Consider using Github (or something like that, but I suggest Github due to its popularity) to share the project. It allows us not only to write some code but open PR with suggestions. 1. Do not use such names as `TechnicalBestBeforeDatesModel`, etc. Using of `` is against C# s...
(more)
almost 4 years ago
Edit Post #280642 Post edited:
fix formatting, add wpf tag
almost 4 years ago
Suggested Edit Post #280642 Suggested edit:
fix formatting, add wpf tag
(more)
helpful almost 4 years ago
Comment Post #280605 There is such suggestion already: [Can comment input fields be vertically scalable?](https://meta.codidact.com/posts/277177)
(more)
almost 4 years ago
Comment Post #280601 @gzi98 I suppose that's a totally different Q related to mysql itself. I'll try to address it later (it's near midnight here) but I suggest creating a separate Q anyway. Or I misunderstand your Q and the issue isn't with sql itself but with Dapper or organizing code in geneal?
(more)
almost 4 years ago
Comment Post #280601 @gzi98 There is no right answer to the Q. Someone think it's against the pattern but other have quite the opposite opinion. Anyway, I see no reason to create a proxy for object that can't be mutated "outside". But I'm a purist when it comes to __creating__ objects.
(more)
almost 4 years ago
Comment Post #280601 @gzi98 I see no reason to create duplicate types merely to avoid connection between `Model` and `View` in case of displaying data.
(more)
almost 4 years ago
Comment Post #280599 I wrote some thoughts but it would be better if you provide MCVE rather than some random parts of code. Let me explain: * You ask about filter so part that related to DB shouldn't be included at all. * It's unclear how exactly `BaseViewModel` class looks. * What's a purpose of `Technical_Best...
(more)
almost 4 years ago
Edit Post #280601 Initial revision almost 4 years ago
Answer A: How to filter data from the view using MVVM Pattern?
I wrote quick (and somewhere dirty) example to show one of possible approaches: 1. Add properties corresponding to each filter: ```csharp private string productCode; private string productDescription; public string ProductCode { get => productCode; set => SetProperty(ref produ...
(more)
almost 4 years ago
Comment Post #280527 You can skip `nameof(...)` at all and use `CallerMemberName` attribute
(more)
almost 4 years ago