/// <summary> /// Initializes the primary key value with the specified elements /// </summary> public PrimaryKeyValue(IDataRecord dataRecord, DataRecordDescriptor descriptor) : this(descriptor .PrimaryKeyColumns .Select(c => c.PropertyInfo.GetValue(dataRecord))) { }