Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyGaluzo committed Dec 19, 2024
1 parent 41d6847 commit 7195395
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
CREATE TABLE dbo.CurrentResource -- This is replaced by view CurrentResource
-- Our code generator, that creates class wrappers on database objects, is not able to deal with views, but we stil want to refer to view objects in the code.
-- Workaround is to create table that looks like view, so code generator picks it up, and immediately drop it.
-- This would not be needed at all, if we followed different class generation strategy.
CREATE TABLE dbo.CurrentResource -- This is replaced by view CurrentResource
(
ResourceTypeId smallint NOT NULL,
ResourceId varchar(64) COLLATE Latin1_General_100_CS_AS NOT NULL,
Expand Down

0 comments on commit 7195395

Please sign in to comment.