cptcrawler
cptcrawler
CC#
Created by Yashogi on 2/6/2023 in #help
LInq Combine duplicates
You can actually have an autoproperty inside the stores and doing then a .Include()
222 replies
CC#
Created by Yashogi on 2/6/2023 in #help
LInq Combine duplicates
kinda
222 replies
CC#
Created by Yashogi on 2/6/2023 in #help
LInq Combine duplicates
So you are just actually trying to compact your dates as a PARTITION BY does
222 replies
CC#
Created by Yashogi on 2/6/2023 in #help
LInq Combine duplicates
going to have a look at your first question
222 replies
CC#
Created by Yashogi on 2/6/2023 in #help
LInq Combine duplicates
give me a sec
222 replies
CC#
Created by Yashogi on 2/6/2023 in #help
LInq Combine duplicates
uhm that's going to be though
222 replies
CC#
Created by Yashogi on 2/6/2023 in #help
LInq Combine duplicates
oh
222 replies
CC#
Created by Yashogi on 2/6/2023 in #help
LInq Combine duplicates
Why ?
222 replies
CC#
Created by Yashogi on 2/6/2023 in #help
LInq Combine duplicates
like yourquery().SelectMany(x => x.Sales.Sales, (x,y ) => // somethinghere);
222 replies
CC#
Created by Yashogi on 2/6/2023 in #help
LInq Combine duplicates
can you try with a SelectMany() ?
222 replies
CC#
Created by kommissar on 2/6/2023 in #help
❔ How do I make part of a Linq query optional?
if this is what you are trying to achieve
5 replies
CC#
Created by kommissar on 2/6/2023 in #help
❔ How do I make part of a Linq query optional?
and if you don't need em just do where != null kinda something like this
5 replies
CC#
Created by kommissar on 2/6/2023 in #help
❔ How do I make part of a Linq query optional?
you may think doing a left join so join con in _radanContext.Contracts on rc.ContractNo.DefaultIfEmpty() equals con.ContractNo
5 replies
CC#
Created by kaypee90 on 2/6/2023 in #help
❔ How to add custom attributes to Winforms control events
what are you trying to achieve ?
9 replies
CC#
Created by blurr on 2/4/2023 in #help
❔ Linking C# and C++
Don't use [DllImport] actually use [LibraryImport] way better and the managed types marshaling is covered by a source generator
50 replies
CC#
Created by situa on 2/2/2023 in #help
❔ Doing post method with entity framework
you are welcome 😄
44 replies
CC#
Created by situa on 2/2/2023 in #help
❔ Doing post method with entity framework
so when mapping the values all the ones that you don't need will remain as default values ( so null for autoproperties and classes and default for the rest )
44 replies
CC#
Created by situa on 2/2/2023 in #help
❔ Doing post method with entity framework
you need to convert the PersonaCreateRequest to the entity Persona of your DbContext
44 replies
CC#
Created by situa on 2/2/2023 in #help
❔ Doing post method with entity framework
yes missing step
44 replies
CC#
Created by situa on 2/2/2023 in #help
❔ Doing post method with entity framework
so the property will remain default ( 0 ) and it wont be considered by Entity Framework
44 replies