This commit is contained in:
2021-01-14 23:23:18 +00:00
parent 65fd6c19b4
commit 6ad98e5606

View File

@@ -5,6 +5,12 @@
MISC ITEMS THAT CAME UP
todo: PartAssemblyBiz shows the correct way to replace an object in it's PUT route
previously doing unnecessary copyobject to an interim snapshot object for no apparent reason
Go through all *biz classes and look to update to this method
also use GetAsync instead of directly querying again in the Put methods of all *biz objects where possible
and ensure it has AsNoTracking added because even when it's used in batch jobs etc they do a PUT and do not
directly save the retrieved object so that's what is appropriate
todo: All indexes in db sb named starting with idx_ instead of just the table name, so just prepend idx_ to every index
todo: foreign keys are not indexed by default in the referencing table (the one who references)
take a look and see if any should be indexed when doing above