diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 5d53a84a..986e6bee 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -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