0
it@keystonecustomhome.com created
Abp Suite defines basic properties with the virtual keyword. normal convention says this is not necessary. Is there any particular significance to this in ABP? I may have noticed a performance hit since removing. Thank you
public string X {get; set;} vs public virtual string X {get; set;}
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
2 Answer(s)
-
0
hi
The previous EF Core may need the
virtualkeyword.There is no need to make navigations virtual unless they are being used by lazy-loading or change-tracking proxies.
It doesn't matter if you use it all the time.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
thank you for the clarification
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)