Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: CREF issues from Docs Repo #958

Merged
merged 12 commits into from
Jun 29, 2019
4 changes: 2 additions & 2 deletions src/EntityFramework/Core/Metadata/Edm/MetadataWorkspace.cs
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ public virtual T GetItem<T>(string identity, DataSpace dataSpace) where T : Glob
/// <param name="identity">The conceptual model on which the item is searched.</param>
/// <param name="space">The conceptual model on which the item is searched.</param>
/// <param name="item">
/// When this method returns, contains a <see cref="T:System.Data.Metadata.Edm.GlobalIem" /> object. This parameter is passed uninitialized.
/// When this method returns, contains a <see cref="T:System.Data.Metadata.Edm.GlobalItem" /> object. This parameter is passed uninitialized.
/// </param>
/// <typeparam name="T">The type returned by the method.</typeparam>
public virtual bool TryGetItem<T>(string identity, DataSpace space, out T item) where T : GlobalItem
Expand Down Expand Up @@ -577,7 +577,7 @@ public virtual T GetItem<T>(string identity, bool ignoreCase, DataSpace dataSpac
/// <param name="ignoreCase">true to perform the case-insensitive search; otherwise, false.</param>
/// <param name="dataSpace">The conceptual model on which the item is searched.</param>
/// <param name="item">
/// When this method returns, contains a <see cref="T:System.Data.Metadata.Edm.GlobalIem" /> object. This parameter is passed uninitialized.
/// When this method returns, contains a <see cref="T:System.Data.Metadata.Edm.GlobalItem" /> object. This parameter is passed uninitialized.
/// </param>
/// <typeparam name="T">The type returned by the method.</typeparam>
public virtual bool TryGetItem<T>(string identity, bool ignoreCase, DataSpace dataSpace, out T item) where T : GlobalItem
Expand Down
10 changes: 5 additions & 5 deletions src/EntityFramework/Core/Metadata/Edm/TypeUsage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -281,10 +281,10 @@ public static TypeUsage CreateBinaryTypeUsage(PrimitiveType primitiveType, bool
/// A <see cref="T:System.Data.Metadata.Edm.DateTimeTypeUsage" /> object.
/// </returns>
/// <param name="primitiveType">
/// The simple type that defines the units of measurement of the <see cref="T:System." />DateTime object.
/// The simple type that defines the units of measurement of the <see cref="T:System.DateTime" /> object.
/// </param>
/// <param name="precision">
/// The degree of granularity of the <see cref="T:System." />DateTimeOffset in fractions of a second, based on the number of decimal places supported. For example a precision of 3 means the granularity supported is milliseconds.
/// The degree of granularity of the <see cref="T:System.DateTimeOffset" /> in fractions of a second, based on the number of decimal places supported. For example a precision of 3 means the granularity supported is milliseconds.
/// </param>
public static TypeUsage CreateDateTimeTypeUsage(
PrimitiveType primitiveType,
Expand Down Expand Up @@ -314,7 +314,7 @@ public static TypeUsage CreateDateTimeTypeUsage(
/// </returns>
/// <param name="primitiveType">The simple type that defines the units of measurement of the offset.</param>
/// <param name="precision">
/// The degree of granularity of the <see cref="T:System." />DateTimeOffset in fractions of a second, based on the number of decimal places supported. For example a precision of 3 means the granularity supported is milliseconds.
/// The degree of granularity of the <see cref="T:System.DateTimeOffset" /> in fractions of a second, based on the number of decimal places supported. For example a precision of 3 means the granularity supported is milliseconds.
/// </param>
public static TypeUsage CreateDateTimeOffsetTypeUsage(
PrimitiveType primitiveType,
Expand Down Expand Up @@ -344,10 +344,10 @@ public static TypeUsage CreateDateTimeOffsetTypeUsage(
/// A <see cref="T:System.Data.Metadata.Edm.TimeTypeUsage" /> object.
/// </returns>
/// <param name="primitiveType">
/// The simple type that defines the units of measurement of the <see cref="T:System." />DateTime object.
/// The simple type that defines the units of measurement of the <see cref="T:System.DateTime" /> object.
/// </param>
/// <param name="precision">
/// The degree of granularity of the <see cref="T:System." />DateTimeOffset in fractions of a second, based on the number of decimal places supported. For example a precision of 3 means the granularity supported is milliseconds.
/// The degree of granularity of the <see cref="T:System.DateTimeOffset" /> in fractions of a second, based on the number of decimal places supported. For example a precision of 3 means the granularity supported is milliseconds.
/// </param>
public static TypeUsage CreateTimeTypeUsage(
PrimitiveType primitiveType,
Expand Down
4 changes: 2 additions & 2 deletions src/EntityFramework/Core/Objects/DbUpdatableDataRecord.cs
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ IDataReader IDataRecord.GetData(int ordinal)
}

/// <summary>
/// Retrieves the field value as a <see cref="T:System.Common.DbDataReader" />
/// Retrieves the field value as a <see cref="T:System.Data.Common.DbDataReader" />
/// </summary>
/// <returns>
/// The field value as a <see cref="T:System.Data.Common.DbDataReader" />.
Expand Down Expand Up @@ -541,7 +541,7 @@ public DbDataRecord GetDataRecord(int i)
}

/// <summary>
/// Retrieves the field value as a <see cref="T:System.Common.DbDataReader" />.
/// Retrieves the field value as a <see cref="T:System.Data.Common.DbDataReader" />.
/// </summary>
/// <returns>
/// The field value as a <see cref="T:System.Data.Common.DbDataReader" />.
Expand Down
8 changes: 4 additions & 4 deletions src/EntityFramework/Core/Objects/ObjectContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,7 @@ internal void AddSingleObject(EntitySet entitySet, IEntityWrapper wrappedEntity,
/// <exception cref="T:System.InvalidOperationException">
/// The entity is in a <see cref="F:System.Data.Entity.EntityState.Detached" />,
/// <see
/// cref="F:System.Data.Entity.EntityState.Added," />
/// cref="F:System.Data.Entity.EntityState.Added" />
/// or <see cref="F:System.Data.Entity.EntityState.Deleted" /> state or the entity is attached to another instance of
/// <see
/// cref="T:System.Data.Entity.Core.Objects.ObjectContext" />
Expand All @@ -836,7 +836,7 @@ public virtual void LoadProperty(object entity, string navigationProperty)
/// <exception cref="T:System.InvalidOperationException">
/// The entity is in a <see cref="F:System.Data.Entity.EntityState.Detached" />,
/// <see
/// cref="F:System.Data.Entity.EntityState.Added," />
/// cref="F:System.Data.Entity.EntityState.Added" />
/// or <see cref="F:System.Data.Entity.EntityState.Deleted" /> state or the entity is attached to another instance of
/// <see
/// cref="T:System.Data.Entity.Core.Objects.ObjectContext" />
Expand All @@ -857,7 +857,7 @@ public virtual void LoadProperty(object entity, string navigationProperty, Merge
/// <exception cref="T:System.InvalidOperationException">
/// The entity is in a <see cref="F:System.Data.Entity.EntityState.Detached" />,
/// <see
/// cref="F:System.Data.Entity.EntityState.Added," />
/// cref="F:System.Data.Entity.EntityState.Added" />
/// or <see cref="F:System.Data.Entity.EntityState.Deleted" /> state or the entity is attached to another instance of
/// <see
/// cref="T:System.Data.Entity.Core.Objects.ObjectContext" />
Expand Down Expand Up @@ -887,7 +887,7 @@ public virtual void LoadProperty<TEntity>(TEntity entity, Expression<Func<TEntit
/// <exception cref="T:System.InvalidOperationException">
/// The entity is in a <see cref="F:System.Data.Entity.EntityState.Detached" />,
/// <see
/// cref="F:System.Data.Entity.EntityState.Added," />
/// cref="F:System.Data.Entity.EntityState.Added" />
/// or <see cref="F:System.Data.Entity.EntityState.Deleted" /> state or the entity is attached to another instance of
/// <see
/// cref="T:System.Data.Entity.Core.Objects.ObjectContext" />
Expand Down
2 changes: 1 addition & 1 deletion src/EntityFramework/Core/Objects/ObjectStateManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2255,7 +2255,7 @@ private void ResetEntityKey(EntityEntry entry, EntityKey value)
/// <exception cref="T:System.InvalidOperationException">
/// When the object is not detached and does not have an entry in the state manager
/// or when you try to change the state to <see cref="F:System.Data.Entity.EntityState.Detached" />
/// from any other <see cref="T:System.Data.Entity.EntityState." />
/// from any other <see cref="T:System.Data.Entity.EntityState" />
/// or when state is not a valid <see cref="T:System.Data.Entity.EntityState" /> value.
/// </exception>
public virtual ObjectStateEntry ChangeObjectState(object entity, EntityState entityState)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1178,7 +1178,7 @@ protected virtual void Generate(ColumnModel column, IndentedTextWriter writer, b
}

/// <summary>
/// Generates code to specify the default value for a <see cref="T:byte[]" /> column.
/// Generates code to specify the default value for a <see cref="T:System.Byte[]" /> column.
/// </summary>
/// <param name="defaultValue"> The value to be used as the default. </param>
/// <returns> Code representing the default value. </returns>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1214,7 +1214,7 @@ protected virtual void Generate(ColumnModel column, IndentedTextWriter writer, b
}

/// <summary>
/// Generates code to specify the default value for a <see cref="T:byte[]" /> column.
/// Generates code to specify the default value for a <see cref="T:System.Byte[]" /> column.
/// </summary>
/// <param name="defaultValue"> The value to be used as the default. </param>
/// <returns> Code representing the default value. </returns>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public PropertyMappingConfiguration Property<T>(
}

/// <summary>
/// Configures a <see cref="T:System.struct?" /> property that is included in this mapping fragment.
/// Configures a <see cref="T:System.struct" /> property that is included in this mapping fragment.
/// </summary>
/// <typeparam name="T"> The type of the property being configured. </typeparam>
/// <param name="propertyExpression"> A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty </param>
Expand All @@ -90,7 +90,7 @@ public PropertyMappingConfiguration Property<T>(
}

/// <summary>
/// Configures a <see cref="T:DbGeometry" /> property that is included in this mapping fragment.
/// Configures a <see cref="T:System.Data.Entity.Spatial.DbGeometry" /> property that is included in this mapping fragment.
/// </summary>
/// <param name="propertyExpression"> A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty </param>
/// <returns> A configuration object that can be used to configure the property. </returns>
Expand All @@ -104,7 +104,7 @@ public PropertyMappingConfiguration Property(
}

/// <summary>
/// Configures a <see cref="T:DbGeography" /> property that is included in this mapping fragment.
/// Configures a <see cref="T:System.Data.Entity.Spatial.DbGeography" /> property that is included in this mapping fragment.
/// </summary>
/// <param name="propertyExpression"> A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty </param>
/// <returns> A configuration object that can be used to configure the property. </returns>
Expand All @@ -118,7 +118,7 @@ public PropertyMappingConfiguration Property(
}

/// <summary>
/// Configures a <see cref="T:System.string" /> property that is included in this mapping fragment.
/// Configures a <see cref="T:System.String" /> property that is included in this mapping fragment.
/// </summary>
/// <param name="propertyExpression"> A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty </param>
/// <returns> A configuration object that can be used to configure the property. </returns>
Expand All @@ -131,7 +131,7 @@ public PropertyMappingConfiguration Property(Expression<Func<TEntityType, string
}

/// <summary>
/// Configures a <see cref="T:System.byte[]" /> property that is included in this mapping fragment.
/// Configures a <see cref="T:System.Byte[]" /> property that is included in this mapping fragment.
/// </summary>
/// <param name="propertyExpression"> A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty </param>
/// <returns> A configuration object that can be used to configure the property. </returns>
Expand All @@ -144,7 +144,7 @@ public PropertyMappingConfiguration Property(Expression<Func<TEntityType, byte[]
}

/// <summary>
/// Configures a <see cref="T:System.decimal" /> property that is included in this mapping fragment.
/// Configures a <see cref="T:System.Decimal" /> property that is included in this mapping fragment.
/// </summary>
/// <param name="propertyExpression"> A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty </param>
/// <returns> A configuration object that can be used to configure the property. </returns>
Expand All @@ -157,7 +157,7 @@ public PropertyMappingConfiguration Property(Expression<Func<TEntityType, decima
}

/// <summary>
/// Configures a <see cref="T:System.decimal?" /> property that is included in this mapping fragment.
/// Configures a <see cref="T:System.Decimal" /> property that is included in this mapping fragment.
/// </summary>
/// <param name="propertyExpression"> A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty </param>
/// <returns> A configuration object that can be used to configure the property. </returns>
Expand All @@ -183,7 +183,7 @@ public PropertyMappingConfiguration Property(Expression<Func<TEntityType, DateTi
}

/// <summary>
/// Configures a <see cref="T:System.DateTime?" /> property that is included in this mapping fragment.
/// Configures a <see cref="T:System.DateTime" /> property that is included in this mapping fragment.
/// </summary>
/// <param name="propertyExpression"> A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty </param>
/// <returns> A configuration object that can be used to configure the property. </returns>
Expand All @@ -210,7 +210,7 @@ public PropertyMappingConfiguration Property(
}

/// <summary>
/// Configures a <see cref="T:System.DateTimeOffset?" /> property that is included in this mapping fragment.
/// Configures a <see cref="T:System.DateTimeOffset" /> property that is included in this mapping fragment.
/// </summary>
/// <param name="propertyExpression"> A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty </param>
/// <returns> A configuration object that can be used to configure the property. </returns>
Expand All @@ -237,7 +237,7 @@ public PropertyMappingConfiguration Property(Expression<Func<TEntityType, TimeSp
}

/// <summary>
/// Configures a <see cref="T:System.TimeSpan?" /> property that is included in this mapping fragment.
/// Configures a <see cref="T:System.TimeSpan" /> property that is included in this mapping fragment.
/// </summary>
/// <param name="propertyExpression"> A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty </param>
/// <returns> A configuration object that can be used to configure the property. </returns>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace System.Data.Entity.ModelConfiguration.Configuration
using System.Data.Entity.Infrastructure;

/// <summary>
/// Used to configure a <see cref="T:System.byte[]" /> property of an entity type or complex type.
/// Used to configure a <see cref="T:System.Byte[]" /> property of an entity type or complex type.
/// This configuration functionality is available via the Code First Fluent API, see <see cref="DbModelBuilder" />.
/// </summary>
public class BinaryPropertyConfiguration : LengthPropertyConfiguration
Expand Down Expand Up @@ -53,7 +53,7 @@ internal BinaryPropertyConfiguration(Properties.Primitive.BinaryPropertyConfigur

/// <summary>
/// Configures the property to be variable length.
/// <see cref="T:System.byte[]" /> properties are variable length by default.
/// <see cref="T:System.Byte[]" /> properties are variable length by default.
/// </summary>
/// <returns> The same BinaryPropertyConfiguration instance so that multiple calls can be chained. </returns>
public new BinaryPropertyConfiguration IsVariableLength()
Expand All @@ -66,7 +66,7 @@ internal BinaryPropertyConfiguration(Properties.Primitive.BinaryPropertyConfigur
/// <summary>
/// Configures the property to be optional.
/// The database column used to store this property will be nullable.
/// <see cref="T:System.byte[]" /> properties are optional by default.
/// <see cref="T:System.Byte[]" /> properties are optional by default.
/// </summary>
/// <returns> The same BinaryPropertyConfiguration instance so that multiple calls can be chained. </returns>
public new BinaryPropertyConfiguration IsOptional()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace System.Data.Entity.ModelConfiguration.Configuration
using System.Data.Entity.Infrastructure;

/// <summary>
/// Used to configure a <see cref="T:System.decimal" /> property of an entity type or complex type.
/// Used to configure a <see cref="T:System.Decimal" /> property of an entity type or complex type.
/// This configuration functionality is available via the Code First Fluent API, see <see cref="DbModelBuilder" />.
/// </summary>
public class DecimalPropertyConfiguration : PrimitivePropertyConfiguration
Expand All @@ -31,7 +31,7 @@ internal DecimalPropertyConfiguration(Properties.Primitive.DecimalPropertyConfig
/// <summary>
/// Configures the property to be required.
/// The database column used to store this property will be non-nullable.
/// <see cref="T:System.decimal" /> properties are required by default.
/// <see cref="T:System.Decimal" /> properties are required by default.
/// </summary>
/// <returns> The same DecimalPropertyConfiguration instance so that multiple calls can be chained. </returns>
public new DecimalPropertyConfiguration IsRequired()
Expand Down
Loading