ConventionPrimitivePropertyConfiguration.HasDatabaseGeneratedOption 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
데이터베이스에서 속성 값이 생성되는 방식을 구성합니다.
public virtual System.Data.Entity.ModelConfiguration.Configuration.ConventionPrimitivePropertyConfiguration HasDatabaseGeneratedOption(System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedOption databaseGeneratedOption);
abstract member HasDatabaseGeneratedOption : System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedOption -> System.Data.Entity.ModelConfiguration.Configuration.ConventionPrimitivePropertyConfiguration
override this.HasDatabaseGeneratedOption : System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedOption -> System.Data.Entity.ModelConfiguration.Configuration.ConventionPrimitivePropertyConfiguration
매개 변수
- databaseGeneratedOption
- DatabaseGeneratedOption
데이터베이스에서 속성 값을 생성하는 데 사용되는 패턴입니다.
반환
여러 호출을 연결할 수 있도록 동일한 ConventionPrimitivePropertyConfiguration instance.
설명
이 호출은 구성되면 영향을 주지 않습니다.