|
AddAnnotations(IConventionAnnotatable, IEnumerable<IConventionAnnotation>, Boolean)
|
向对象添加批注。
|
|
AnnotationsToDebugString(IAnnotatable, Int32)
|
获取针对对象上声明的所有批注的调试字符串。
|
|
CreateKeyEqualityComparer<TProperty>(IProperty)
|
为给定属性类型的值创建一个 IEqualityComparer<T> 。
|
|
FindColumn(IProperty, StoreObjectIdentifier)
|
如果映射到给定的类似表的存储对象,则返回对应于此属性的列。
|
|
FindContainingPrimaryKey(IConventionProperty)
|
获取使用此属性的主键(包括包含此属性的复合主键)。
|
|
FindContainingPrimaryKey(IProperty)
|
获取使用此属性的主键(包括包含此属性的复合主键)。
|
|
FindFirstPrincipal(IConventionProperty)
|
如果给定属性是外键的一部分,则查找给定属性受约束的第一个主体属性。
|
|
FindFirstPrincipal(IProperty)
|
如果给定属性是外键的一部分,则查找给定属性受约束的第一个主体属性。
|
|
FindHiLoSequence(IProperty, StoreObjectIdentifier)
|
查找 ISequence 要用于 hi-lo 模式的模型中。
|
|
FindHiLoSequence(IProperty)
|
查找 ISequence 要用于 hi-lo 模式的模型中。
|
|
FindHiLoSequence(IReadOnlyProperty, StoreObjectIdentifier)
|
查找 ISequence 要用于 hi-lo 模式的模型中。
|
|
FindHiLoSequence(IReadOnlyProperty)
|
查找 ISequence 要用于 hi-lo 模式的模型中。
|
|
FindMapping(IProperty)
|
已过时.
返回 CoreTypeMapping 给定属性。
|
|
FindOverrides(IConventionProperty, StoreObjectIdentifier)
|
返回特定表式存储对象的属性 facet 重写。
此方法通常由数据库提供程序(和其他扩展)使用。 它通常不用于应用程序代码。
|
|
FindOverrides(IProperty, StoreObjectIdentifier)
|
返回特定表式存储对象的属性 facet 重写。
此方法通常由数据库提供程序(和其他扩展)使用。 它通常不用于应用程序代码。
|
|
FindOverrides(IReadOnlyProperty, StoreObjectIdentifier)
|
返回特定表式存储对象的属性 facet 重写。
此方法通常由数据库提供程序(和其他扩展)使用。 它通常不用于应用程序代码。
|
|
FindPrincipals(IConventionProperty)
|
已过时.
查找主体属性的列表,包括给定属性约束的给定属性(如果给定属性是外键的一部分)。
|
|
FindPrincipals(IProperty)
|
已过时.
查找主体属性的列表,包括给定属性约束的给定属性(如果给定属性是外键的一部分)。
|
|
FindRelationalMapping(IProperty)
|
已过时.
返回 RelationalTypeMapping 最终模型的给定属性。
|
|
FindRelationalTypeMapping(IProperty, StoreObjectIdentifier)
|
返回 RelationalTypeMapping 最终模型的给定属性。
|
|
FindRelationalTypeMapping(IProperty)
|
返回 RelationalTypeMapping 最终模型的给定属性。
|
|
FindRelationalTypeMapping(IReadOnlyProperty, StoreObjectIdentifier)
|
返回 RelationalTypeMapping 最终模型的给定属性。
|
|
FindRelationalTypeMapping(IReadOnlyProperty)
|
返回 RelationalTypeMapping 最终模型的给定属性。
|
|
FindSequence(IReadOnlyProperty, StoreObjectIdentifier)
|
查找 ISequence 要用于键值生成模式的模型中。
|
|
FindSequence(IReadOnlyProperty)
|
查找 ISequence 要用于键值生成模式的模型中。
|
|
FindSharedStoreObjectRootProperty(IConventionProperty, StoreObjectIdentifier)
|
查找映射到共享表类似对象中的同一列的第 IProperty 一列。
此方法通常由数据库提供程序(和其他扩展)使用。 它通常不用于应用程序代码。
|
|
FindSharedStoreObjectRootProperty(IProperty, StoreObjectIdentifier)
|
查找映射到共享表类似对象中的同一列的第 IProperty 一列。
此方法通常由数据库提供程序(和其他扩展)使用。 它通常不用于应用程序代码。
|
|
FindSharedStoreObjectRootProperty(IReadOnlyProperty, StoreObjectIdentifier)
|
查找映射到共享表类似对象中的同一列的第 IProperty 一列。
此方法通常由数据库提供程序(和其他扩展)使用。 它通常不用于应用程序代码。
|
|
FindSharedTableRootPrimaryKeyProperty(IProperty)
|
查找 IProperty 表示与给定属性相同的主键属性,但可能位于共享根表中。
此类型通常由数据库提供程序(和其他扩展)使用。 它通常不用于应用程序代码。
|
|
FindTypeMapping(IProperty)
|
返回 CoreTypeMapping 给定属性。
|
|
GetAfterSaveBehavior(IProperty)
|
已过时.
获取一个值,该值指示在实体保存到数据库后是否可以修改此属性。
如果 Throw为 ,则在数据库中存在实体后向此属性分配新值时,将引发异常。
如果 Ignore,则将忽略对数据库中已存在的实体的属性值的任何修改。
|
|
GetAfterSaveBehaviorConfigurationSource(IConventionProperty)
|
返回用于 . 的配置 GetAfterSaveBehavior(IProperty)源。
|
|
GetAnnotation(IAnnotatable, String)
|
获取具有给定名称的批注,如果不存在,则引发该批注。
|
|
GetAnnotation(IConventionAnnotatable, String)
|
获取具有给定名称的批注,如果不存在,则引发该批注。
|
|
GetBeforeSaveBehavior(IProperty)
|
已过时.
获取一个值,该值指示在实体保存到数据库之前是否可以修改此属性。
如果 Throw,则在处于状态时 Added ,如果为此属性赋值,则会引发异常。
如果 Ignore,则在处于状态时,将忽略任何 Added 值集。
|
|
GetBeforeSaveBehaviorConfigurationSource(IConventionProperty)
|
返回用于 . 的配置 GetBeforeSaveBehavior(IProperty)源。
|
|
GetCollation(IProperty, StoreObjectIdentifier)
|
返回要用于列的排序规则。
|
|
GetCollation(IProperty)
|
返回要用于列的排序规则。
|
|
GetCollation(IReadOnlyProperty, StoreObjectIdentifier)
|
返回要用于列的排序规则。
|
|
GetCollation(IReadOnlyProperty)
|
返回要用于列的排序规则。
|
|
GetCollationConfigurationSource(IConventionProperty)
|
获取 ConfigurationSource 列排序规则。
|
|
GetColumnBaseName(IProperty)
|
返回属性要映射到的列的基名称。
|
|
GetColumnBaseName(IReadOnlyProperty)
|
已过时.
返回属性要映射到的列的基名称。
|
|
GetColumnName(IProperty, StoreObjectIdentifier)
|
返回为特定表映射属性的列的名称。
|
|
GetColumnName(IProperty)
|
已过时.
返回属性映射到的表列的名称。
|
|
GetColumnName(IReadOnlyProperty, StoreObjectIdentifier)
|
返回为特定表映射属性的列的名称。
|
|
GetColumnName(IReadOnlyProperty)
|
返回属性要映射到的列的名称。
|
|
GetColumnNameConfigurationSource(IConventionProperty, StoreObjectIdentifier)
|
获取 ConfigurationSource 特定类似表的存储对象的列名。
|
|
GetColumnNameConfigurationSource(IConventionProperty)
|
获取 ConfigurationSource 列名称。
|
|
GetColumnOrder(IReadOnlyProperty, StoreObjectIdentifier)
|
返回此属性映射到特定表的列的顺序。
|
|
GetColumnOrder(IReadOnlyProperty)
|
返回此属性映射到的列的顺序。
|
|
GetColumnOrderConfigurationSource(IConventionProperty)
|
ConfigurationSource获取列顺序。
|
|
GetColumnType(IProperty, StoreObjectIdentifier)
|
返回属性映射到的列的数据库类型。
|
|
GetColumnType(IProperty)
|
返回属性映射到的列的数据库类型。
|
|
GetColumnType(IReadOnlyProperty, StoreObjectIdentifier)
|
返回属性映射到的列的数据库类型,或者 null 找不到数据库类型。
|
|
GetColumnType(IReadOnlyProperty)
|
返回属性映射到的列的数据库类型,或者 null 找不到数据库类型。
|
|
GetColumnTypeConfigurationSource(IConventionProperty)
|
获取 ConfigurationSource 列名称。
|
|
GetComment(IProperty, StoreObjectIdentifier)
|
返回此属性映射到的列的注释。
|
|
GetComment(IProperty)
|
返回此属性映射到的列的注释。
|
|
GetComment(IReadOnlyProperty, StoreObjectIdentifier)
|
返回此属性映射到的列的注释。
|
|
GetComment(IReadOnlyProperty)
|
返回此属性映射到的列的注释。
|
|
GetCommentConfigurationSource(IConventionProperty)
|
获取 ConfigurationSource 列注释。
|
|
GetComputedColumnSql(IProperty, StoreObjectIdentifier)
|
返回用作此属性所映射到列的计算值的 SQL 表达式。
|
|
GetComputedColumnSql(IProperty)
|
返回用作此属性所映射到列的计算值的 SQL 表达式。
|
|
GetComputedColumnSql(IReadOnlyProperty, StoreObjectIdentifier)
|
返回用作此属性所映射到列的计算值的 SQL 表达式。
|
|
GetComputedColumnSql(IReadOnlyProperty)
|
返回用作此属性所映射到列的计算值的 SQL 表达式。
|
|
GetComputedColumnSqlConfigurationSource(IConventionProperty)
|
获取 ConfigurationSource 计算值 SQL 表达式。
|
|
GetContainingForeignKeys(IConventionProperty)
|
获取使用此属性的所有外键(包括包含此属性的复合外键)。
|
|
GetContainingForeignKeys(IProperty)
|
获取使用此属性的所有外键(包括包含此属性的复合外键)。
|
|
GetContainingIndexes(IConventionProperty)
|
获取使用此属性的所有索引(包括包含此属性的复合索引)。
|
|
GetContainingIndexes(IProperty)
|
获取使用此属性的所有索引(包括包含此属性的复合索引)。
|
|
GetContainingKeys(IConventionProperty)
|
获取使用此属性的所有主键或备用键(包括包含此属性的复合键)。
|
|
GetContainingKeys(IProperty)
|
获取使用此属性的所有主键或备用键(包括包含此属性的复合键)。
|
|
GetContainingPrimaryKey(IProperty)
|
已过时.
获取使用此属性的主键(包括包含此属性的复合主键)。
|
|
GetCurrentValueComparer(IPropertyBase)
|
获取用于 IComparer<T> 比较跟踪 IUpdateEntry 条目中的值。
|
|
GetDefaultColumnBaseName(IProperty)
|
返回属性要映射到的列的默认基名称
|
|
GetDefaultColumnBaseName(IReadOnlyProperty)
|
已过时.
返回属性要映射到的列的默认基名称
|
|
GetDefaultColumnMappings(IProperty)
|
返回属性要映射到的默认列。
|
|
GetDefaultColumnName(IProperty, StoreObjectIdentifier)
|
返回属性要映射到的默认列名。
|
|
GetDefaultColumnName(IProperty)
|
已过时.
返回属性要映射到的默认表列名。
|
|
GetDefaultColumnName(IReadOnlyProperty, StoreObjectIdentifier)
|
返回属性要映射到的默认列名。
|
|
GetDefaultColumnName(IReadOnlyProperty)
|
返回属性要映射到的列的默认基名称
|
|
GetDefaultConstraintName(IReadOnlyProperty, StoreObjectIdentifier)
|
获取默认约束名称。
|
|
GetDefaultConstraintName(IReadOnlyProperty)
|
获取默认约束名称。
|
|
GetDefaultConstraintNameConfigurationSource(IConventionProperty)
|
返回默认约束名称的配置源。
|
|
GetDefaultDefaultConstraintName(IReadOnlyProperty, StoreObjectIdentifier)
|
根据表和列名生成默认约束名称。
|
|
GetDefaultValue(IProperty, StoreObjectIdentifier)
|
返回用作此属性所映射到列的默认值的对象。
|
|
GetDefaultValue(IProperty)
|
返回用作此属性所映射到列的默认值的对象。
|
|
GetDefaultValue(IReadOnlyProperty, StoreObjectIdentifier)
|
返回用作此属性所映射到列的默认值的对象。
|
|
GetDefaultValue(IReadOnlyProperty)
|
返回用作此属性所映射到列的默认值的对象。
|
|
GetDefaultValueConfigurationSource(IConventionProperty)
|
获取 ConfigurationSource 默认值。
|
|
GetDefaultValueGenerationStrategy(IReadOnlyProperty)
|
返回要用于属性的默认值 SqliteValueGenerationStrategy 。
|
|
GetDefaultValueSql(IProperty, StoreObjectIdentifier)
|
返回用作此属性映射到的列的默认值的 SQL 表达式。
|
|
GetDefaultValueSql(IProperty)
|
返回用作此属性映射到的列的默认值的 SQL 表达式。
|
|
GetDefaultValueSql(IReadOnlyProperty, StoreObjectIdentifier)
|
返回用作此属性映射到的列的默认值的 SQL 表达式。
|
|
GetDefaultValueSql(IReadOnlyProperty)
|
返回用作此属性映射到的列的默认值的 SQL 表达式。
|
|
GetDefaultValueSqlConfigurationSource(IConventionProperty)
|
获取 ConfigurationSource 默认值 SQL 表达式。
|
|
GetFieldName(IPropertyBase)
|
获取此属性的后盾字段的名称,或者 null 如果后盾字段未知。
|
|
GetFullTextSearchLanguage(IReadOnlyProperty)
|
返回为此属性定义的全文搜索语言。
|
|
GetFullTextSearchLanguageConfigurationSource(IConventionProperty)
|
获取 ConfigurationSource 此属性的全文搜索语言的定义。
|
|
GetFunctionColumnMappings(IProperty)
|
返回属性映射到的函数列。
|
|
GetGeometricDimension(IProperty)
|
返回为此属性创建列时要使用的维度。
|
|
GetGeometricDimensionConfigurationSource(IConventionProperty)
|
获取 ConfigurationSource 列维度。
|
|
GetGetter(IPropertyBase)
|
获取一个 IClrPropertyGetter 用于读取此属性的值。
请注意,对于阴影属性(IsShadowProperty(IPropertyBase))调用此方法是一个错误,因为此类属性没有关联 MemberInfo。
|
|
GetHiLoSequenceName(IProperty, StoreObjectIdentifier)
|
返回要用于 hi-lo 序列的名称。
|
|
GetHiLoSequenceName(IProperty)
|
返回要用于 hi-lo 序列的名称。
|
|
GetHiLoSequenceName(IReadOnlyProperty, StoreObjectIdentifier)
|
返回要用于 hi-lo 序列的名称。
|
|
GetHiLoSequenceName(IReadOnlyProperty)
|
返回要用于 hi-lo 序列的名称。
|
|
GetHiLoSequenceNameConfigurationSource(IConventionProperty)
|
返回 ConfigurationSource hi-lo 序列名称。
|
|
GetHiLoSequenceSchema(IProperty, StoreObjectIdentifier)
|
返回要用于 hi-lo 序列的架构。
|
|
GetHiLoSequenceSchema(IProperty)
|
返回要用于 hi-lo 序列的架构。
|
|
GetHiLoSequenceSchema(IReadOnlyProperty, StoreObjectIdentifier)
|
返回要用于 hi-lo 序列的架构。
|
|
GetHiLoSequenceSchema(IReadOnlyProperty)
|
返回要用于 hi-lo 序列的架构。
|
|
GetHiLoSequenceSchemaConfigurationSource(IConventionProperty)
|
返回 ConfigurationSource hi-lo 序列架构。
|
|
GetIdentityIncrement(IProperty, StoreObjectIdentifier)
|
返回标识增量。
|
|
GetIdentityIncrement(IProperty)
|
返回标识增量。
|
|
GetIdentityIncrement(IReadOnlyProperty, StoreObjectIdentifier)
|
返回标识增量。
|
|
GetIdentityIncrement(IReadOnlyProperty)
|
返回标识增量。
|
|
GetIdentityIncrementConfigurationSource(IConventionProperty, StoreObjectIdentifier)
|
返回 ConfigurationSource 特定表的标识增量。
|
|
GetIdentityIncrementConfigurationSource(IConventionProperty)
|
返回 ConfigurationSource 标识增量。
|
|
GetIdentitySeed(IProperty, StoreObjectIdentifier)
|
返回标识种子。
|
|
GetIdentitySeed(IProperty)
|
返回标识种子。
|
|
GetIdentitySeed(IReadOnlyProperty, StoreObjectIdentifier)
|
返回标识种子。
|
|
GetIdentitySeed(IReadOnlyProperty)
|
返回标识种子。
|
|
GetIdentitySeedConfigurationSource(IConventionProperty, StoreObjectIdentifier)
|
返回 ConfigurationSource 特定表的标识种子。
|
|
GetIdentitySeedConfigurationSource(IConventionProperty)
|
返回 ConfigurationSource 标识种子。
|
|
GetIndex(IPropertyBase)
|
获取此属性的属性索引。
|
|
GetIsFixedLengthConfigurationSource(IConventionProperty)
|
获取 for ConfigurationSourceIsFixedLength(IReadOnlyProperty)。
|
|
GetIsFullTextSearchEnabled(IReadOnlyProperty)
|
返回一个值,该值指示是否为此属性启用全文搜索。
|
|
GetIsFullTextSearchEnabledConfigurationSource(IConventionProperty)
|
获取启用 ConfigurationSource 此属性的全文搜索。
|
|
GetIsHiddenConfigurationSource(IConventionProperty)
|
返回 ConfigurationSource 属性的列是否隐藏。
|
|
GetIsSparseConfigurationSource(IConventionProperty)
|
返回 ConfigurationSource 属性的列是否稀疏。
|
|
GetIsStored(IProperty, StoreObjectIdentifier)
|
获取此属性映射到的计算列的值是存储在数据库中,还是在读取时计算。
|
|
GetIsStored(IProperty)
|
获取此属性映射到的计算列的值是存储在数据库中,还是在读取时计算。
|
|
GetIsStored(IReadOnlyProperty, StoreObjectIdentifier)
|
获取此属性映射到的计算列的值是存储在数据库中,还是在读取时计算。
|
|
GetIsStored(IReadOnlyProperty)
|
获取此属性映射到的计算列的值是存储在数据库中,还是在读取时计算。
|
|
GetIsStoredConfigurationSource(IConventionProperty)
|
获取 ConfigurationSource 计算值 SQL 表达式。
|
|
GetIsUnicodeConfigurationSource(IConventionProperty)
|
返回用于 . 的配置 IsUnicode(IProperty)源。
|
|
GetJsonPropertyName(IProperty)
|
返回属性在面向 Cosmos 时映射到的属性名称。
|
|
GetJsonPropertyName(IReadOnlyProperty)
|
返回属性在面向 Cosmos 时映射到的属性名称。
|
|
GetJsonPropertyName(IReadOnlyProperty)
|
获取用于映射到 JSON 列的实体的给定属性的 JSON 属性名称的值。
|
|
GetJsonPropertyNameConfigurationSource(IConventionProperty)
|
获取 ConfigurationSource 属性在面向 Cosmos 时映射到的属性名称。
|
|
GetJsonPropertyNameConfigurationSource(IConventionProperty)
|
获取 ConfigurationSource 给定实体属性的 JSON 属性名称。
|
|
GetKeyValueComparer(IProperty)
|
获取要 ValueComparer 与此属性的键一起使用,或者 null 如果未设置任何键。
|
|
GetKeyValueComparerConfigurationSource(IConventionProperty)
|
已过时.
返回用于 . 的配置 GetKeyValueComparer()源。
|
|
GetMappedStoreObjects(IReadOnlyProperty, StoreObjectType)
|
返回此属性映射到的类似表的存储对象。
此方法通常由数据库提供程序(和其他扩展)使用。 它通常不用于应用程序代码。
|
|
GetMaxLength(IProperty, StoreObjectIdentifier)
|
获取此属性中允许的最大数据长度。 例如,如果属性是 String ,则这是最大字符数。
|
|
GetMaxLength(IProperty)
|
获取此属性中允许的最大数据长度。 例如,如果属性是 String ,则这是最大字符数。
|
|
GetMaxLength(IReadOnlyProperty, StoreObjectIdentifier)
|
获取此属性中允许的最大数据长度。 例如,如果属性是 String ,则这是最大字符数。
|
|
GetMaxLengthConfigurationSource(IConventionProperty)
|
返回用于 . 的配置 GetMaxLength(IProperty)源。
|
|
GetMemberInfo(IPropertyBase, Boolean, Boolean)
|
PropertyInfo
FieldInfo获取或用于获取或设置给定属性的值。
请注意,对于阴影属性(IsShadowProperty(IPropertyBase))调用此方法是一个错误,因为此类属性没有关联 MemberInfo。
|
|
GetOrCreateOverrides(IConventionProperty, StoreObjectIdentifier, Boolean)
|
返回特定表式存储对象的属性 facet 重写。
此方法通常由数据库提供程序(和其他扩展)使用。 它通常不用于应用程序代码。
|
|
GetOrCreateOverrides(IConventionProperty, StoreObjectIdentifier)
|
返回特定表式存储对象的属性 facet 重写。
此方法通常由数据库提供程序(和其他扩展)使用。 它通常不用于应用程序代码。
|
|
GetOverrides(IConventionProperty)
|
返回所有属性 facet 重写。
此方法通常由数据库提供程序(和其他扩展)使用。 它通常不用于应用程序代码。
|
|
GetOverrides(IReadOnlyProperty)
|
返回所有属性 facet 重写。
此方法通常由数据库提供程序(和其他扩展)使用。 它通常不用于应用程序代码。
|
|
GetPrecision(IProperty, StoreObjectIdentifier)
|
获取此属性中允许的数据的精度。
例如,如果该属性是一个 Decimal ,则这是最大位数。
|
|
GetPrecision(IProperty)
|
获取此属性中允许的数据的精度。
例如,如果该属性是一个 Decimal ,则这是最大位数。
|
|
GetPrecision(IReadOnlyProperty, StoreObjectIdentifier)
|
获取此属性中允许的数据的精度。
例如,如果该属性是一个 Decimal ,则这是最大位数。
|
|
GetPrecisionConfigurationSource(IConventionProperty)
|
返回用于 . 的配置 GetPrecision(IProperty)源。
|
|
GetPropertyAccessMode(IPropertyBase)
|
PropertyAccessMode获取用于此属性的用途。
null 指示正在使用默认属性访问模式。
|
|
GetPropertyAccessModeConfigurationSource(IConventionPropertyBase)
|
返回用于 . 的配置 GetPropertyAccessMode()源。
|
|
GetPropertyName(IProperty)
|
返回目标 Cosmos 时使用的属性名称。
|
|
GetPropertyNameConfigurationSource(IConventionProperty)
|
获取 ConfigurationSource 针对 Cosmos 时使用的属性名称。
|
|
GetProviderClrType(IProperty)
|
获取在发送到数据库提供程序之前将属性值转换为的类型。
|
|
GetProviderClrTypeConfigurationSource(IConventionProperty)
|
返回用于 . 的配置 GetProviderClrType(IProperty)源。
|
|
GetRelationalTypeMapping(IProperty)
|
返回 RelationalTypeMapping 最终模型的给定属性。
|
|
GetRelationalTypeMapping(IReadOnlyProperty)
|
返回 RelationalTypeMapping 最终模型的给定属性。
|
|
GetScale(IProperty, StoreObjectIdentifier)
|
获取此属性中允许的数据缩放。
例如,如果该属性是一个 Decimal ,则这是小数位数的最大数目。
|
|
GetScale(IProperty)
|
获取此属性中允许的数据缩放。
例如,如果该属性是一个 Decimal ,则这是小数位数的最大数目。
|
|
GetScale(IReadOnlyProperty, StoreObjectIdentifier)
|
获取此属性中允许的数据缩放。
例如,如果该属性是一个 Decimal ,则这是小数位数的最大数目。
|
|
GetScaleConfigurationSource(IConventionProperty)
|
返回用于 . 的配置 GetScale(IProperty)源。
|
|
GetSequenceName(IReadOnlyProperty, StoreObjectIdentifier)
|
返回要用于键值生成序列的名称。
|
|
GetSequenceName(IReadOnlyProperty)
|
返回要用于键值生成序列的名称。
|
|
GetSequenceNameConfigurationSource(IConventionProperty)
|
返回 ConfigurationSource 键值生成序列名称。
|
|
GetSequenceSchema(IReadOnlyProperty, StoreObjectIdentifier)
|
返回要用于键值生成序列的架构。
|
|
GetSequenceSchema(IReadOnlyProperty)
|
返回要用于键值生成序列的架构。
|
|
GetSequenceSchemaConfigurationSource(IConventionProperty)
|
返回 ConfigurationSource 键值生成序列架构。
|
|
GetSqlQueryColumnMappings(IProperty)
|
返回属性映射到的 SQL 查询列。
|
|
GetSrid(IProperty, StoreObjectIdentifier)
|
返回为此属性创建列时要使用的 SRID。
|
|
GetSrid(IProperty)
|
返回为此属性创建列时要使用的 SRID。
|
|
GetSrid(IReadOnlyProperty, StoreObjectIdentifier)
|
返回为此属性创建列时要使用的 SRID。
|
|
GetSrid(IReadOnlyProperty)
|
返回为此属性创建列时要使用的 SRID。
|
|
GetSridConfigurationSource(IConventionProperty)
|
获取列 SRID 的列 ConfigurationSource 。
|
|
GetStructuralValueComparer(IProperty)
|
已过时.
获取 ValueComparer 要用于此属性的结构副本,或者 null 如果未设置任何副本。
|
|
GetStructuralValueComparerConfigurationSource(IConventionProperty)
|
已过时.
返回用于 . 的配置 GetStructuralValueComparer(IProperty)源。
|
|
GetTableColumnMappings(IProperty)
|
返回属性映射到的表列。
|
|
GetTypeMapping(IProperty)
|
从 CoreTypeMapping 最终的模型返回给定属性。
|
|
GetTypeMappingConfigurationSource(IConventionProperty)
|
获取 for ConfigurationSourceFindTypeMapping(IProperty)。
|
|
GetValueComparer(IProperty)
|
获取此属性, ValueComparer 或者 null 如果未设置任何属性。
|
|
GetValueComparerConfigurationSource(IConventionProperty)
|
返回用于 . 的配置 GetValueComparer(IProperty)源。
|
|
GetValueConverter(IProperty)
|
已过时.
获取此属性的自定义 ValueConverter 集。
|
|
GetValueConverterConfigurationSource(IConventionProperty)
|
返回用于 . 的配置 GetValueConverter(IProperty)源。
|
|
GetValueGenerationStrategy(IProperty, StoreObjectIdentifier)
|
返回 SqlServerValueGenerationStrategy 要用于该属性的项。
如果未为属性设置任何策略,则将从中 IModel获取要使用的策略。
|
|
GetValueGenerationStrategy(IProperty)
|
返回 SqlServerValueGenerationStrategy 要用于该属性的项。
如果未为属性设置任何策略,则将从中 IModel获取要使用的策略。
|
|
GetValueGenerationStrategy(IReadOnlyProperty, StoreObjectIdentifier)
|
返回 SqliteValueGenerationStrategy 要用于该属性的项。
|
|
GetValueGenerationStrategy(IReadOnlyProperty, StoreObjectIdentifier)
|
返回 SqlServerValueGenerationStrategy 要用于该属性的项。
|
|
GetValueGenerationStrategy(IReadOnlyProperty)
|
返回 SqliteValueGenerationStrategy 要用于该属性的项。
|
|
GetValueGenerationStrategy(IReadOnlyProperty)
|
返回 SqlServerValueGenerationStrategy 要用于该属性的项。
|
|
GetValueGenerationStrategyConfigurationSource(IConventionProperty, StoreObjectIdentifier)
|
返回 ConfigurationSource 特定表的项 SqliteValueGenerationStrategy 。
|
|
GetValueGenerationStrategyConfigurationSource(IConventionProperty, StoreObjectIdentifier)
|
返回 ConfigurationSource 特定表的项 SqlServerValueGenerationStrategy 。
|
|
GetValueGenerationStrategyConfigurationSource(IConventionProperty)
|
获取 ConfigurationSource 值生成策略。
|
|
GetValueGenerationStrategyConfigurationSource(IConventionProperty)
|
返回该SqlServerValueGenerationStrategy对象的值ConfigurationSource。
|
|
GetValueGeneratorFactory(IProperty)
|
已过时.
获取已设置为为此属性生成值的工厂(如果有)。
|
|
GetValueGeneratorFactoryConfigurationSource(IConventionProperty)
|
返回用于 . 的配置 GetValueGeneratorFactory(IProperty)源。
|
|
GetVectorDimensions(IReadOnlyProperty)
|
返回存储在此属性中的矢量的维度。
|
|
GetVectorDimensionsConfigurationSource(IConventionProperty)
|
获取 ConfigurationSource 存储在此属性中的矢量的维度。
|
|
GetVectorDistanceFunction(IReadOnlyProperty)
|
返回存储在此属性中的矢量的距离函数。
|
|
GetVectorDistanceFunctionConfigurationSource(IConventionProperty)
|
获取 ConfigurationSource 存储在此属性中的矢量的距离函数。
|
|
GetVectorType(IReadOnlyProperty)
|
返回存储在此属性中的矢量的定义。
|
|
GetVectorTypeConfigurationSource(IConventionProperty)
|
获取 ConfigurationSource 存储在此属性中的矢量的定义。
|
|
GetViewColumnMappings(IProperty)
|
返回属性映射到的视图列。
|
|
IsColumnNullable(IProperty, StoreObjectIdentifier)
|
检查映射到给定 IProperty 的列在数据库中创建时是否可为 null。
这取决于属性本身及其映射方式。 例如,TPH 类型层次结构中的派生不可为 null 属性将映射到可以为 null 的列。
以及共享同一表的可选类型的属性。
|
|
IsColumnNullable(IProperty)
|
检查映射到给定 IProperty 的列在数据库中创建时是否可为 null。
这取决于属性本身及其映射方式。 例如,TPH 类型层次结构中的派生不可为 null 属性将映射到可以为 null 的列。
以及共享同一表的可选类型的属性。
|
|
IsColumnNullable(IReadOnlyProperty, StoreObjectIdentifier)
|
检查映射到给定属性的列在数据库中创建时是否可为 null。
|
|
IsColumnNullable(IReadOnlyProperty)
|
检查映射到给定 IProperty 的列在数据库中创建时是否可为 null。
|
|
IsFixedLength(IProperty, StoreObjectIdentifier)
|
返回一个标志,指示属性是否能够仅存储固定长度的数据,如字符串。
|
|
IsFixedLength(IProperty)
|
返回一个标志,指示属性是否能够仅存储固定长度的数据,如字符串。
|
|
IsFixedLength(IReadOnlyProperty, StoreObjectIdentifier)
|
返回一个标志,该标志指示该属性是否能够仅存储固定长度的数据,例如字符串。
|
|
IsFixedLength(IReadOnlyProperty)
|
返回一个标志,该标志指示该属性是否能够仅存储固定长度的数据,例如字符串。
|
|
IsForeignKey(IProperty)
|
已过时.
获取一个值,该值指示此属性是用作外键(还是复合外键的一部分)。
|
|
IsHidden(IReadOnlyProperty)
|
返回一个值,该值指示属性的列是否使用SQL ServerHIDDEN标志定义,这将从结果中SELECT *排除该列。
|
|
IsIndex(IProperty)
|
已过时.
获取一个值,该值指示此属性是用作索引(还是复合索引的一部分)。
|
|
IsIndexerProperty(IPropertyBase)
|
获取一个值,该值指示这是否为索引器属性。 索引器属性是通过实体类上的索引器访问的。
|
|
IsKey(IProperty)
|
已过时.
获取一个值,该值指示此属性是否用作主键或备用键(或复合主键或备用键的一部分)。
|
|
IsPrimaryKey(IProperty)
|
已过时.
获取一个值,该值指示此属性是用作主键(还是复合主键的一部分)。
|
|
IsShadowProperty(IPropertyBase)
|
已过时.
获取一个值,该值指示这是否为阴影属性。 阴影属性是实体类中没有相应属性的阴影属性。 该属性的当前值存储在实体类的实例中 ChangeTracker ,而不是存储在实体类的实例中。
|
|
IsSparse(IReadOnlyProperty, StoreObjectIdentifier)
|
返回一个值,该值指示属性的列是否稀疏。
|
|
IsSparse(IReadOnlyProperty)
|
返回一个值,该值指示属性的列是否稀疏。
|
|
IsUnicode(IProperty, StoreObjectIdentifier)
|
获取一个值,该值指示属性是否可以持久保存 Unicode 字符。
|
|
IsUnicode(IProperty)
|
获取一个值,该值指示属性是否可以持久保存 Unicode 字符。
|
|
IsUnicode(IReadOnlyProperty, StoreObjectIdentifier)
|
获取一个值,该值指示属性是否可以持久保存 Unicode 字符。
|
|
IsUniqueIndex(IProperty)
|
已过时.
获取一个值,该值指示此属性是用作唯一索引(还是唯一复合索引的一部分)。
|
|
RemoveOverrides(IConventionProperty, StoreObjectIdentifier)
|
删除特定表式存储对象的属性 facet 重写。
此方法通常由数据库提供程序(和其他扩展)使用。 它通常不用于应用程序代码。
|
|
SetAfterSaveBehavior(IConventionProperty, Nullable<PropertySaveBehavior>, Boolean)
|
设置一个值,该值指示在实体保存到数据库后是否可以修改此属性。
如果 Throw为 ,则在数据库中存在实体后向此属性分配新值时,将引发异常。
如果 Ignore,则将忽略对数据库中已存在的实体的属性值的任何修改。
|
|
SetBeforeSaveBehavior(IConventionProperty, Nullable<PropertySaveBehavior>, Boolean)
|
设置一个值,该值指示在实体保存到数据库之前是否可以修改此属性。
如果 Throw,则在处于状态时 Added ,如果为此属性赋值,则会引发异常。
如果 Ignore,则在处于状态时,将忽略任何 Added 值集。
|
|
SetCollation(IConventionProperty, String, Boolean)
|
配置要用于此属性所映射到的列的排序规则。
|
|
SetColumnName(IConventionProperty, String, Boolean)
|
设置属性映射到的列。
|
|
SetColumnName(IConventionProperty, String, StoreObjectIdentifier, Boolean)
|
设置属性映射到特定表类似存储对象的列。
|
|
SetColumnOrder(IConventionProperty, Nullable<Int32>, Boolean)
|
设置属性映射到的列的顺序。
|
|
SetColumnType(IConventionProperty, String, Boolean)
|
设置属性映射到的列的数据库类型。
|
|
SetComment(IConventionProperty, String, Boolean)
|
配置要应用于此属性所映射到的列的注释。
|
|
SetComputedColumnSql(IConventionProperty, String, Boolean)
|
设置用作此属性所映射到列的计算值的 SQL 表达式。
|
|
SetDefaultConstraintName(IConventionProperty, String, Boolean)
|
设置默认约束名称。
|
|
SetDefaultValue(IConventionProperty, Object, Boolean)
|
设置用作此属性映射到的列的默认值的对象。
|
|
SetDefaultValueSql(IConventionProperty, String, Boolean)
|
设置用作此属性映射到的列的默认值的 SQL 表达式。
|
|
SetField(IConventionPropertyBase, String, Boolean)
|
设置此属性应使用的基础 CLR 字段。
这可能 null 适用于阴影属性,或者属性的后盾字段未知。
支持字段通常按约定找到,如下所述: http://go.microsoft.com/fwlink/?LinkId=723277.
在约定找不到正确的字段的情况下,此方法可用于显式设置支持字段。
默认情况下,如果找到或指定了后盾字段,则当构造新对象时使用,通常是从数据库查询实体时。
属性用于所有其他访问。 可以通过调用 SetPropertyAccessMode(IConventionPropertyBase, Nullable<PropertyAccessMode>, Boolean)来更改此更改。
|
|
SetFullTextSearchLanguage(IConventionProperty, String, Boolean)
|
设置为此属性定义的全文搜索语言。
|
|
SetGeometricDimension(IConventionProperty, String, Boolean)
|
设置为此属性创建列时要使用的维度。
|
|
SetHiLoSequenceName(IConventionProperty, String, Boolean)
|
设置要用于 hi-lo 序列的名称。
|
|
SetHiLoSequenceSchema(IConventionProperty, String, Boolean)
|
设置要用于 hi-lo 序列的架构。
|
|
SetIdentityIncrement(IConventionProperty, Nullable<Int32>, Boolean)
|
设置标识增量。
|
|
SetIdentityIncrement(IConventionProperty, Nullable<Int32>, StoreObjectIdentifier, Boolean)
|
设置特定表的标识增量。
|
|
SetIdentitySeed(IConventionProperty, Nullable<Int32>, Boolean)
|
设置标识种子。
|
|
SetIdentitySeed(IConventionProperty, Nullable<Int64>, Boolean)
|
设置标识种子。
|
|
SetIdentitySeed(IConventionProperty, Nullable<Int64>, StoreObjectIdentifier, Boolean)
|
设置特定表的标识种子。
|
|
SetIsFixedLength(IConventionProperty, Nullable<Boolean>, Boolean)
|
设置一个标志,指示该属性是否能够仅存储固定长度的数据,例如字符串。
|
|
SetIsFullTextSearchEnabled(IConventionProperty, Nullable<Boolean>, Boolean)
|
启用此属性的全文搜索。
|
|
SetIsHidden(IConventionProperty, Nullable<Boolean>, Boolean)
|
设置一个值,该值指示是否使用SQL ServerHIDDEN标志定义属性的列。
|
|
SetIsSparse(IConventionProperty, Nullable<Boolean>, Boolean)
|
设置一个值,该值指示属性的列是否稀疏。
|
|
SetIsStored(IConventionProperty, Nullable<Boolean>, Boolean)
|
设置此属性映射到的计算列的值是存储在数据库中,还是在读取时计算。
|
|
SetIsUnicode(IConventionProperty, Nullable<Boolean>, Boolean)
|
设置一个值,该值指示此属性是否可以持久保存 Unicode 字符。
|
|
SetJsonPropertyName(IConventionProperty, String, Boolean)
|
设置属性在面向 Cosmos 时映射到的属性名称。
|
|
SetJsonPropertyName(IConventionProperty, String, Boolean)
|
设置用于映射到 JSON 列的实体的给定属性的 JSON 属性名称的值。
|
|
SetKeyValueComparer(IConventionProperty, ValueComparer, Boolean)
|
已过时.
执行键比较时,设置此属性的自定义 ValueComparer 。
|
|
SetMaxLength(IConventionProperty, Nullable<Int32>, Boolean)
|
设置此属性中允许的最大数据长度。 例如,如果该属性为 String ',则这是最大字符数。
|
|
SetOrRemoveAnnotation(IConventionAnnotatable, String, Object, Boolean)
|
设置存储在给定名称下的批注。 如果已存在具有指定名称的批注,则覆盖现有批注。 如果 null 已提供,则删除现有批注。
|
|
SetPrecision(IConventionProperty, Nullable<Int32>, Boolean)
|
设置此属性中允许的数据的精度。
例如,如果该属性是一个 Decimal ,则这是最大位数。
|
|
SetPropertyAccessMode(IConventionPropertyBase, Nullable<PropertyAccessMode>, Boolean)
|
PropertyAccessMode设置要用于此属性的项。
|
|
SetPropertyName(IConventionProperty, String, Boolean)
|
设置目标 Cosmos 时使用的属性名称。
|
|
SetProviderClrType(IConventionProperty, Type, Boolean)
|
设置在发送到数据库提供程序之前将属性值转换为的类型。
|
|
SetScale(IConventionProperty, Nullable<Int32>, Boolean)
|
设置此属性中允许的数据规模。
例如,如果该属性是一个 Decimal ,则这是小数位数的最大数目。
|
|
SetSequenceName(IConventionProperty, String, Boolean)
|
设置要用于键值生成序列的名称。
|
|
SetSequenceSchema(IConventionProperty, String, Boolean)
|
设置要用于键值生成序列的架构。
|
|
SetSrid(IConventionProperty, Nullable<Int32>, Boolean)
|
设置为此属性创建列时要使用的 SRID。
|
|
SetStructuralValueComparer(IConventionProperty, ValueComparer, Boolean)
|
已过时.
设置此属性的结构副本的自定义 ValueComparer 。
|
|
SetTypeMapping(IConventionProperty, CoreTypeMapping, Boolean)
|
设置 CoreTypeMapping 给定属性
|
|
SetValueComparer(IConventionProperty, ValueComparer, Boolean)
|
设置此属性的自定义 ValueComparer 。
|
|
SetValueConverter(IConventionProperty, ValueConverter, Boolean)
|
设置此属性的自定义 ValueConverter 。
|
|
SetValueGenerationStrategy(IConventionProperty, Nullable<SqliteValueGenerationStrategy>, Boolean)
|
设置 SqliteValueGenerationStrategy 要用于属性的设置。
|
|
SetValueGenerationStrategy(IConventionProperty, Nullable<SqliteValueGenerationStrategy>, StoreObjectIdentifier, Boolean)
|
设置 SqliteValueGenerationStrategy 要用于特定表的属性。
|
|
SetValueGenerationStrategy(IConventionProperty, Nullable<SqlServerValueGenerationStrategy>, Boolean)
|
设置 SqlServerValueGenerationStrategy 要用于属性的设置。
|
|
SetValueGenerationStrategy(IConventionProperty, Nullable<SqlServerValueGenerationStrategy>, StoreObjectIdentifier, Boolean)
|
设置 SqlServerValueGenerationStrategy 要用于特定表的属性。
|
|
SetValueGeneratorFactory(IConventionProperty, Func<IProperty,IEntityType,ValueGenerator>, Boolean)
|
将工厂设置为用于生成此属性的值,或 null 清除以前设置的任何工厂。
设置 null 不会禁用此属性的值生成,它只会清除为此属性显式配置的任何生成器。 数据库提供程序可能仍具有属性类型的值生成器。
|
|
SetVectorDimensions(IConventionProperty, Nullable<Int32>, Boolean)
|
设置存储在此属性中的矢量的尺寸。
|
|
SetVectorDistanceFunction(IConventionProperty, Nullable<DistanceFunction>, Boolean)
|
设置存储在此属性中的矢量的距离函数。
|
|
SetVectorType(IConventionProperty, CosmosVectorType, Boolean)
|
设置存储在此属性中的矢量的定义。
|
|
ToDebugString(IProperty, MetadataDebugStringOptions, Int32)
|
创建给定元数据的可读表示形式。
警告:不要依赖于返回的字符串的格式。
它仅用于调试,可以在版本之间任意更改。
|
|
TryGetDefaultValue(IReadOnlyProperty, Object)
|
返回用作此属性所映射到列的默认值的对象。
|
|
TryGetDefaultValue(IReadOnlyProperty, StoreObjectIdentifier, Object)
|
返回用作此属性所映射到列的默认值的对象。
|