DecimalPropertyConfiguration.HasColumnType(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
配置用於儲存屬性的資料庫欄位的資料型態。
public System.Data.Entity.ModelConfiguration.Configuration.DecimalPropertyConfiguration HasColumnType(string columnType);
override this.HasColumnType : string -> System.Data.Entity.ModelConfiguration.Configuration.DecimalPropertyConfiguration
Public Function HasColumnType (columnType As String) As DecimalPropertyConfiguration
參數
- columnType
- String
資料庫提供者專屬資料型別的名稱。
傳回
同一個 DecimalPropertyConfiguration 實例,這樣可以串連多個呼叫。