๋ ์ฝ๋์ ๊ณ ์ ํ ID๋ฅผ ์๋ณํ๊ธฐ ์ํด ์ผ๋ฐ์ ์ผ๋ก int ํ ๋๋ string ์ ์ฌ์ฉํฉ๋๋ค. ๊ทธ๋ ๊ธฐ ๋๋ฌธ์ ์ฝ๋ฉ์ ์ธ์๋ฅผ ๋๊ธฐ๊ฑฐ๋ ์์ฑํ ๋ ์ถฉ๋ถํ ์ค์ํ ์ฌ์ง๊ฐ ์๋๋ฐ์, strongly-typed ids์ ๋ํ ์์ด๋์ด ์ค C# 9์ record๋ฅผ ์ด์ฉํ๋ ๋ฐฉ๋ฒ๋ ์๊ฐ๋์ด ์์ด ๊ณต์ ํฉ๋๋ค.
Using C# 9 records as strongly-typed ids - Thomas Levesqueโs .NET Blog