Talk:Object–relational mapping: Difference between revisions

Content deleted Content added
Lexspoon (talk | contribs)
Incorrect C# code?: new section
Line 161:
 
I've added some information today about Object-Document Mappers and Data Mappers as a general term. These subjects are only related to ORMs and I was unsure if they belonged here - but there is no Data Mapper page on Wikipedia, but perhaps there should be?
 
== Incorrect C# code? ==
 
This example C# line is given as a way to find the person with ID 10:
var person = Person.Get(Person.Properties.Id == 10);
However, it looks wrong to me. (Person.Properties.Id == 10) would yield a bool: either true or false. It isn't a lambda or closure or a method that can run to perform a search. [[User:Equinox|Equinox]] [[User_talk:Equinox|◑]] 15:36, 7 March 2023 (UTC)