You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could be add some api to compare differents properties(or fields) with two instance of same class ?
i know we can use reflection,but performance slow.
like:
//same class (ClassAObj1 vs ClassAObj2)varfieldNames= ClassAObj1.Diff(ClassAObj2);//Api-1 get different fieldnames,but not mapboolhasDifferents= ClassAObj1.MapDiff(ClassAObj2,outstring[] fieldsName);//Api-2 get get different fieldnames and map them//not same class (ClassAObj1 vs ClassBObj2)varfieldNames= ClassAObj1.Diff(ClassBObj2);//Api-1 get different fieldnames,but not mapboolhasDifferents= ClassAObj1.MapDiff(ClassBObj2,outstring[] fieldsName);//Api-2 get get different fieldnames and map them
//same like mapper's config it will use the global config(custom ignore some properties(or fields) ),that's will be better.
why need: if i got not differents,then i wont need to update to database.
The text was updated successfully, but these errors were encountered:
sgf
changed the title
Could be add some api to compare differents properties(or fields) with two instance of same class ?
[Feature Request] add api to get differents properties(or fields) when map to exists dst instance of same class as src?
Nov 10, 2022
sgf
changed the title
[Feature Request] add api to get differents properties(or fields) when map to exists dst instance of same class as src?
[Feature Request] add api to get differents properties(or fields) when map to exists dst?
Nov 10, 2022
Could be add some api to compare differents properties(or fields) with two instance of same class ?
i know we can use reflection,but performance slow.
like:
//same like mapper's config it will use the global config(custom ignore some properties(or fields) ),that's will be better.
why need:
if i got not differents,then i wont need to update to database.
The text was updated successfully, but these errors were encountered: