Matthew Schill mschill
  • Joined on 2024-09-05
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 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

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

This is still valid.

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

Also, not sure what Config is for here?

mschill pushed to C2025-024 at Volian/SourceCode 2025-07-24 08:07:12 -04:00
8c32d18aec C2025-024 Electronic Procedures Phase 2 - XML Export
mschill pushed to C2025-024 at Volian/SourceCode 2025-07-23 15:25:39 -04:00
20c31153de C2025-024 Electronic Procedures Phase 2 - XML Export
mschill commented on pull request Volian/SourceCode#574 2025-07-22 16:01:25 -04:00
C2025-027-AnnotationsTypeSelect

As FYI - still valid

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

As FYI - still valid