Matthew Schill mschill
  • Joined on 2024-09-05
mschill commented on pull request Volian/SourceCode#574 2025-07-28 15:14:37 -04:00
C2025-027-AnnotationsTypeSelect

Also as a heads up - I sent an email with an attachment --- looks like there is a side consequence to having Userid be part of the table type and not separate --- that side consequence occurs if…

mschill commented on pull request Volian/SourceCode#574 2025-07-28 13:18:38 -04:00
C2025-027-AnnotationsTypeSelect

won't this wipe out all thier pre-existing data every time PROMSFixes is run?

mschill commented on pull request Volian/SourceCode#574 2025-07-28 09:25:10 -04:00
C2025-027-AnnotationsTypeSelect

if commented out, should this be removed?

mschill commented on pull request Volian/SourceCode#574 2025-07-28 08:19:21 -04:00
C2025-027-AnnotationsTypeSelect

see comments in SQL --- shouldn't need RowID

mschill commented on pull request Volian/SourceCode#574 2025-07-28 08:17:55 -04:00
C2025-027-AnnotationsTypeSelect

if have a try catch, should there be something in the catch?

mschill commented on pull request Volian/SourceCode#574 2025-07-28 08:17:55 -04:00
C2025-027-AnnotationsTypeSelect

if have a try catch, should there be something in the catch?

mschill commented on pull request Volian/SourceCode#574 2025-07-28 08:17:55 -04:00
C2025-027-AnnotationsTypeSelect

I closed this previous comment since it moved down and reposted here - "Shouldn't need this as foreach loop below should loop 0 times if no rows."

mschill commented on pull request Volian/SourceCode#574 2025-07-28 08:17:55 -04:00
C2025-027-AnnotationsTypeSelect

I thought Name was being removed from AnntationsSelections and just going to be pulled from AnnotationsType?

mschill commented on pull request Volian/SourceCode#574 2025-07-28 08:17:55 -04:00
C2025-027-AnnotationsTypeSelect

Would suggest not having columns named both UserID and UserID in the same table as it is confusing which is the function of each,

mschill commented on pull request Volian/SourceCode#574 2025-07-28 08:17:55 -04:00
C2025-027-AnnotationsTypeSelect

Shouldn't need NameStr or RowID unless I am missing something as these are not columns in AnnotationSelections

mschill commented on pull request Volian/SourceCode#574 2025-07-28 08:17:55 -04:00
C2025-027-AnnotationsTypeSelect

shouldn't need a primary key on a type?

mschill commented on pull request Volian/SourceCode#574 2025-07-28 08:17:55 -04:00
C2025-027-AnnotationsTypeSelect

only need to delete the ones not already in the table. If we delete and re-add then will lose history of when truely added --- see comment below (around line 24278) for more complete,

mschill suggested changes for Volian/SourceCode#574 2025-07-28 08:17:55 -04:00
C2025-027-AnnotationsTypeSelect

See Comments.

mschill commented on pull request Volian/SourceCode#574 2025-07-28 08:16:28 -04:00
C2025-027-AnnotationsTypeSelect

still appears to be:

//dt.Rows.Add(DataPortal.Fetch()); //DataPortal.Fetch();

mschill commented on pull request Volian/SourceCode#574 2025-07-28 08:13:51 -04:00
C2025-027-AnnotationsTypeSelect

would think would want to do something like:

--this would delete only the ones for this User that are not in the uploaded table DELETE FROM AnnotationTypeSelections where UsrID in (Select…

mschill commented on pull request Volian/SourceCode#574 2025-07-28 08:09:03 -04:00
C2025-027-AnnotationsTypeSelect

would not loop through this is will perform poorly and should not be necessary. It looks like my previous comment got removed with this change as it is now past the end of this file, so I will…

mschill commented on pull request Volian/SourceCode#574 2025-07-28 08:02:23 -04:00
C2025-027-AnnotationsTypeSelect

There is another comment around line 24235that is related to this. It just moved since there have been changes since that comment was made. That one should have likely the exact index needed.

mschill commented on pull request Volian/SourceCode#574 2025-07-28 07:55:20 -04:00
C2025-027-AnnotationsTypeSelect

see next set of comments - these moved around due to changes since.

mschill commented on pull request Volian/SourceCode#574 2025-07-28 07:54:51 -04:00
C2025-027-AnnotationsTypeSelect

still valid - this refers to the query in getAnnotationSelectListTypes around line: 24148

mschill commented on pull request Volian/SourceCode#574 2025-07-28 07:52:34 -04:00
C2025-027-AnnotationsTypeSelect

Comment still valid:

index should be UNIQUE by UsrID, TypeID and INCLUDE other columns pulled back like: ASTypeID