/// <summary> /// Initializes a new instance of the <see cref = "DbDataRecordPropertyValues" /> class. /// </summary> /// <param name = "internalContext">The internal context.</param> /// <param name = "type">The type.</param> /// <param name = "dataRecord">The data record.</param> /// <param name = "isEntityValues">If set to <c>true</c> this is a dictionary for an entity, otherwise it is a dictionary for a complex object.</param> internal DbDataRecordPropertyValues( InternalContext internalContext, Type type, DbUpdatableDataRecord dataRecord, bool isEntity) : base(internalContext, type, isEntity) { //Contract.Requires(dataRecord != null); _dataRecord = dataRecord; }
/// <summary> /// Initializes a new instance of the <see cref = "DbDataRecordPropertyValuesItem" /> class. /// </summary> /// <param name = "dataRecord">The data record.</param> /// <param name = "ordinal">The ordinal.</param> /// <param name = "value">The value.</param> public DbDataRecordPropertyValuesItem(DbUpdatableDataRecord dataRecord, int ordinal, object value) { _dataRecord = dataRecord; _ordinal = ordinal; _value = value; }