DateTimePropertyConfiguration.HasColumnOrder(Nullable<Int32>) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定用來儲存此屬性之資料庫資料行的順序。 當實體型別有複合索引鍵時,這個方法也會用來指定索引鍵排序。
public System.Data.Entity.ModelConfiguration.Configuration.DateTimePropertyConfiguration HasColumnOrder (Nullable<int> columnOrder);
override this.HasColumnOrder : Nullable<int> -> System.Data.Entity.ModelConfiguration.Configuration.DateTimePropertyConfiguration
Public Function HasColumnOrder (columnOrder As Nullable(Of Integer)) As DateTimePropertyConfiguration
參數
傳回
相同的 DateTimePropertyConfiguration 實例,以便鏈結多個呼叫。