DecimalPropertyConfiguration.IsOptional 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將屬性設定為可選。 用來儲存此屬性的資料庫欄位將是可空的。
public System.Data.Entity.ModelConfiguration.Configuration.DecimalPropertyConfiguration IsOptional();
override this.IsOptional : unit -> System.Data.Entity.ModelConfiguration.Configuration.DecimalPropertyConfiguration
Public Function IsOptional () As DecimalPropertyConfiguration
傳回
同一個 DecimalPropertyConfiguration 實例,這樣可以串連多個呼叫。