RelatedEnd.SourceRoleName 屬性
[此頁面專屬於 Entity Framework 第 6 版。最新版本可從 'Entity Framework' NuGet 套件取得。如需 Entity Framework 的詳細資訊,請參閱 msdn.com/data/ef。]
取得位於關聯性來源端的角色名稱。
命名空間: System.Data.Entity.Core.Objects.DataClasses
組件: EntityFramework (在 EntityFramework.dll 中)
語法
'宣告
<XmlIgnoreAttribute> _
<SoapIgnoreAttribute> _
Public Overridable ReadOnly Property SourceRoleName As String
Get
'用途
Dim instance As RelatedEnd
Dim value As String
value = instance.SourceRoleName
[XmlIgnoreAttribute]
[SoapIgnoreAttribute]
public virtual string SourceRoleName { get; }
[XmlIgnoreAttribute]
[SoapIgnoreAttribute]
public:
virtual property String^ SourceRoleName {
String^ get ();
}
[<XmlIgnoreAttribute>]
[<SoapIgnoreAttribute>]
abstract SourceRoleName : string
[<XmlIgnoreAttribute>]
[<SoapIgnoreAttribute>]
override SourceRoleName : string
function get SourceRoleName () : String
屬性值
類型:System.String
成為角色名稱的 String。