Click here to Skip to main content
15,878,852 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# Thread Pin
OriginalGriff26-Dec-22 1:14
mveOriginalGriff26-Dec-22 1:14 
GeneralRe: C# Thread Pin
BillWoodruff26-Dec-22 2:50
professionalBillWoodruff26-Dec-22 2:50 
AnswerRe: C# Thread Pin
Gerry Schmitz26-Dec-22 8:16
mveGerry Schmitz26-Dec-22 8:16 
QuestionUpdating properties in a IEnumerable Pin
hpjchobbes24-Dec-22 4:14
hpjchobbes24-Dec-22 4:14 
AnswerRe: Updating properties in a IEnumerable Pin
Gerry Schmitz24-Dec-22 6:35
mveGerry Schmitz24-Dec-22 6:35 
GeneralRe: Updating properties in a IEnumerable Pin
hpjchobbes24-Dec-22 9:58
hpjchobbes24-Dec-22 9:58 
GeneralRe: Updating properties in a IEnumerable Pin
Gerry Schmitz24-Dec-22 23:48
mveGerry Schmitz24-Dec-22 23:48 
GeneralRe: Updating properties in a IEnumerable Pin
BillWoodruff25-Dec-22 5:04
professionalBillWoodruff25-Dec-22 5:04 
as Gary says (imho), you should not be retrieving all records, and then using Linq: you EF query should pull only the records that need updating, and, then, write those updated records back to the data store.

IEnumerable: keep an eye out for multiple enumerations: [^]
«The mind is not a vessel to be filled but a fire to be kindled» Plutarch

AnswerRe: Updating properties in a IEnumerable Pin
Mycroft Holmes24-Dec-22 11:09
professionalMycroft Holmes24-Dec-22 11:09 
Generalc# Pin
Member 1587460624-Dec-22 3:18
Member 1587460624-Dec-22 3:18 
GeneralRe: c# Pin
OriginalGriff24-Dec-22 4:06
mveOriginalGriff24-Dec-22 4:06 
GeneralRe: c# Pin
BillWoodruff24-Dec-22 18:39
professionalBillWoodruff24-Dec-22 18:39 
GeneralRe: c# Pin
OriginalGriff24-Dec-22 19:44
mveOriginalGriff24-Dec-22 19:44 
GeneralRe: c# Pin
RedDk25-Dec-22 6:30
RedDk25-Dec-22 6:30 
GeneralRe: c# Pin
OriginalGriff25-Dec-22 21:44
mveOriginalGriff25-Dec-22 21:44 
GeneralRe: c# Pin
Nitin S26-Dec-22 18:10
professionalNitin S26-Dec-22 18:10 
GeneralRe: c# Pin
RedDk27-Dec-22 8:54
RedDk27-Dec-22 8:54 
Questionconvert double with decimal places to any base in C# example : 19.879 to any base or -19.345 to any base Pin
Sakhalean23-Dec-22 23:48
Sakhalean23-Dec-22 23:48 
AnswerRe: convert double with decimal places to any base in C# example : 19.879 to any base or -19.345 to any base Pin
OriginalGriff24-Dec-22 0:29
mveOriginalGriff24-Dec-22 0:29 
GeneralRe: convert double with decimal places to any base in C# example : 19.879 to any base or -19.345 to any base Pin
Sakhalean25-Dec-22 4:52
Sakhalean25-Dec-22 4:52 
AnswerRe: convert double with decimal places to any base in C# example : 19.879 to any base or -19.345 to any base Pin
BillWoodruff24-Dec-22 18:37
professionalBillWoodruff24-Dec-22 18:37 
GeneralRe: convert double with decimal places to any base in C# example : 19.879 to any base or -19.345 to any base Pin
Sakhalean24-Dec-22 22:46
Sakhalean24-Dec-22 22:46 
GeneralRe: convert double with decimal places to any base in C# example : 19.879 to any base or -19.345 to any base Pin
trønderen24-Dec-22 23:13
trønderen24-Dec-22 23:13 
GeneralRe: convert double with decimal places to any base in C# example : 19.879 to any base or -19.345 to any base Pin
BillWoodruff25-Dec-22 4:15
professionalBillWoodruff25-Dec-22 4:15 
GeneralRe: convert double with decimal places to any base in C# example : 19.879 to any base or -19.345 to any base Pin
Sakhalean25-Dec-22 4:50
Sakhalean25-Dec-22 4:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.