{"id":339,"date":"2021-07-27T15:24:25","date_gmt":"2021-07-27T06:24:25","guid":{"rendered":"https:\/\/mvc.auctionpro.co.kr\/?page_id=339"},"modified":"2021-11-21T19:30:18","modified_gmt":"2021-11-21T10:30:18","slug":"databasegeneratedoption","status":"publish","type":"page","link":"https:\/\/mvc.auctionpro.co.kr\/?page_id=339","title":{"rendered":"DatabaseGeneratedOption"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">[DatabaseGenerated(DatabaseGeneratedOption.Computed)]<\/h2>\n\n\n\n<p>&nbsp;<strong>\ucd94\uac00 \ub610\ub294 \uc5c5\ub370\uc774\ud2b8<\/strong> \uc2dc \uac12\uc774 \uc0dd\uc131&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">[DatabaseGenerated(DatabaseGeneratedOption.Identity)]<\/h2>\n\n\n\n<p>\uac12 \uc0dd\uc131\uc744 \uc790\ub3d9\uc73c\ub85c \uc124\uc815 \ud558\uc9c0\ub9cc <strong>\ud0a4\uac00 \uc544\ub2cc \uc18d\uc131\uc5d0 \ub300\ud574 \ub3d9\uc77c\ud55c \uc791\uc5c5<\/strong>\uc744 \uc218\ud589<\/p>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:c# decode:true \">public class Contact\n{\n    public int Id { get; set; }\n    public string FullName { get; set; }\n    public string Email { get; set; } \n    [DatabaseGenerated(DatabaseGeneratedOption.Identity)]\n    public DateTime Created { get; set; } = DateTime.UtcNow;\n}<\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">[DatabaseGenerated(DatabaseGeneratedOption.None)]<\/h2>\n\n\n\n<p><strong>\uac12\uc744 \uc0dd\uc131 \ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4<\/strong>. \uc989, \uc751\uc6a9 \ud504\ub85c\uadf8\ub7a8\uc5d0\uc11c \ud56d\uc0c1 \ub370\uc774\ud130\ubca0\uc774\uc2a4\uc5d0 \uc800\uc7a5 \ub420 \uac12\uc744 \uc81c\uacf5 \ud569\ub2c8\ub2e4.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\uc608\uc81c<\/h3>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:c# decode:true \" title=\"DatabaseGeneratedOption\" >        [DefaultValue(true)]\n        [Display(Name = \"\ub4f1\ub85d\uc77c\")]\n        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]\n        [DataType(DataType.Date)]\n        [DisplayFormat(DataFormatString = \"{0:yyyy-MM-dd HH:mm}\",ApplyFormatInEditMode = false)]\n        public DateTime REGI_DATE { get; set; }\n\n        [Display(Name = \"\uc218\uc815\uc77c\")]\n        [DataType(DataType.Date)]\n        [DisplayFormat(DataFormatString = \"{0:yyyy-MM-dd HH:mm}\", ApplyFormatInEditMode = false)]\n        public DateTime MODI_DATE { get; set; }<\/pre><\/div>\n","protected":false},"excerpt":{"rendered":"<p>[DatabaseGenerated(DatabaseGeneratedOption.Computed)] &nbsp;\ucd94\uac00 \ub610\ub294 \uc5c5\ub370\uc774\ud2b8 \uc2dc \uac12\uc774 \uc0dd\uc131&nbsp; [DatabaseGenerated(DatabaseGeneratedOption.Identity)] \uac12 \uc0dd\uc131\uc744 \uc790\ub3d9\uc73c\ub85c \uc124\uc815 \ud558\uc9c0\ub9cc \ud0a4\uac00 \uc544\ub2cc \uc18d\uc131\uc5d0 \ub300\ud574 \ub3d9\uc77c\ud55c \uc791\uc5c5\uc744 \uc218\ud589 [DatabaseGenerated(DatabaseGeneratedOption.None)] \uac12\uc744 \uc0dd\uc131 \ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4. \uc989, \uc751\uc6a9 \ud504\ub85c\uadf8\ub7a8\uc5d0\uc11c \ud56d\uc0c1 \ub370\uc774\ud130\ubca0\uc774\uc2a4\uc5d0 \uc800\uc7a5 \ub420 \uac12\uc744 \uc81c\uacf5 \ud569\ub2c8\ub2e4. \uc608\uc81c<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-339","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/mvc.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/pages\/339","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mvc.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/mvc.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/mvc.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mvc.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=339"}],"version-history":[{"count":8,"href":"https:\/\/mvc.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/pages\/339\/revisions"}],"predecessor-version":[{"id":585,"href":"https:\/\/mvc.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/pages\/339\/revisions\/585"}],"wp:attachment":[{"href":"https:\/\/mvc.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=339"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}