ForeignKeyOperation.DependentColumns 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
外鍵欄位的名稱。
實體框架遷移 API 並非設計用來接受不受信任來源(例如應用程式的最終使用者)提供的輸入。 若接受來自這些來源的輸入,應在傳遞給這些 API 前進行驗證,以防止 SQL 注入攻擊等攻擊。
public System.Collections.Generic.IList<string> DependentColumns { get; }
member this.DependentColumns : System.Collections.Generic.IList<string>
Public ReadOnly Property DependentColumns As IList(Of String)