다음을 통해 공유


RelationalModelValidator.GetDefaultColumnValue 메서드

정의

속성이 매핑되는 열의 기본값으로 사용되는 개체를 반환합니다.

protected virtual object GetDefaultColumnValue (Microsoft.EntityFrameworkCore.Metadata.IProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
protected virtual object? GetDefaultColumnValue (Microsoft.EntityFrameworkCore.Metadata.IProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
abstract member GetDefaultColumnValue : Microsoft.EntityFrameworkCore.Metadata.IProperty * StoreObjectIdentifier -> obj
override this.GetDefaultColumnValue : Microsoft.EntityFrameworkCore.Metadata.IProperty * StoreObjectIdentifier -> obj
Protected Overridable Function GetDefaultColumnValue (property As IProperty, storeObject As StoreObjectIdentifier) As Object

매개 변수

property
IProperty

기본값을 가져올 속성입니다.

storeObject
StoreObjectIdentifier

저장소 개체의 식별자입니다.

반환

속성이 매핑되는 열의 기본값으로 사용되는 개체입니다.

적용 대상