AddAnnotation(String, Object, Boolean)
|
將注釋加入至這個物件。 如果具有指定名稱的注釋已經存在,則會擲回 。
(繼承來源 IConventionAnnotatable)
|
AddAnnotations(IEnumerable<IConventionAnnotation>, Boolean)
|
將批註加入物件。
(繼承來源 IConventionAnnotatable)
|
AddRuntimeAnnotation(String, Object)
|
將執行時間批註新增至這個 物件。 如果具有指定名稱的注釋已經存在,則會擲回 。
(繼承來源 IAnnotatable)
|
AnnotationsToDebugString(Int32)
|
取得 物件上宣告之所有注釋的偵錯字串。
(繼承來源 IReadOnlyAnnotatable)
|
FindAnnotation(String)
|
取得具有指定名稱的注釋,如果不存在,則傳 null 回 。
(繼承來源 IReadOnlyAnnotatable)
|
FindRuntimeAnnotation(String)
|
取得具有指定名稱的執行時間批註,如果不存在,則 null 傳回 。
(繼承來源 IAnnotatable)
|
FindRuntimeAnnotationValue(String)
|
取得具有指定名稱的執行時間批註值,如果不存在,則傳 null 回 。
(繼承來源 IAnnotatable)
|
GetAnnotation(String)
|
取得具有指定名稱的注釋,如果不存在,則會擲回。
(繼承來源 IReadOnlyAnnotatable)
|
GetAnnotations()
|
取得目前 物件上的所有批註。
(繼承來源 IReadOnlyAnnotatable)
|
GetCollectionAccessor()
|
IClrCollectionAccessor取得這個導覽屬性的 ,如果是集合導覽。
(繼承來源 INavigationBase)
|
GetConfigurationSource()
|
傳回此屬性的組態來源。
(繼承來源 IConventionPropertyBase)
|
GetCurrentValueComparer()
|
取得 , IComparer<T> 用於比較追蹤 IUpdateEntry 專案中的值。
(繼承來源 IPropertyBase)
|
GetFieldInfoConfigurationSource()
|
傳回 的 FieldInfo 組態來源。
(繼承來源 IConventionPropertyBase)
|
GetFieldName()
|
取得這個屬性的備份欄位名稱,如果不知道支援欄位,則 null 為 。
(繼承來源 IReadOnlyPropertyBase)
|
GetGetter()
|
IClrPropertyGetter取得 ,用於讀取這個屬性的值。
(繼承來源 IPropertyBase)
|
GetIndex()
|
取得這個屬性的屬性索引。
(繼承來源 IPropertyBase)
|
GetInverseConfigurationSource()
|
傳回 的 Inverse 組態來源。
|
GetIsEagerLoadedConfigurationSource()
|
傳回 的 IsEagerLoaded 組態來源。
(繼承來源 IConventionNavigationBase)
|
GetLazyLoadingEnabledConfigurationSource()
|
傳回 的 LazyLoadingEnabled 組態來源。
(繼承來源 IConventionNavigationBase)
|
GetMemberInfo(Boolean, Boolean)
|
取得 或 FieldInfo , PropertyInfo 應該用來取得或設定指定屬性的值。
(繼承來源 IPropertyBase)
|
GetOrAddRuntimeAnnotationValue<TValue,TArg>(String, Func<TArg,TValue>, TArg)
|
取得具有指定名稱的執行時間批註值,如果不存在,請加以新增。
(繼承來源 IAnnotatable)
|
GetPropertyAccessMode()
|
PropertyAccessMode取得用於此屬性類似物件的 。
(繼承來源 IReadOnlyPropertyBase)
|
GetPropertyAccessModeConfigurationSource()
|
傳回 的 GetPropertyAccessMode() 組態來源。
(繼承來源 IConventionPropertyBase)
|
GetRuntimeAnnotations()
|
取得目前 物件上的所有執行時間批註。
(繼承來源 IAnnotatable)
|
IsIndexerProperty()
|
取得值,指出這個 是否為索引子屬性。 索引子屬性是透過實體類別上的索引子存取的屬性。
(繼承來源 IReadOnlyPropertyBase)
|
IsShadowProperty()
|
取得值,指出這個 是否為陰影屬性。 陰影屬性是實體類別中沒有對應屬性的陰影屬性。 屬性的目前值會儲存在 中 ChangeTracker ,而不是儲存在實體類別的實例中。
(繼承來源 IReadOnlyPropertyBase)
|
RemoveAnnotation(String)
|
從這個 物件中移除具有指定名稱的批註。
(繼承來源 IConventionAnnotatable)
|
RemoveRuntimeAnnotation(String)
|
從這個 物件中移除指定的執行時間批註。
(繼承來源 IAnnotatable)
|
SetAnnotation(String, Object, Boolean)
|
設定儲存在指定名稱底下的批註。 如果具有指定名稱的注釋已經存在,則會覆寫現有的批註。
(繼承來源 IConventionAnnotatable)
|
SetField(FieldInfo, Boolean)
|
已過時。.
FieldInfo設定此屬性應使用之基礎 CLR 欄位的 。
根據預設,如果找到或已指定支援欄位,則會在建構新物件時使用,通常是從資料庫查詢實體時。
屬性會用於所有其他存取。 呼叫 即可變更此專案 SetPropertyAccessMode(Nullable<PropertyAccessMode>, Boolean) 。
(繼承來源 IConventionPropertyBase)
|
SetField(String, Boolean)
|
設定此屬性應該使用的基礎 CLR 欄位。
這可能 null 適用于陰影屬性,或如果不知道屬性的備份欄位。
(繼承來源 IConventionPropertyBase)
|
SetFieldInfo(FieldInfo, Boolean)
|
FieldInfo設定此屬性應使用之基礎 CLR 欄位的 。
(繼承來源 IConventionPropertyBase)
|
SetInverse(MemberInfo, Boolean)
|
設定反向導覽。
|
SetInverse(String, Boolean)
|
設定反向導覽。
|
SetIsEagerLoaded(Nullable<Boolean>, Boolean)
|
設定值,指出此導覽是否應該預設為積極式載入。
(繼承來源 IConventionNavigationBase)
|
SetIsLoadedWhenNoTracking(Object)
|
呼叫 SetLoaded(Object, String, Boolean) , INavigationBase 以在無追蹤查詢已積極載入此關聯性時將其標示為已載入。
(繼承來源 INavigationBase)
|
SetLazyLoadingEnabled(Nullable<Boolean>, Boolean)
|
設定值,指出是否應該延遲載入此流覽,如果啟用延遲載入且就地載入。
(繼承來源 IConventionNavigationBase)
|
SetOrRemoveAnnotation(String, Object, Boolean)
|
設定儲存在指定名稱底下的批註。 如果具有指定名稱的注釋已經存在,則會覆寫現有的批註。 如果 null 已提供,則會移除現有的批註。
(繼承來源 IConventionAnnotatable)
|
SetPropertyAccessMode(Nullable<PropertyAccessMode>, Boolean)
|
PropertyAccessMode設定要用於這個屬性的 。
(繼承來源 IConventionPropertyBase)
|
SetRuntimeAnnotation(String, Object)
|
設定儲存在指定索引鍵底下的執行時間批註。 如果具有指定名稱的注釋已經存在,則會覆寫現有的批註。
(繼承來源 IAnnotatable)
|
ToDebugString(MetadataDebugStringOptions, Int32)
|
建立人類可讀取的指定中繼資料標記法。
警告:請勿依賴傳回字串的格式。
它是專為偵錯而設計,而且可能會在發行之間任意變更。
(繼承來源 IReadOnlyNavigation)
|
AddAnnotations(IConventionAnnotatable, IEnumerable<IConventionAnnotation>, Boolean)
|
將批註加入物件。
|
GetAnnotation(IConventionAnnotatable, String)
|
取得具有指定名稱的注釋,如果不存在,則會擲回。
|
SetOrRemoveAnnotation(IConventionAnnotatable, String, Object, Boolean)
|
設定儲存在指定名稱底下的批註。 如果具有指定名稱的注釋已經存在,則會覆寫現有的批註。 如果 null 已提供,則會移除現有的批註。
|
FindInverse(IConventionNavigation)
|
已過時。.
取得關聯性另一端的導覽屬性。 如果沒有定義于關聯性另一端的導覽屬性,則傳回 null。
|
GetIsEagerLoadedConfigurationSource(IConventionNavigation)
|
傳回 的 IsEagerLoaded(INavigation) 組態來源。
|
GetTargetType(IConventionNavigation)
|
已過時。.
取得指定的導覽屬性會保存實例的實體類型 (,如果實例是集合導覽) ,則為 的實例。
|
SetIsEagerLoaded(IConventionNavigation, Nullable<Boolean>, Boolean)
|
設定值,指出此導覽是否應該預設為積極式載入。
|
GetPropertyAccessModeConfigurationSource(IConventionPropertyBase)
|
傳回 的 GetPropertyAccessMode() 組態來源。
|
SetField(IConventionPropertyBase, String, Boolean)
|
設定此屬性應該使用的基礎 CLR 欄位。
這可能 null 適用于陰影屬性,或如果不知道屬性的備份欄位。
備份欄位通常依照慣例找到,如下所述: http://go.microsoft.com/fwlink/?LinkId=723277.
此方法適用于在慣例找不到正確欄位的情況下明確設定支援欄位。
根據預設,如果找到或已指定支援欄位,則會在建構新物件時使用,通常是從資料庫查詢實體時。
屬性會用於所有其他存取。 呼叫 即可變更此專案 SetPropertyAccessMode(IConventionPropertyBase, Nullable<PropertyAccessMode>, Boolean) 。
|
SetPropertyAccessMode(IConventionPropertyBase, Nullable<PropertyAccessMode>, Boolean)
|
PropertyAccessMode設定要用於這個屬性的 。
|
AnnotationsToDebugString(IAnnotatable, Int32)
|
取得 物件上宣告之所有注釋的偵錯字串。
|
GetAnnotation(IAnnotatable, String)
|
取得具有指定名稱的注釋,如果不存在,則會擲回。
|
SetIsLoadedWhenNoTracking(INavigationBase, Object)
|
呼叫 SetLoaded(Object, String, Boolean) , INavigationBase 以在無追蹤查詢已積極載入此關聯性時將其標示為已載入。
|
FindInverse(INavigation)
|
已過時。.
已過時。.
取得關聯性另一端的導覽屬性。 如果沒有定義于關聯性另一端的導覽屬性,則傳回 null。
|
GetCollectionAccessor(INavigation)
|
IClrCollectionAccessor取得這個導覽屬性的 ,這個屬性必須是集合導覽。
|
GetTargetType(INavigation)
|
已過時。.
已過時。.
取得給定導覽屬性將保存實例的實體類型,如果實例是集合導覽) ,則為 的實例 (或保存實例。
|
IsCollection(INavigation)
|
已過時。.
已過時。.
取得值,指出指定的導覽屬性是否為集合屬性。
|
IsDependentToPrincipal(INavigation)
|
已過時。.
已過時。.
取得值,指出指定的導覽屬性是否為指向主體實體之相依實體類型的導覽屬性。
|
IsEagerLoaded(INavigation)
|
已過時。.
已過時。.
取得值,指出此導覽預設是否應積極式載入。
|
ToDebugString(INavigation, MetadataDebugStringOptions, Int32)
|
建立人類可讀取的指定中繼資料標記法。
警告:請勿依賴傳回字串的格式。
它是專為偵錯而設計,而且可能會在發行之間任意變更。
|
GetCurrentValueComparer(IPropertyBase)
|
IComparer<T>取得 ,用於比較追蹤 IUpdateEntry 專案中的值。
|
GetFieldName(IPropertyBase)
|
取得這個屬性的備份欄位名稱,如果不知道支援欄位,則 null 為 。
|
GetGetter(IPropertyBase)
|
取得用於 IClrPropertyGetter 讀取此屬性值的 。
請注意,因為這類屬性沒有相關聯的 MemberInfo ,所以呼叫陰影屬性 (IsShadowProperty(IPropertyBase)) 這個方法是錯誤的。
|
GetIndex(IPropertyBase)
|
取得這個屬性的屬性索引。
|
GetMemberInfo(IPropertyBase, Boolean, Boolean)
|
取得 或 FieldInfo , PropertyInfo 應該用來取得或設定指定屬性的值。
請注意,因為這類屬性沒有相關聯的 MemberInfo ,所以呼叫陰影屬性 (IsShadowProperty(IPropertyBase)) 這個方法是錯誤的。
|
GetPropertyAccessMode(IPropertyBase)
|
PropertyAccessMode取得用於這個屬性的 。
null 表示正在使用預設屬性存取模式。
|
IsIndexerProperty(IPropertyBase)
|
取得值,指出這個 是否為索引子屬性。 索引子屬性是透過實體類別上的索引子存取的屬性。
|
IsShadowProperty(IPropertyBase)
|
已過時。.
取得值,指出這個 是否為陰影屬性。 陰影屬性是實體類別中沒有對應屬性的陰影屬性。 屬性的目前值會儲存在 中 ChangeTracker ,而不是儲存在實體類別的實例中。
|