ToolingFacade.GetContextTypes 方法

定义

获取派生自 DbContext的所有类型的完全限定名称。

public System.Collections.Generic.IEnumerable<string> GetContextTypes();
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")]
public System.Collections.Generic.IEnumerable<string> GetContextTypes();
member this.GetContextTypes : unit -> seq<string>
Public Function GetContextTypes () As IEnumerable(Of String)

返回

找到所有上下文类型。

属性

适用于